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

matthew_swift
28.47.2010 f2160f4bd1c8ac67e5a86a6710d431e8932877f9
sdk/tests/unit-tests-testng/src/org/opends/sdk/schema/BitStringSyntaxTest.java
@@ -43,9 +43,12 @@
   * {@inheritDoc}
   */
  @Override
  protected Syntax getRule()
  @DataProvider(name = "acceptableValues")
  public Object[][] createAcceptableValues()
  {
    return Schema.getCoreSchema().getSyntax(SYNTAX_BIT_STRING_OID);
    return new Object[][] { { "'0101'B", true }, { "'1'B", true },
        { "'0'B", true }, { "invalid", false }, { "1", false },
        { "'010100000111111010101000'B", true }, };
  }
@@ -54,11 +57,8 @@
   * {@inheritDoc}
   */
  @Override
  @DataProvider(name = "acceptableValues")
  public Object[][] createAcceptableValues()
  protected Syntax getRule()
  {
    return new Object[][] { { "'0101'B", true }, { "'1'B", true },
        { "'0'B", true }, { "invalid", false }, { "1", false },
        { "'010100000111111010101000'B", true }, };
    return Schema.getCoreSchema().getSyntax(SYNTAX_BIT_STRING_OID);
  }
}