1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
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
10 * Alexandre Montplaisir - Initial API and implementation
11 ******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.tests
.statistics
;
16 import java
.io
.IOException
;
18 import org
.eclipse
.linuxtools
.tmf
.core
.exceptions
.TmfTraceException
;
19 import org
.eclipse
.linuxtools
.tmf
.core
.statistics
.TmfStateStatistics
;
20 import org
.junit
.BeforeClass
;
23 * Unit tests for the {@link TmfStateStatistics}
25 * @author Alexandre Montplaisir
27 public class TmfStateStatisticsTest
extends TmfStatisticsTest
{
30 * Set up the fixture (build the state history, etc.) once for all tests.
33 public static void setUpClass() {
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
) {
40 } catch (IOException e
) {
This page took 0.049968 seconds and 6 git commands to generate.