analysis: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.ui.tests / src / org / eclipse / tracecompass / tmf / ui / tests / views / uml2sd / loader / Uml2SDTestSetup.java
1 /*******************************************************************************
2 * Copyright (c) 2011, 2014 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
12 package org.eclipse.tracecompass.tmf.ui.tests.views.uml2sd.loader;
13
14 import junit.extensions.TestSetup;
15 import junit.framework.Test;
16
17 /**
18 * Test setup class for one-time setUp() and tearDown() across test cases.
19 */
20 public class Uml2SDTestSetup extends TestSetup {
21
22 /**
23 * Constructor
24 * @param test the test to use.
25 */
26 public Uml2SDTestSetup(Test test) {
27 super(test);
28 }
29
30 @Override
31 protected void setUp() throws Exception {
32 Uml2SDTestFacility.getInstance().init();
33 }
34
35 @Override
36 protected void tearDown() throws Exception {
37 Uml2SDTestFacility.getInstance().dispose();
38 }
39
40 }
This page took 0.032431 seconds and 5 git commands to generate.