465466467468469470471472473474475
// Run the test super.runChild( method, notifier ); if ( methodLdapServer != null ) { methodLdapServer.stop(); } if ( oldLdapServerDirService != null ) { classLdapServer.setDirectoryService( oldLdapServerDirService );
409410411412413414415416417418419
258259260261262263264265266267268
assertEquals( 1, results.size() ); assertTrue( results.contains( "dc=example,dc=com" ) ); enumeration.close(); ctx.close(); ldapServer.stop(); service.shutdown(); FileUtils.deleteDirectory( service.getInstanceLayout().getInstanceDirectory() ); }