]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.testing/src/org/simantics/db/testing/cases/FreshWorkspaceTest.java
Minor fix and optimization for exporting TG and Pgraph with sharedlib
[simantics/platform.git] / bundles / org.simantics.db.testing / src / org / simantics / db / testing / cases / FreshWorkspaceTest.java
1 package org.simantics.db.testing.cases;
2
3 import org.junit.After;
4 import org.junit.Before;
5 import org.simantics.db.testing.common.TestBase;
6 import org.simantics.db.testing.common.TestSettings;
7 import org.simantics.db.testing.common.Tests;
8 import org.simantics.db.testing.impl.Configuration;
9
10 public class FreshWorkspaceTest extends TestBase {
11         
12         public void configure(TestSettings settins) {
13         }
14         
15         @Before
16         public void setUp() throws Exception {
17                 
18                 TestBase.printStart(this);
19                 configure(TestSettings.getInstanceUnsafe());
20                 state = Tests.freshWorkspace(Configuration.get().coreDir, initialWorkspaceFiles);
21                 super.setUp();
22         }
23         
24     @After
25     public void tearDown() throws Exception {
26         
27         Tests.shutdown(state);
28         super.tearDown();
29     }
30 }