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

neil_a_wilson
27.04.2006 a50ade3207e0f9cb9851b3c7b48aa4d7a6e3819c
Update a test case for the numeric string equality matching rule to enable a
test for values containing spaces. The test case previously assumed that
spaces were significant and therefore had been failing, but spaces are not
significant in numeric string values and therefore the schema code was correct.

OpenDS Issue Number: 707
1 files modified
7 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/schema/NumericStringEqualityMatchingRuleTest.java 7 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/schema/NumericStringEqualityMatchingRuleTest.java
@@ -58,11 +58,8 @@
    return new Object[][] {
        {"1234567890", "1234567890", true },
        {" 1234567890  ", "1234567890", true },
        /* disabled because it is currently failing
         * see issue : 707
        {" 123   4567890  ", "1234567890", false },
        */
        {"1234",       "5678",       false },
        {" 123   4567890  ", "1234567890", true },
        {"1234",       "5678",       false },
    };
  }