@AfterClass public static void cleanupSuite() throws Exception { ldap.stop(true); // FileUtils.deleteQuietly( new File( config.getGatewayHomeDir() ) ); // NoOpAppender.tearDown( appenders ); }
public void cleanup() throws Exception { gateway.stop(); FileUtils.deleteQuietly(new File(config.getGatewayTopologyDir())); FileUtils.deleteQuietly(new File(config.getGatewayConfDir())); FileUtils.deleteQuietly(new File(config.getGatewaySecurityDir())); FileUtils.deleteQuietly(new File(config.getGatewayDeploymentDir())); FileUtils.deleteQuietly(new File(config.getGatewayDataDir())); FileUtils.deleteQuietly(new File(config.getGatewayServicesDir())); for (Service service : services.values()) { service.server.stop(); } services.clear(); ldap.stop(true); }