From e02c878b0c0f152b87656ce7b2a170302ccb1e91 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 07 Jan 2008 11:51:03 +0000
Subject: [PATCH] Fix issue 2482. Improve client side referential integrity checks in admin framework. Also renamed aggregation tests so that they are more easily differentiated and removed "slow" tags from certain aggregation tests now that they perform much quicker.
---
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationServerTest.java | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationServerTest.java
similarity index 98%
rename from opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java
rename to opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationServerTest.java
index 58695c6..5be9bad 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationServerTest.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Portions Copyright 2007 Sun Microsystems, Inc.
+ * Portions Copyright 2007-2008 Sun Microsystems, Inc.
*/
package org.opends.server.admin.server;
@@ -74,7 +74,7 @@
* Test cases for aggregations on the server-side.
*/
@Test(sequential = true)
-public final class AggregationTest extends AdminTestCase {
+public final class AggregationServerTest extends AdminTestCase {
/**
* Dummy change listener for triggering change constraint
@@ -443,7 +443,7 @@
* @throws Exception
* If the test unexpectedly fails.
*/
- @Test(groups="slow")
+ @Test
public void testAggregationDisabledReference1() throws Exception {
// Add the entry and the connection handler.
TestCaseUtils.addEntry(TEST_CHILD_6);
@@ -504,7 +504,7 @@
* @throws Exception
* If the test unexpectedly fails.
*/
- @Test(groups="slow")
+ @Test
public void testAggregationDisabledReference2() throws Exception {
// Add the entry.
TestCaseUtils.addEntry(TEST_CHILD_7);
@@ -566,7 +566,7 @@
* @throws Exception
* If the test unexpectedly fails.
*/
- @Test(groups="slow")
+ @Test
public void testAggregationDisabledReference3() throws Exception {
// Add the entry.
TestCaseUtils.addEntry(TEST_CHILD_6);
@@ -629,7 +629,7 @@
* @throws Exception
* If the test unexpectedly fails.
*/
- @Test(groups="slow")
+ @Test
public void testAggregationDisabledReference4() throws Exception {
// Add the entry.
TestCaseUtils.addEntry(TEST_CHILD_7);
@@ -745,7 +745,7 @@
* @throws Exception
* If the test unexpectedly fails.
*/
- @Test(groups="slow")
+ @Test
public void testCannotDeleteReferencedComponent() throws Exception {
// Add the entry.
TestCaseUtils.addEntry(TEST_CHILD_7);
@@ -819,7 +819,7 @@
* @throws Exception
* If the test unexpectedly fails.
*/
- @Test(groups="slow")
+ @Test
public void testCannotDisableReferencedComponent() throws Exception {
// Add the entry.
TestCaseUtils.addEntry(TEST_CHILD_7);
--
Gitblit v1.10.0