From 64d96ded5dadeb6aac3b61128850de08d94c729b Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Wed, 22 Nov 2006 11:41:33 +0000
Subject: [PATCH] move ProtocolWindowTest to synchronization because it needs the whole synchronization code to be working.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/ProtocolWindowTest.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/protocol/ProtocolWindowTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/ProtocolWindowTest.java
similarity index 98%
rename from opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/protocol/ProtocolWindowTest.java
rename to opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/ProtocolWindowTest.java
index ec9c1ab..f9d43ba 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/protocol/ProtocolWindowTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/ProtocolWindowTest.java
@@ -25,7 +25,7 @@
* Portions Copyright 2006 Sun Microsystems, Inc.
*/
-package org.opends.server.synchronization.protocol;
+package org.opends.server.synchronization;
import static org.opends.server.loggers.Error.logError;
import static org.testng.Assert.*;
@@ -74,7 +74,7 @@
* Test the contructors, encoders and decoders of the synchronization AckMsg,
* ModifyMsg, ModifyDnMsg, AddMsg and Delete Msg
*/
-public class ProtocolWindowTest
+public class ProtocolWindowTest extends SynchronizationTestCase
{
private static final int WINDOW_SIZE = 10;
private static final int CHANGELOG_QUEUE_SIZE = 100;
@@ -177,7 +177,7 @@
tmp.getOperationalAttributes());
addOp.run();
entryList.add(personEntry);
- assertNotNull(DirectoryServer.getEntry(personEntry.getDN()),
+ assertTrue(DirectoryServer.entryExists(personEntry.getDN()),
"The Add Entry operation failed");
// Check if the client has received the msg
--
Gitblit v1.10.0