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

neil_a_wilson
27.04.2006 da0b2a8b8793a0fd7b36658507bd268bb962d95d
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
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/schema/NumericStringEqualityMatchingRuleTest.java 7 ●●●● patch | view | raw | blame | history
opendj-sdk/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 },
    };
  }