Merge branch 'master' into lttng_2_0_control_dev
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui.tests / src / org / eclipse / linuxtools / lttng / ui / tests / control / model / component / ModelImplTestSetup.java
1 /*******************************************************************************
2 * Copyright (c) 2012 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.linuxtools.lttng.ui.tests.control.model.component;
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 ModelImplTestSetup extends TestSetup {
21
22 public ModelImplTestSetup(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 TraceControlTestFacility.getInstance().init();
33 }
34
35 /*
36 * (non-Javadoc)
37 * @see junit.extensions.TestSetup#tearDown()
38 */
39 @Override
40 protected void tearDown() throws Exception {
41 TraceControlTestFacility.getInstance().dispose();
42 }
43 }
This page took 0.031539 seconds and 5 git commands to generate.