InstallationTest.java revision d25372dc8e65a9ed019a88fdf659ca61313f1b31
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at
* trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
* add the following below this CDDL HEADER, with the fields enclosed
* by brackets "[]" replaced with your own identifying information:
* Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*
* Copyright 2008 Sun Microsystems, Inc.
*/
/**
* Installation Tester.
*/
public class InstallationTest extends QuickSetupTestCase {
}
/**
* Tests to make sure installation is valid.
*/
public void testValidateRootDirectory() {
}
/**
* Tests that installation root directory is available.
*/
public void testGetRootDirectory() {
}
/**
* Tests that the installation root directory can be set.
*/
public void testSetRootDirectory() {
}
/**
* Tests that the installation root is valid.
*/
public void testIsValid() {
}
/**
* Tests that an installation directory missing required directories
* is considered invalid.
*/
public void testIsValid2() {
try {
} finally {
}
}
}
/**
* Tests the configuration is available.
*/
public void testGetCurrentConfiguration() {
}
/**
* Tests the base configuration is available.
*/
public void testGetBaseConfiguration() throws ApplicationException {
}
/**
* Tests the status is available.
*/
public void testGetStatus() {
}
/**
* Tests the lib directory is available.
*/
public void testGetLibrariesDirectory() {
}
/**
* Tests the schema concat file is available.
*/
public void testGetSchemaConcatFile() {
}
/**
* Tests the base schema file is available.
*/
public void testGetBaseSchemaFile() throws ApplicationException {
}
/**
* Tests the base config file is available.
*/
public void testGetBaseConfigurationFile() throws ApplicationException {
}
/**
* Tests the SVN rev number is discernable.
*/
public void testGetSvnRev() throws ApplicationException {
}
/**
* Tests the config file is available.
*/
public void testGetCurrentConfigurationFile() {
}
/**
*/
public void testGetBinariesDirectory() {
} else {
}
}
/**
* Tests the db directory is available.
*/
public void testGetDatabasesDirectory() {
}
/**
* Tests the backup directory is available.
*/
public void testGetBackupDirectory() {
}
/**
* Tests the config directory is available.
*/
public void testGetConfigurationDirectory() {
}
/**
* Tests the logs directory is available.
*/
public void testGetLogsDirectory() {
}
/**
* Tests the locks directory is available.
*/
public void testGetLocksDirectory() {
}
/**
* Tests the tmp directory is available.
*/
public void testGetTemporaryDirectory() {
}
/**
* Tests the history directory is available.
*/
public void testGetHistoryDirectory() {
}
/**
* Tests a historical backup directory can be created.
*/
public void testCreateHistoryBackupDirectory() throws IOException {
}
/**
* Tests the history log file is available.
*/
public void testGetHistoryLogFile() {
}
/**
* Tests the config upgrade directory is available.
*/
public void testGetConfigurationUpgradeDirectory() {
}
/**
*/
public void testGetTemporaryUpgradeDirectory() {
}
/**
* Tests getting a command file works.
*/
public void testGetCommandFile() {
}
/**
* Tests the start server command is available.
*/
public void testGetServerStartCommandFile() {
}
/**
* Tests the stop server command is available.
*/
public void testGetServerStopCommandFile() {
}
/**
* Tests the ldif directory is available.
*/
public void testGetLdifDirectory() {
}
/**
* Tests the quicksetup jar is available.
*/
public void testGetQuicksetupJarFile() {
}
/**
* Tests the OpenDS jar is available.
*/
public void testGetOpenDSJarFile() {
}
/**
* Tests the uninstall file is available.
*/
public void testGetUninstallBatFile() {
}
/**
* Tests the status panel command file is available.
*/
public void testGetStatusPanelCommandFile() {
}
/**
* Tests the build information is discernable.
*/
public void testGetBuildInformation() throws ApplicationException {
}
/**
* Tests the build information is discernable.
*/
public void testGetBuildInformation1() throws ApplicationException {
}
/**
* Test string representation is possible.
*/
public void testToString() {
}
private void assertExistentFile(File f) {
assertNotNull(f);
assertTrue(f.exists());
}
private void assertNonexistentFile(File f) {
assertNotNull(f);
}
}