From daf79793fe27b5194d1dee338f3a9f12e18f023d Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 27 Jun 2007 14:05:11 +0000
Subject: [PATCH] Reenabling the quicksetup tests. The problems encountered last week have apparently been resolved. All tests pass when performing a complete run of the tests using the 'testall' target along with the BUILD_NUMBER system property.
---
opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/ConfigurationTest.java | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/ConfigurationTest.java b/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/ConfigurationTest.java
index 567db29..6efc4a2 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/ConfigurationTest.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/ConfigurationTest.java
@@ -36,67 +36,67 @@
/**
* Configuration Tester.
*/
-@Test(enabled=false, groups = {"slow"})
+@Test(groups = {"slow"})
public class ConfigurationTest extends QuickSetupTestCase {
Configuration config;
@BeforeClass
public void setUp() throws Exception {
- config = Utils.getInstallation().getCurrentConfiguration();
+ config = TestUtilities.getInstallation().getCurrentConfiguration();
}
- @Test(enabled=false)
+ @Test
public void testGetDirectoryManagerDns() throws IOException {
Set<String> dns = config.getDirectoryManagerDns();
assertTrue(dns.size() > 0);
}
- @Test(enabled=false)
+ @Test
public void testGetPort() throws IOException {
- assertTrue(Utils.ldapPort.equals(config.getPort()));
+ assertTrue(TestUtilities.ldapPort.equals(config.getPort()));
}
- @Test(enabled=false)
+ @Test
public void testGetSecurePort() throws IOException {
// TODO: something more useful
config.getSecurePort();
}
- @Test(enabled=false)
+ @Test
public void testGetLogPaths() throws IOException {
// TODO: something more useful
config.getLogPaths();
}
- @Test(enabled=false)
+ @Test
public void testHasBeenModified() throws IOException {
assertTrue(config.hasBeenModified());
}
- @Test(enabled=false)
+ @Test
public void testGetOutsideLogs() throws IOException {
// TODO: something more useful
config.getOutsideLogs();
}
- @Test(enabled=false)
+ @Test
public void testGetOutsideDbs() throws IOException {
// TODO: something more useful
config.getOutsideDbs();
}
- @Test(enabled=false)
+ @Test
public void testGetContents() throws IOException {
assertNotNull(config.getContents());
}
- @Test(enabled=false)
+ @Test
public void testGetDatabasePaths() throws IOException {
assertTrue(config.getDatabasePaths().size() > 0);
}
- @Test(enabled=false)
+ @Test
public void testLoad() {
//TODO: need way to verify reload
}
--
Gitblit v1.10.0