mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
15.17.2014 661593f15f14aaf55d73c7979dab1e900ebae2af
opendj-sdk/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();