Fix Typos in interface methods of TmfUml2SdSynchLoader
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / statistics / TmfStateStatisticsTest.java
CommitLineData
e1c43333
AM
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 * Alexandre Montplaisir - Initial API and implementation
11 ******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.core.tests.statistics;
14
15import java.io.File;
16import java.io.IOException;
17
18import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;
19import org.eclipse.linuxtools.tmf.core.statistics.TmfStateStatistics;
20import org.junit.BeforeClass;
21
22/**
23 * Unit tests for the {@link TmfStateStatistics}
24 *
25 * @author Alexandre Montplaisir
26 */
27public class TmfStateStatisticsTest extends TmfStatisticsTest {
28
29 /**
30 * Set up the fixture (build the state history, etc.) once for all tests.
31 */
32 @BeforeClass
33 public static void setUpClass() {
34 try {
35 File htFile = File.createTempFile("stats-test", ".ht"); //$NON-NLS-1$ //$NON-NLS-2$
36 htFile.deleteOnExit();
37 backend = new TmfStateStatistics(TestParams.createTrace(), htFile);
38 } catch (TmfTraceException e) {
39 e.printStackTrace();
40 } catch (IOException e) {
41 e.printStackTrace();
42 }
43 }
44}
This page took 0.026586 seconds and 5 git commands to generate.