Commit | Line | Data |
---|---|---|
4f5d9f9b | 1 | /******************************************************************************* |
ed902a2b | 2 | * Copyright (c) 2011, 2014 Ericsson |
64636df8 | 3 | * |
4f5d9f9b BH |
4 | * All rights reserved. This program and the accompanying materials are |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
64636df8 | 8 | * |
4f5d9f9b BH |
9 | * Contributors: |
10 | * Bernd Hufmann - Initial API and implementation | |
11 | *******************************************************************************/ | |
2bdf0193 | 12 | package org.eclipse.tracecompass.tmf.ui.tests.views.uml2sd.loader; |
4f5d9f9b BH |
13 | |
14 | import junit.extensions.TestSetup; | |
15 | import junit.framework.Test; | |
16 | ||
17 | /** | |
64636df8 | 18 | * Test setup class for one-time setUp() and tearDown() across test cases. |
4f5d9f9b BH |
19 | */ |
20 | public class Uml2SDTestSetup extends TestSetup { | |
21 | ||
64636df8 BH |
22 | /** |
23 | * Constructor | |
24 | * @param test the test to use. | |
25 | */ | |
4f5d9f9b BH |
26 | public Uml2SDTestSetup(Test test) { |
27 | super(test); | |
28 | } | |
29 | ||
4f5d9f9b BH |
30 | @Override |
31 | protected void setUp() throws Exception { | |
32 | Uml2SDTestFacility.getInstance().init(); | |
33 | } | |
34 | ||
4f5d9f9b BH |
35 | @Override |
36 | protected void tearDown() throws Exception { | |
37 | Uml2SDTestFacility.getInstance().dispose(); | |
38 | } | |
39 | ||
40 | } |