| | |
| | | import org.opends.server.types.LDIFImportConfig; |
| | | import org.opends.server.types.OperatingSystem; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.BuildVersion; |
| | | import org.opends.server.util.EmbeddedUtils; |
| | | import org.opends.server.util.LDIFReader; |
| | | |
| | |
| | | { |
| | | copyDirectory(libDir, testLibDir); |
| | | copyDirectory(new File(resourceDir, "bin"), testBinDir); |
| | | copyDirectory(new File(resourceDir, "config"), testConfigDir); |
| | | copyDirectory(new File(resourceDir, "config"), testConfigDir ); |
| | | copyDirectory(new File(resourceDir, "schema"), |
| | | new File(testSchemaDir, "schema")); |
| | | copyDirectory(new File(resourceDir, "MakeLDIF"), |
| | |
| | | TextDebugLogPublisher.getStartupTextDebugPublisher( |
| | | DEBUG_TEXT_WRITER)); |
| | | |
| | | // Writing the buildinfo with the current version. |
| | | final FileWriter buildInfoWriter = new FileWriter (new File(testConfigDir, "buildinfo")); |
| | | buildInfoWriter.write(BuildVersion.binaryVersion().toString()); |
| | | buildInfoWriter.close(); |
| | | |
| | | EmbeddedUtils.startServer(config); |
| | | |
| | | assertTrue(InvocationCounterPlugin.startupCalled()); |