tmf: Re-enable the unit tests depending on CTF traces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / statistics / TmfEventsStatisticsTest.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 * Alexandre Montplaisir - Initial API and implementation
11 ******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.core.tests.statistics;
14
15 import static org.junit.Assume.assumeTrue;
16
17 import org.eclipse.linuxtools.tmf.core.statistics.TmfEventsStatistics;
18 import org.eclipse.linuxtools.tmf.core.tests.shared.CtfTmfTestTraces;
19 import org.junit.BeforeClass;
20
21 /**
22 * Unit tests for the {@link TmfEventsStatistics}
23 *
24 * @author Alexandre Montplaisir
25 */
26 public class TmfEventsStatisticsTest extends TmfStatisticsTest {
27
28 /**
29 * Set up the fixture once for all tests.
30 */
31 @BeforeClass
32 public static void setUpClass() {
33 assumeTrue(CtfTmfTestTraces.tracesExist());
34 backend = new TmfEventsStatistics(CtfTmfTestTraces.getTestTrace(TRACE_INDEX));
35 }
36 }
This page took 0.03705 seconds and 5 git commands to generate.