From fbda6e0892dcfcc8dd43d21f6fb134aabb8d0cac Mon Sep 17 00:00:00 2001
From: jarnou <jarnou@localhost>
Date: Tue, 03 Jul 2007 09:29:17 +0000
Subject: [PATCH] Commits the refactoring of the core server to provide support for proxy/distribution/virtual functionnalities. This includes the new set of local operations, as well as the workflow and networkgroup support.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestBackendImpl.java | 28 ++++++++++++++++------------
1 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestBackendImpl.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestBackendImpl.java
index e511c2a..a409d28 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestBackendImpl.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestBackendImpl.java
@@ -54,6 +54,10 @@
import static org.testng.Assert.assertEquals;
import com.sleepycat.je.DatabaseEntry;
+import org.opends.server.core.DeleteOperationBasis;
+import org.opends.server.core.ModifyOperationBasis;
+import org.opends.server.workflowelement.localbackend.LocalBackendModifyOperation;
+
/**
* BackendImpl Tester.
*/
@@ -726,7 +730,7 @@
InternalClientConnection conn =
InternalClientConnection.getRootConnection();
- DeleteOperation delete = new DeleteOperation(conn,
+ DeleteOperationBasis delete = new DeleteOperationBasis(conn,
conn.nextOperationID(),
conn.nextMessageID(),
deleteSubTreeControl,
@@ -777,10 +781,10 @@
entryID = ec.getDN2ID().get(null,
DN.decode("uid=user.539,ou=People,dc=test,dc=com"));
- DeleteOperation delete = new DeleteOperation(conn,
- conn.nextOperationID(),
- conn.nextMessageID(),
- noControls,
+ DeleteOperationBasis delete = new DeleteOperationBasis(conn,
+ conn.nextOperationID(),
+ conn.nextMessageID(),
+ noControls,
DN.decode("uid=user.539,ou=People,dc=test,dc=com"));
@@ -1025,15 +1029,15 @@
InternalClientConnection conn =
InternalClientConnection.getRootConnection();
- ModifyOperation modifyOp = new ModifyOperation(conn,
- conn.nextOperationID(),
- conn.nextMessageID(),
- noControls,
- DN.decode("uid=user.1,ou=People,dc=test,dc=com"),
- modifications);
+ ModifyOperationBasis modifyOp = new ModifyOperationBasis(conn,
+ conn.nextOperationID(),
+ conn.nextMessageID(),
+ noControls,
+ DN.decode("uid=user.1,ou=People,dc=test,dc=com"),
+ modifications);
- backend.replaceEntry(newEntry, modifyOp);
+ backend.replaceEntry(newEntry, modifyOp);
entry = ec.getEntry(DN.decode("uid=user.1,ou=People,dc=test,dc=com"));
--
Gitblit v1.10.0