mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
17.58.2007 4ba723c86195021552934866ab2124e5d4963854
opends/tests/unit-tests-testng/src/server/org/opends/quicksetup/ConfigurationTest.java
@@ -36,7 +36,7 @@
/**
 * Configuration Tester.
 */
@Test(groups = {"slow"})
@Test(enabled=false, groups = {"slow"})
public class ConfigurationTest extends QuickSetupTestCase {
  Configuration config;
@@ -46,56 +46,57 @@
    config = Utils.getInstallation().getCurrentConfiguration();
  }
  @Test
  @Test(enabled=false)
  public void testGetDirectoryManagerDns() throws IOException {
    Set<String> dns = config.getDirectoryManagerDns();
    assertTrue(dns.size() > 0);
  }
  @Test
  @Test(enabled=false)
  public void testGetPort() throws IOException {
    assertTrue(Utils.ldapPort.equals(config.getPort()));
  }
  @Test
  @Test(enabled=false)
  public void testGetSecurePort() throws IOException {
    // TODO: something more useful
    config.getSecurePort();
  }
  @Test
  @Test(enabled=false)
  public void testGetLogPaths() throws IOException {
    // TODO: something more useful
    config.getLogPaths();
  }
  @Test
  @Test(enabled=false)
  public void testHasBeenModified() throws IOException {
    assertTrue(config.hasBeenModified());
  }
  @Test
  @Test(enabled=false)
  public void testGetOutsideLogs() throws IOException {
    // TODO: something more useful
    config.getOutsideLogs();
  }
  @Test
  @Test(enabled=false)
  public void testGetOutsideDbs() throws IOException {
    // TODO: something more useful
    config.getOutsideDbs();
  }
  @Test
  @Test(enabled=false)
  public void testGetContents() throws IOException {
    assertNotNull(config.getContents());
  }
  @Test
  @Test(enabled=false)
  public void testGetDatabasePaths() throws IOException {
    assertTrue(config.getDatabasePaths().size() > 0);
  }
  @Test(enabled=false)
  public void testLoad() {
    //TODO:  need way to verify reload
  }