From 9aa1482c49865483f798f91ef7d16f03cc3ec811 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 25 Nov 2015 15:09:53 +0000
Subject: [PATCH] TestCaseUtils.java: clearJEBackend() => clearBackend()

---
 opendj-server-legacy/src/test/java/org/opends/server/tools/LDAPSearchTestCase.java |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/opendj-server-legacy/src/test/java/org/opends/server/tools/LDAPSearchTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/tools/LDAPSearchTestCase.java
index 8e011c6..53bffcd 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/tools/LDAPSearchTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/tools/LDAPSearchTestCase.java
@@ -1510,7 +1510,7 @@
   public void testSimplePagedResults()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     TestCaseUtils.addEntries(
       "dn: cn=device 1,dc=example,dc=com",
@@ -1567,7 +1567,7 @@
   public void testSortWithPagedResults()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     TestCaseUtils.addEntries(
       "dn: uid=albert.zimmerman,dc=example,dc=com",
@@ -1707,7 +1707,7 @@
   public void testSortValidGivenNameAscending()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     TestCaseUtils.addEntries(
       "dn: uid=albert.zimmerman,dc=example,dc=com",
@@ -1768,7 +1768,7 @@
   public void testSortValidGivenNameDescending()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     TestCaseUtils.addEntries(
       "dn: uid=albert.zimmerman,dc=example,dc=com",
@@ -1829,7 +1829,7 @@
   public void testSortValidGivenNameAscendingCaseExactOrderingMatch()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     TestCaseUtils.addEntries(
       "dn: uid=albert.zimmerman,dc=example,dc=com",
@@ -1890,7 +1890,7 @@
   public void testSortValidSnAscendingGivenNameAscending()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     TestCaseUtils.addEntries(
       "dn: uid=albert.zimmerman,dc=example,dc=com",
@@ -1951,7 +1951,7 @@
   public void testSortValidSnAscendingGivenNameDescending()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     TestCaseUtils.addEntries(
       "dn: uid=albert.zimmerman,dc=example,dc=com",
@@ -2012,7 +2012,7 @@
   public void testSortEmptySortOrder()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     String[] args =
     {
@@ -2042,7 +2042,7 @@
   public void testSortSortOrderMissingType()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     String[] args =
     {
@@ -2072,7 +2072,7 @@
   public void testSortSortOrderMissingMatchingRule()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     String[] args =
     {
@@ -2101,7 +2101,7 @@
   public void testSortUndefinedAttribute()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     String[] args =
     {
@@ -2131,7 +2131,7 @@
   public void testSortUndefinedOrderingRule()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     String[] args =
     {
@@ -2192,7 +2192,7 @@
   {
     // Test is supposed to fail in parsing arguments. But we do not
     // want it to fail because there no backend to search in.
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     String[] args =
     {
@@ -2222,7 +2222,7 @@
   public void testSortWithVLVAndPagedResults()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     String[] args =
     {
@@ -2341,7 +2341,7 @@
   public void testSortWithVLV()
          throws Exception
   {
-    TestCaseUtils.clearJEBackend("userRoot", "dc=example,dc=com");
+    TestCaseUtils.clearBackend("userRoot", "dc=example,dc=com");
 
     TestCaseUtils.addEntries(
       "dn: uid=albert.zimmerman,dc=example,dc=com",

--
Gitblit v1.10.0