Improve test cases, speed and accuracy.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.tests / src / org / eclipse / linuxtools / tmf / ui / tests / views / uml2sd / impl / Uml2SDTestSetup.java
CommitLineData
4f5d9f9b
BH
1/*******************************************************************************
2 * Copyright (c) 2011 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 *******************************************************************************/
12package org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.impl;
13
14import junit.extensions.TestSetup;
15import junit.framework.Test;
16
17/**
18 * Test setup class for one-time setUp() and tearDown() across test cases.
19 */
20public class Uml2SDTestSetup extends TestSetup {
21
22 public Uml2SDTestSetup(Test test) {
23 super(test);
24 }
25
26 /*
27 * (non-Javadoc)
28 * @see junit.extensions.TestSetup#setUp()
29 */
30 @Override
31 protected void setUp() throws Exception {
32 Uml2SDTestFacility.getInstance().init();
33 }
34
35 /*
36 * (non-Javadoc)
37 * @see junit.extensions.TestSetup#tearDown()
38 */
39 @Override
40 protected void tearDown() throws Exception {
41 Uml2SDTestFacility.getInstance().dispose();
42 }
43
44}
This page took 0.026195 seconds and 5 git commands to generate.