From 45359adc09ac1d9e48206c549e667ed6965c7cd3 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 28 May 2007 15:31:13 +0000
Subject: [PATCH] Fix the following issues:
---
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfgClient.java | 35 +++++++++--------------------------
1 files changed, 9 insertions(+), 26 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfgClient.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfgClient.java
index 5a27cdc..b83125e 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfgClient.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfgClient.java
@@ -28,6 +28,8 @@
+import java.util.Collection;
+
import org.opends.server.admin.ConfigurationClient;
import org.opends.server.admin.ManagedObjectDefinition;
import org.opends.server.admin.client.AuthorizationException;
@@ -111,36 +113,17 @@
* The definition of the test child to be created.
* @param name
* The name of the new test child.
- * @param p
- * A property provider which can be used to initialize the
- * property values of the new test child.
+ * @param exceptions
+ * An optional collection in which to place any {@link
+ * DefaultBehaviorException}s that occurred whilst
+ * attempting to determine the default values of the test
+ * child. This argument can be <code>null<code>.
* @return Returns a new test child instance representing the test
* child that was created.
- * @throws ManagedObjectDecodingException
- * If the test child could not be created because one or
- * more of its properties are invalid.
- * @throws ManagedObjectAlreadyExistsException
- * If the test child cannot be created because it already
- * exists on the server.
- * @throws ConcurrentModificationException
- * If this test parent has been removed from the server by
- * another client.
- * @throws OperationRejectedException
- * If the server refuses to create the test child due to
- * some server-side constraint which cannot be satisfied.
- * @throws AuthorizationException
- * If the server refuses to create the test child because
- * the client does not have the correct privileges.
- * @throws CommunicationException
- * If the client cannot contact the server due to an
- * underlying communication problem.
*/
<C extends TestChildCfgClient> C createTestChild(
- ManagedObjectDefinition<C, ?> d, String name, PropertyProvider p)
- throws ManagedObjectDecodingException,
- ManagedObjectAlreadyExistsException, ConcurrentModificationException,
- OperationRejectedException, AuthorizationException,
- CommunicationException;
+ ManagedObjectDefinition<C, ?> d, String name,
+ Collection<DefaultBehaviorException> exceptions);
--
Gitblit v1.10.0