2008-04-28  Thomas Cataldo  <thomas.cataldo@aliasource.fr>

	Add plumbing for running unit tests with a connection pool.
	
	* .classpath:
	* src/fr/aliasource/obm/autoconf/DBConfig.java:
	* test-data/db.properties.sample:
	* tests/fr/aliasource/obm/autoconf/AutoconfTestCase.java:
	* tests/fr/aliasource/obm/autoconf/DBQueryToolTests.java:
	* tests/fr/aliasource/obm/autoconf/LDAPQueryToolTests.java:
	* tests/fr/aliasource/obm/autoconf/TemplateLoaderTests.java:
	(TemplateLoaderTests.testApplyTemplates):
	* tests/fr/aliasource/obm/autoconf/impl/AutoconfTestCase.java:
	(AutoconfTestCase), (AutoconfTestCase.setUp),
	(AutoconfTestCase.tearDown):
	* tests/fr/aliasource/obm/autoconf/impl/DataSourceEnv.java:
	(DataSourceEnv), (DataSourceEnv.DataSourceEnv),
	(DataSourceEnv.bindPool), (DataSourceEnv.shutdown):
	* tests/fr/aliasource/obm/autoconf/impl/MemoryContext.java:
	(MemoryContext), (MemoryContext.MemoryContext),
	(MemoryContext.lookup), (MemoryContext.bind),
	(MemoryContext.rebind), (MemoryContext.createSubcontext),
	(MemoryContext.addToEnvironment), (MemoryContext.close),
	(MemoryContext.composeName), (MemoryContext.destroySubcontext),
	(MemoryContext.getEnvironment), (MemoryContext.getNameInNamespace),
	(MemoryContext.getNameParser), (MemoryContext.list),
	(MemoryContext.listBindings), (MemoryContext.lookupLink),
	(MemoryContext.removeFromEnvironment), (MemoryContext.rename),
	(MemoryContext.unbind):
	* tests/fr/aliasource/obm/autoconf/impl/MemoryContextFactory.java:
	(MemoryContextFactory), (MemoryContextFactory.getInitialContext):

2008-04-28  Thomas Cataldo  <thomas.cataldo@aliasource.fr>

	Close LDAP connection.
	
	* src/fr/aliasource/obm/autoconf/LDAPQueryTool.java:
	(LDAPQueryTool.getLDAPInformations):

2008-04-28  Thomas Cataldo  <thomas.cataldo@aliasource.fr>

	Add ldap unit test
	
	* tests/fr/aliasource/obm/autoconf/LDAPQueryToolTests.java:
	(LDAPQueryToolTests), (LDAPQueryToolTests.testQuery):

2008-04-26  Thomas Cataldo  <thomas.cataldo@aliasource.fr>

	Make it more object oriented.

	Add unit tests.
	
	* .classpath:
	* descriptors/web.xml:
	* src/fr/aliasource/obm/autoconf/AutoconfService.java:
	(AutoconfService), (AutoconfService.AutoconfService),
	(AutoconfService.doGet):
	* src/fr/aliasource/obm/autoconf/DirectoryConfig.java:
	(DirectoryConfig), (DirectoryConfig.DirectoryConfig),
	(DirectoryConfig.getLdapPort), (DirectoryConfig.getLdapSearchBase),
	(DirectoryConfig.getLdapAtts), (DirectoryConfig.getLdapFilter),
	(DirectoryConfig.getLdapHost), (DirectoryConfig.getConfigXml),
	(DirectoryConfig.setConfigXml):
	* src/fr/aliasource/obm/autoconf/LDAPQueryTool.java:
	(LDAPQueryTool), (LDAPQueryTool.LDAPQueryTool),
	(LDAPQueryTool.getLDAPInformations):
	* src/fr/aliasource/obm/autoconf/TemplateLoader.java:
	(TemplateLoader), (TemplateLoader.TemplateLoader),
	(TemplateLoader.applyTemplate), (TemplateLoader.generateXMLConfig):
	* src/fr/aliasource/obm/utils/DOMUtils.java:
	* tests/fr/aliasource/obm/autoconf/AutoconfTestCase.java:
	(AutoconfTestCase), (AutoconfTestCase.setUp),
	(AutoconfTestCase.tearDown):
	* tests/fr/aliasource/obm/autoconf/TemplateLoaderTests.java:
	(TemplateLoaderTests), (TemplateLoaderTests.testApplyTemplates):

