117118119120121122123124125126127
base.evaluate(); } finally { LOG.trace( "Stopping ldap server" ); ldapServer.stop(); } } }; } }
378379380381382383384385386387388
// Run the test super.runChild( method, notifier ); if ( methodLdapServer != null ) { methodLdapServer.stop(); } if ( oldLdapServerDirService != null ) { classLdapServer.setDirectoryService( oldLdapServerDirService );
407408409410411412413414415416417
255256257258259260261262263264265
assertEquals( 1, results.size() ); assertTrue( results.contains( "dc=example,dc=com" ) ); enumeration.close(); ctx.close(); ldapServer.stop(); service.shutdown(); FileUtils.deleteDirectory( service.getWorkingDirectory() ); }
486487488489490491492493494495496
256257258259260261262263264265266
assertEquals( 1, results.size() ); assertTrue( results.contains( "dc=example,dc=com" ) ); enumeration.close(); ctx.close(); ldapServer.stop(); service.shutdown(); FileUtils.deleteDirectory( service.getInstanceLayout().getInstanceDirectory() ); } }
411412413414415416417418419420421
487488489490491492493494495496497