From 0b75361593e78cb6a83d7f763080b36a60e3eb79 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 07 Mar 2016 15:13:46 +0000
Subject: [PATCH] OPENDJ-1342 Migrate AVA, RDN, and DN classes: Moved DN2ID.isChild() to DNKeyFormat
---
opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/DN2IDTest.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/DN2IDTest.java b/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/DN2IDTest.java
index aca33f8..5dd42c0 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/DN2IDTest.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/backends/pluggable/DN2IDTest.java
@@ -150,20 +150,20 @@
cursor.next();
final ByteString parentDN = cursor.getKey();
cursor.next();
- assertThat(DN2ID.isChild(rootDN, parentDN)).isTrue();
+ assertThat(DnKeyFormat.isChild(rootDN, parentDN)).isTrue();
final ByteString childDN = cursor.getKey();
- assertThat(DN2ID.isChild(parentDN, childDN)).isTrue();
+ assertThat(DnKeyFormat.isChild(parentDN, childDN)).isTrue();
cursor.next();
final ByteString otherChildDN = cursor.getKey();
- assertThat(DN2ID.isChild(parentDN, otherChildDN)).isTrue();
- assertThat(DN2ID.isChild(childDN, otherChildDN)).isFalse();
+ assertThat(DnKeyFormat.isChild(parentDN, otherChildDN)).isTrue();
+ assertThat(DnKeyFormat.isChild(childDN, otherChildDN)).isFalse();
final ByteString lastChildDN = cursor.getKey();
- assertThat(DN2ID.isChild(parentDN, lastChildDN)).isTrue();
- assertThat(DN2ID.isChild(otherChildDN, lastChildDN)).isFalse();
- assertThat(DN2ID.isChild(childDN, lastChildDN)).isFalse();
+ assertThat(DnKeyFormat.isChild(parentDN, lastChildDN)).isTrue();
+ assertThat(DnKeyFormat.isChild(otherChildDN, lastChildDN)).isFalse();
+ assertThat(DnKeyFormat.isChild(childDN, lastChildDN)).isFalse();
}
return null;
}
--
Gitblit v1.10.0