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/com/sun/opends/sdk/util/UtilTestCase.java | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java b/sdk/tests/unit-tests-testng/src/com/sun/opends/sdk/util/UtilTestCase.java
similarity index 68%
copy from sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
copy to sdk/tests/unit-tests-testng/src/com/sun/opends/sdk/util/UtilTestCase.java
index 62b3ae3..af703f4 100644
--- a/sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
+++ b/sdk/tests/unit-tests-testng/src/com/sun/opends/sdk/util/UtilTestCase.java
@@ -22,21 +22,23 @@
* CDDL HEADER END
*
*
- * Copyright 2009 Sun Microsystems, Inc.
+ * Copyright 2010 Sun Microsystems, Inc.
*/
-package org.opends.sdk.sasl;
+package com.sun.opends.sdk.util;
-import javax.security.auth.callback.PasswordCallback;
+import org.opends.sdk.OpenDSTestCase;
+import org.testng.annotations.Test;
/**
- * Password call-back.
+ * An abstract class that all util unit tests should extend. Util represents the
+ * classes found directly under the package org.opends.sdk.util.
*/
-public interface PasswordCallbackHandler
+@Test(groups = { "precommit", "util", "sdk" }, sequential = true)
+public abstract class UtilTestCase extends OpenDSTestCase
{
- public boolean handle(PasswordCallback callback);
}
--
Gitblit v1.10.0