analysis: Bug 489573: Internalize Control Flow view implementation
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests / src / org / eclipse / tracecompass / lttng2 / kernel / ui / swtbot / tests / KernelPerspectiveChecker.java
CommitLineData
664fa59c 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2014, 2015 Ericsson
664fa59c
MK
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 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
12
9bc60be7 13package org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests;
664fa59c
MK
14
15import java.util.ArrayList;
16import java.util.Arrays;
17
ace7140d 18import org.eclipse.tracecompass.internal.analysis.os.linux.ui.views.controlflow.ControlFlowView;
eeff806b 19import org.eclipse.tracecompass.internal.analysis.os.linux.ui.views.resources.ResourcesView;
e363eae1 20import org.eclipse.tracecompass.internal.lttng2.control.ui.views.ControlView;
fa24d78b
AM
21import org.eclipse.tracecompass.internal.lttng2.kernel.ui.views.PerspectiveFactory;
22import org.eclipse.tracecompass.tmf.ui.swtbot.tests.shared.AbstractPerspectiveChecker;
2bdf0193
AM
23import org.eclipse.tracecompass.tmf.ui.views.histogram.HistogramView;
24import org.eclipse.tracecompass.tmf.ui.views.statistics.TmfStatisticsView;
664fa59c
MK
25import org.eclipse.ui.IPageLayout;
26import org.junit.Before;
27
28/**
29 * Tracing perspective view checker
30 *
31 * @author Matthew Khouzam
32 */
33public class KernelPerspectiveChecker extends AbstractPerspectiveChecker {
34
35 /**
36 * Set up arrays for test
37 */
38 @Before
39 public void init() {
40 fPerspectiveId = PerspectiveFactory.ID;
41 fViewIds = new ArrayList<>();
42 fViewIds.addAll(Arrays.asList(new String[] {
43 // LTTng views
44 HistogramView.ID,
45 ControlView.ID,
46 ControlFlowView.ID,
47 ResourcesView.ID,
48 TmfStatisticsView.ID,
49 // Standard Eclipse views
50 IPageLayout.ID_PROJECT_EXPLORER,
51 IPageLayout.ID_PROP_SHEET,
52 IPageLayout.ID_BOOKMARKS
53 }));
54 }
55}
This page took 0.068565 seconds and 5 git commands to generate.