From 9b24ea04b84ecd1cdf7c1f07d9460729c6b5e5e2 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 16 Mar 2015 10:28:47 +0000
Subject: [PATCH] In pluggable backend, renamed all "EntryIDList" to "EntryIDSet".
---
opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/EntryIDSetTest.java | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/EntryIDSetTest.java b/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/EntryIDSetTest.java
index b7510b5..661a3a3 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/EntryIDSetTest.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/EntryIDSetTest.java
@@ -25,15 +25,9 @@
*/
package org.opends.server.backends.pluggable;
-import static org.assertj.core.api.Assertions.assertThat;
-import static org.opends.server.backends.pluggable.EntryIDSet.decodeEntryIDList;
-import static org.opends.server.backends.pluggable.EntryIDSet.newDefinedSet;
-import static org.opends.server.backends.pluggable.EntryIDSet.newSetFromBytes;
-import static org.opends.server.backends.pluggable.EntryIDSet.newSetFromUnion;
-import static org.opends.server.backends.pluggable.EntryIDSet.newUndefinedSetWithKey;
-import static org.opends.server.backends.pluggable.EntryIDSet.newUndefinedSetWithSize;
-import static org.opends.server.backends.pluggable.EntryIDSet.newUndefinedSet;
-import static org.opends.server.backends.pluggable.Utils.assertIdsEquals;
+import static org.assertj.core.api.Assertions.*;
+import static org.opends.server.backends.pluggable.EntryIDSet.*;
+import static org.opends.server.backends.pluggable.Utils.*;
import java.util.Arrays;
@@ -182,10 +176,10 @@
public void testDefinedByteString()
{
ByteString string = newDefinedSet(4, 6, 8, 10, 12).toByteString();
- assertThat(decodeEntryIDList(string)).containsExactly(4, 6, 8, 10, 12);
+ assertThat(decodeEntryIDSet(string)).containsExactly(4, 6, 8, 10, 12);
string = newDefinedSet().toByteString();
- assertThat(decodeEntryIDList(string)).isEmpty();
+ assertThat(decodeEntryIDSet(string)).isEmpty();
}
@Test(expectedExceptions = NullPointerException.class)
--
Gitblit v1.10.0