From 429235331815195cfdc50ff1b0f31be270ed5eba Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Tue, 11 Sep 2007 23:37:29 +0000
Subject: [PATCH] Partial fix for issue 1449: improve server-side referential integrity support.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestCfg.java | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestCfg.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestCfg.java
index 53e2e37..82c1a1a 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestCfg.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestCfg.java
@@ -228,6 +228,20 @@
/**
+ * Adds a property definition temporarily with test child
+ * definition, replacing any existing property definition with the
+ * same name.
+ *
+ * @param pd
+ * The property definition.
+ */
+ public static void addPropertyDefinition(PropertyDefinition<?> pd) {
+ TestChildCfgDefn.getInstance().registerPropertyDefinition(pd);
+ }
+
+
+
+ /**
* Removes a constraint from the test child definition.
*
* @param constraint
--
Gitblit v1.10.0