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

Jean-Noël Rouvignac
29.51.2015 4baece95779dd46a3a59d59d1b7aa5958cf6117d
opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/EntryIDSetTest.java
@@ -39,7 +39,7 @@
@Test(groups = { "precommit", "pluggablebackend", "unit" }, sequential=true)
public class EntryIDSetTest extends DirectoryServerTestCase
{
  private final static ByteString KEY = ByteString.valueOf("test");
  private final static ByteString KEY = ByteString.valueOfUtf8("test");
  @Test(expectedExceptions = NullPointerException.class)
  public void testDefinedCannotCreateWithNull()
@@ -181,7 +181,7 @@
    assertThat(codec.decode(KEY, string).isDefined()).isFalse();
    assertThat(codec.decode(KEY, string).size()).isEqualTo(Long.MAX_VALUE);
    string = codec.encode(newUndefinedSetWithKey(ByteString.valueOf("none")));
    string = codec.encode(newUndefinedSetWithKey(ByteString.valueOfUtf8("none")));
    assertThat(codec.decode(KEY, string).isDefined()).isFalse();
    assertThat(codec.decode(KEY, string).size()).isEqualTo(Long.MAX_VALUE);
  }