1 /*******************************************************************************
2 * Copyright (c) 2007, 2010 Association for Decentralized Information Management
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.db.testing.base;
14 import org.junit.After;
15 import org.junit.Before;
16 import org.simantics.db.testing.common.TestBase;
17 import org.simantics.db.testing.common.Tests;
20 * Base class for Simantics Test Cases. Starts ProCore at the beginning of the
21 * tests and closes it after tests are done.
23 * @author Marko Luukkainen <marko.luukkainen@vtt.fi>
26 public class ExistingDatabaseTest extends TestBase {
29 public void setUp() throws Exception {
30 state = Tests.existingDatabase();
34 public void tearDown() throws Exception {
35 Tests.shutdown(state);
39 public void reconnect() throws Exception {