From efa949b25f472d7e4c39733678d8f0e5229f8201 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Thu, 26 Dec 2013 15:31:32 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1235 : Migrate configuration framework
---
opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/DurationPropertyDefinitionTest.java | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/DurationPropertyDefinitionTest.java b/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/DurationPropertyDefinitionTest.java
index 8ae04d7..1196100 100644
--- a/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/DurationPropertyDefinitionTest.java
+++ b/opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/DurationPropertyDefinitionTest.java
@@ -57,7 +57,7 @@
@DataProvider(name = "longLimitData")
Object[][] createLongLimitData() {
return new Object[][] {
- { 1L, 1L },
+ { 1L, 1L },
};
}
@@ -69,11 +69,11 @@
@DataProvider(name = "illegalLongLimitData")
Object[][] createIllegalLongLimitData() {
return new Object[][] {
- // lower, upper, lower first
- { -1L, 0L, true },
- { 0L, -1L, false },
- { 2L, 1L, true },
- { 2L, 1L, false } };
+ // lower, upper, lower first
+ { -1L, 0L, true },
+ { 0L, -1L, false },
+ { 2L, 1L, true },
+ { 2L, 1L, false } };
}
@DataProvider(name = "stringLimitData")
@@ -208,7 +208,7 @@
{ 1024L, "1024 s" },
{ 1025L, "1025 s" },
{ 1000L * 1000L, "1000000 s" },
- };
+ };
}
@Test(dataProvider = "encodeValueData")
@@ -316,21 +316,21 @@
@DataProvider(name = "decodeValueDataIllegal")
Object[][] createDecodeValueDataIllegal() {
return new Object[][] { { "" }, { "0" }, // no unit
- { "123" }, // no unit
- { "a s" },
- { "1 x" },
- { "0.h" },
- { "0. h" },
- { "1.h" },
- { "1. h" },
- { "1.1 h" }, // too granular
- { "30 m" }, // unit too small violation
- { "60 m" }, // unit too small violation
- { "1 w" }, // unit too big violation
- { "7 w" }, // unit too big violation
- { "1 x" }, { "1 d" }, // upper limit violation
- { "2 h" }, // lower limit violation
- { "-1 h" } // unlimited violation
+ { "123" }, // no unit
+ { "a s" },
+ { "1 x" },
+ { "0.h" },
+ { "0. h" },
+ { "1.h" },
+ { "1. h" },
+ { "1.1 h" }, // too granular
+ { "30 m" }, // unit too small violation
+ { "60 m" }, // unit too small violation
+ { "1 w" }, // unit too big violation
+ { "7 w" }, // unit too big violation
+ { "1 x" }, { "1 d" }, // upper limit violation
+ { "2 h" }, // lower limit violation
+ { "-1 h" } // unlimited violation
};
}
--
Gitblit v1.10.0