btf: Move the plugins to their own sub-directory
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.pcap.ui.swtbot.tests / src / org / eclipse / tracecompass / tmf / pcap / ui / swtbot / tests / NetworkPerspectiveChecker.java
CommitLineData
c29f58b1 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2014, 2015 Ericsson
c29f58b1
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
2bdf0193 13package org.eclipse.tracecompass.tmf.pcap.ui.swtbot.tests;
c29f58b1
MK
14
15import java.util.ArrayList;
16import java.util.Arrays;
17
2bdf0193
AM
18import org.eclipse.tracecompass.internal.tmf.pcap.ui.NetworkingPerspectiveFactory;
19import org.eclipse.tracecompass.internal.tmf.pcap.ui.stream.StreamListView;
fa24d78b 20import org.eclipse.tracecompass.tmf.ui.swtbot.tests.shared.AbstractPerspectiveChecker;
2bdf0193
AM
21import org.eclipse.tracecompass.tmf.ui.views.colors.ColorsView;
22import org.eclipse.tracecompass.tmf.ui.views.filter.FilterView;
23import org.eclipse.tracecompass.tmf.ui.views.histogram.HistogramView;
24import org.eclipse.tracecompass.tmf.ui.views.statistics.TmfStatisticsView;
c29f58b1
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 NetworkPerspectiveChecker extends AbstractPerspectiveChecker {
34
35 /**
36 * Set up arrays for test
37 */
38 @Before
39 public void init() {
40 fPerspectiveId = NetworkingPerspectiveFactory.ID;
41 fViewIds = new ArrayList<>();
42 fViewIds.addAll(Arrays.asList(new String[] {
43 // TMF views
44 HistogramView.ID,
45 TmfStatisticsView.ID,
46 FilterView.ID,
47 ColorsView.ID,
48 // PCAP
49 StreamListView.ID,
50 // Standard Eclipse views
51 IPageLayout.ID_PROJECT_EXPLORER,
52 IPageLayout.ID_PROP_SHEET,
53 IPageLayout.ID_BOOKMARKS
54 }));
55 }
56}
This page took 0.062666 seconds and 5 git commands to generate.