lttng: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.ust.core.tests / src / org / eclipse / linuxtools / lttng2 / ust / core / tests / trace / callstack / LttngUstCallStackProviderTest.java
1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 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.lttng2.ust.core.tests.trace.callstack;
14
15 import static org.junit.Assume.assumeTrue;
16
17 import org.eclipse.linuxtools.tmf.ctf.core.tests.shared.CtfTmfTestTrace;
18 import org.junit.BeforeClass;
19
20 /**
21 * Test suite for the UST callstack state provider, using the trace of a program
22 * instrumented with lttng-ust-cyg-profile.so tracepoints.
23 *
24 * @author Alexandre Montplaisir
25 */
26 public class LttngUstCallStackProviderTest extends AbstractProviderTest {
27
28 private static final long[] timestamps = { 1378850463600000000L,
29 1378850463770000000L,
30 1378850463868753000L };
31
32 /**
33 * Class setup
34 */
35 @BeforeClass
36 public static void setUpClass() {
37 assumeTrue(CtfTmfTestTrace.CYG_PROFILE.exists());
38 }
39
40 @Override
41 protected CtfTmfTestTrace getTestTrace() {
42 return CtfTmfTestTrace.CYG_PROFILE;
43 }
44
45 @Override
46 protected String getProcName() {
47 return "glxgears-16073";
48 }
49
50 @Override
51 protected long getTestTimestamp(int index) {
52 return timestamps[index];
53 }
54
55 }
This page took 0.032132 seconds and 5 git commands to generate.