From 6870993d12bf8a2b9d5cd103dc5ccabc42f9bf5d Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 15 Oct 2014 15:17:11 +0000
Subject: [PATCH] AutoRefactored comments/javadocs on OpenDJ SDK
---
opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java | 20 ++++++++------------
1 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java b/opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java
index ac48f49..c9ca475 100644
--- a/opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java
+++ b/opendj-config/src/test/java/org/forgerock/opendj/config/EnumPropertyDefinitionTest.java
@@ -55,7 +55,7 @@
}
/**
- * Tests that exception thrown when no enum class specified by builder
+ * Tests that exception thrown when no enum class specified by builder.
*/
@Test
public void testBuildInstance() {
@@ -64,7 +64,7 @@
}
/**
- * Tests that exception thrown when no enum class specified by builder
+ * Tests that exception thrown when no enum class specified by builder.
*/
@Test(expectedExceptions = { IllegalStateException.class })
public void testBuildInstanceWithoutEnumClassSpecified() {
@@ -74,7 +74,7 @@
}
/**
- * Creates data decodeValue test
+ * Creates data decodeValue test.
*
* @return data
*/
@@ -84,7 +84,7 @@
}
/**
- * Tests decodeValue()
+ * Tests decodeValue().
*
* @param value
* to decode
@@ -98,7 +98,7 @@
}
/**
- * Creates illegal data for decode value test
+ * Creates illegal data for decode value test.
*
* @return data
*/
@@ -108,7 +108,7 @@
}
/**
- * Tests decodeValue()
+ * Tests decodeValue().
*
* @param value
* to decode
@@ -120,18 +120,14 @@
def.decodeValue(value);
}
- /**
- * Tests normalization
- */
+ /** Tests normalization. */
@Test
public void testNormalizeValue() {
EnumPropertyDefinition<TestEnum> def = builder.getInstance();
assertEquals(def.normalizeValue(TestEnum.ONE), "one");
}
- /**
- * Tests validation
- */
+ /** Tests validation. */
@Test
public void testValidateValue() {
EnumPropertyDefinition<TestEnum> def = builder.getInstance();
--
Gitblit v1.10.0