1 package org.simantics.db.testing.base;
2 /*******************************************************************************
3 * Copyright (c) 2007, 2010 Association for Decentralized Information Management
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
11 * VTT Technical Research Centre of Finland - initial API and implementation
12 *******************************************************************************/
15 import org.junit.Before;
16 import org.simantics.db.testing.impl.Configuration;
19 * Base class for Simantics Test Cases. Starts ProCore at the beginning of the tests and closes it after tests are done.
21 * @author Marko Luukkainen <marko.luukkainen@vtt.fi>
25 public class TestCleanDb extends ExistingDatabaseTest {
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";
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);