From 821d2150765f0ab0ac6ccbbc9f397aa65186d590 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 25 Feb 2015 15:56:57 +0000
Subject: [PATCH] OPENDJ-1585 OPENDJ-1843 CR-5758 Improve code related to DN normalization
---
opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestJebFormat.java | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestJebFormat.java b/opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestJebFormat.java
index df6a02d..7f704b1 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestJebFormat.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/backends/jeb/TestJebFormat.java
@@ -431,7 +431,7 @@
*/
@Test
public void testEntryToAndFromDatabase() throws Exception {
- ensureTheServerIsUpAndRunning();
+ ensureServerIsUpAndRunning();
// Convert the test LDIF string to a byte array
byte[] originalLDIFBytes = StaticUtils.getBytes(ldifString);
@@ -502,7 +502,7 @@
*/
@Test
public void testEntryToAndFromDatabaseV1() throws Exception {
- ensureTheServerIsUpAndRunning();
+ ensureServerIsUpAndRunning();
// Convert the test LDIF string to a byte array
byte[] originalLDIFBytes = StaticUtils.getBytes(ldifString);
@@ -551,7 +551,7 @@
@Test(dataProvider = "encodeConfigs")
public void testEntryToAndFromDatabaseV2(EntryEncodeConfig config)
throws Exception {
- ensureTheServerIsUpAndRunning();
+ ensureServerIsUpAndRunning();
// Convert the test LDIF string to a byte array
byte[] originalLDIFBytes = StaticUtils.getBytes(ldifString);
@@ -582,7 +582,7 @@
@Test(dataProvider = "encodeConfigs")
public void testEntryToAndFromDatabaseV3(EntryEncodeConfig config)
throws Exception {
- ensureTheServerIsUpAndRunning();
+ ensureServerIsUpAndRunning();
// Convert the test LDIF string to a byte array
byte[] originalLDIFBytes = StaticUtils.getBytes(ldifString);
@@ -613,19 +613,18 @@
{ "dc=example", 0 },
{ "dc=example,dc=com", 7 },
{ "dc=example,dc=com\\,org", 11 },
-
};
}
@Test(dataProvider="findDnKeyParentData")
public void testFindDnKeyParent(String dn, int expectedLength) throws Exception
{
- ensureTheServerIsUpAndRunning();
+ ensureServerIsUpAndRunning();
byte[] dnKey = dnToDNKey(DN.valueOf(dn), 0);
assertThat(findDNKeyParent(dnKey)).isEqualTo(expectedLength);
}
- private void ensureTheServerIsUpAndRunning() throws Exception
+ private void ensureServerIsUpAndRunning() throws Exception
{
TestCaseUtils.startServer();
}
--
Gitblit v1.10.0