From f2160f4bd1c8ac67e5a86a6710d431e8932877f9 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 May 2010 11:47:51 +0000
Subject: [PATCH] Synchronize SDK on java.net with internal repository.
---
sdk/tests/unit-tests-testng/src/org/opends/sdk/ldif/LDIFTestCase.java | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java b/sdk/tests/unit-tests-testng/src/org/opends/sdk/ldif/LDIFTestCase.java
similarity index 68%
copy from sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
copy to sdk/tests/unit-tests-testng/src/org/opends/sdk/ldif/LDIFTestCase.java
index 62b3ae3..e656589 100644
--- a/sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
+++ b/sdk/tests/unit-tests-testng/src/org/opends/sdk/ldif/LDIFTestCase.java
@@ -22,21 +22,23 @@
* CDDL HEADER END
*
*
- * Copyright 2009 Sun Microsystems, Inc.
+ * Copyright 2010 Sun Microsystems, Inc.
*/
-
-package org.opends.sdk.sasl;
+package org.opends.sdk.ldif;
-import javax.security.auth.callback.PasswordCallback;
+import org.opends.sdk.OpenDSTestCase;
+import org.testng.annotations.Test;
/**
- * Password call-back.
+ * An abstract class that all LDIF unit tests should extend. LDIF represents the
+ * classes found directly under the package org.opends.sdk.ldif.
*/
-public interface PasswordCallbackHandler
+
+@Test(groups = { "precommit", "types", "sdk" }, sequential = true)
+public abstract class LDIFTestCase extends OpenDSTestCase
{
- public boolean handle(PasswordCallback callback);
}
--
Gitblit v1.10.0