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

Valery Kharseko
11 hours ago 26d8aa390d05b5a14a63919687f624a0a631b717
opendj-config/src/test/java/org/forgerock/opendj/config/StringPropertyDefinitionTest.java
@@ -12,6 +12,7 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2008 Sun Microsystems, Inc.
 * Portions Copyright 2024-2026 3A Systems, LLC
 */
package org.forgerock.opendj.config;
@@ -35,8 +36,7 @@
        d.validateValue("abc");
    }
    // TODO : I18N problem
    @Test(enabled = false, expectedExceptions = PropertyException.class)
    @Test(expectedExceptions = PropertyException.class)
    public void testValidateValuePatternDoesNotMatch() {
        StringPropertyDefinition d = getDefinition(true, "^[a-z]+$");
        d.validateValue("abc123");
@@ -48,8 +48,7 @@
        assertEquals(d.decodeValue("abc"), "abc");
    }
    // TODO : I18N problem
    @Test(enabled = false, expectedExceptions = PropertyException.class)
    @Test(expectedExceptions = PropertyException.class)
    public void testDecodeValuePatternDoesNotMatch() {
        StringPropertyDefinition d = getDefinition(true, "^[a-z]+$");
        d.decodeValue("abc123");