| File was renamed from opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java |
| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | * Portions Copyright 2007-2008 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.admin.server; |
| | | |
| | |
| | | * 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 |
| | |
| | | * @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); |
| | |
| | | * @throws Exception |
| | | * If the test unexpectedly fails. |
| | | */ |
| | | @Test(groups="slow") |
| | | @Test |
| | | public void testAggregationDisabledReference2() throws Exception { |
| | | // Add the entry. |
| | | TestCaseUtils.addEntry(TEST_CHILD_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); |
| | |
| | | * @throws Exception |
| | | * If the test unexpectedly fails. |
| | | */ |
| | | @Test(groups="slow") |
| | | @Test |
| | | public void testAggregationDisabledReference4() throws Exception { |
| | | // Add the entry. |
| | | TestCaseUtils.addEntry(TEST_CHILD_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); |
| | |
| | | * @throws Exception |
| | | * If the test unexpectedly fails. |
| | | */ |
| | | @Test(groups="slow") |
| | | @Test |
| | | public void testCannotDisableReferencedComponent() throws Exception { |
| | | // Add the entry. |
| | | TestCaseUtils.addEntry(TEST_CHILD_7); |