Commit | Line | Data |
---|---|---|
e1c43333 | 1 | /******************************************************************************* |
61759503 | 2 | * Copyright (c) 2012, 2013 Ericsson |
e1c43333 AM |
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 | ||
5dd1fa65 AM |
15 | import static org.junit.Assume.assumeTrue; |
16 | ||
e1c43333 | 17 | import org.eclipse.linuxtools.tmf.core.statistics.TmfEventsStatistics; |
5dd1fa65 | 18 | import org.eclipse.linuxtools.tmf.core.tests.shared.CtfTmfTestTraces; |
e1c43333 AM |
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() { | |
5dd1fa65 AM |
33 | assumeTrue(CtfTmfTestTraces.tracesExist()); |
34 | backend = new TmfEventsStatistics(CtfTmfTestTraces.getTestTrace(TRACE_INDEX)); | |
e1c43333 AM |
35 | } |
36 | } |