]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.testing/src/org/simantics/db/testing/base/TestCleanDb.java
Added missing org.simantics.db.{tests,testing} plug-ins.
[simantics/platform.git] / bundles / org.simantics.db.testing / src / org / simantics / db / testing / base / TestCleanDb.java
1 package org.simantics.db.testing.base;
2 /*******************************************************************************
3  * Copyright (c) 2007, 2010 Association for Decentralized Information Management
4  * in Industry THTH ry.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  *     VTT Technical Research Centre of Finland - initial API and implementation
12  *******************************************************************************/
13
14
15 import org.junit.Before;
16 import org.simantics.db.testing.impl.Configuration;
17
18 /**
19  * Base class for Simantics Test Cases. Starts ProCore at the beginning of the tests and closes it after tests are done. 
20  * 
21  * @author Marko Luukkainen <marko.luukkainen@vtt.fi>
22  *
23  */
24 @Deprecated
25 public class TestCleanDb extends ExistingDatabaseTest {
26         
27     private static final  String USERNAME = Configuration.get().username;
28     private static final String PASSWORD = Configuration.get().password;
29     private final String WORK_DIR = "cleanDb";
30         
31         @Before
32         public void setUp() throws Exception {
33 //              CoreHandler.initDb(WORK_DIR);
34 //        core = new CoreHandler();
35 //        Session s = core.launch(WORK_DIR, USERNAME, PASSWORD, null);
36         super.setUp();
37         }
38 }