Child pages
  • TopicMap Engine Home

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: svn and jira links

...

 

Code Block
languagejava
protected DataSourceProvider dsProvider;

protected void setUp() throws Exception {
	super.setUp();
	if (dsProvider == null) {
		dsProvider = DataSourceProvider.getProvider();
		dsProvider.setUpDB();
	
		//set up factory etc. here ...
		factory.setProperty(PropertyKey.CONNECTION_DATASOURCE.getURI(), dsProvider.getDataSource());
		//...
	}
}

protected void tearDown() throws Exception {
	dsProvider.dropDB();
}

Source code and issue tracker

Subversion: http://svn.clazzes.org/svn/topicmaps

Jira: TME