1 /*******************************************************************************
2 * Copyright (c) 2014, 2015 Ericsson
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
10 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.pcap
.ui
.swtbot
.tests
;
15 import java
.util
.ArrayList
;
16 import java
.util
.Arrays
;
18 import org
.eclipse
.tracecompass
.internal
.tmf
.pcap
.ui
.NetworkingPerspectiveFactory
;
19 import org
.eclipse
.tracecompass
.internal
.tmf
.pcap
.ui
.stream
.StreamListView
;
20 import org
.eclipse
.tracecompass
.tmf
.ui
.swtbot
.tests
.shared
.AbstractPerspectiveChecker
;
21 import org
.eclipse
.tracecompass
.tmf
.ui
.views
.colors
.ColorsView
;
22 import org
.eclipse
.tracecompass
.tmf
.ui
.views
.filter
.FilterView
;
23 import org
.eclipse
.tracecompass
.tmf
.ui
.views
.histogram
.HistogramView
;
24 import org
.eclipse
.tracecompass
.tmf
.ui
.views
.statistics
.TmfStatisticsView
;
25 import org
.eclipse
.ui
.IPageLayout
;
26 import org
.junit
.Before
;
29 * Tracing perspective view checker
31 * @author Matthew Khouzam
33 public class NetworkPerspectiveChecker
extends AbstractPerspectiveChecker
{
36 * Set up arrays for test
40 fPerspectiveId
= NetworkingPerspectiveFactory
.ID
;
41 fViewIds
= new ArrayList
<>();
42 fViewIds
.addAll(Arrays
.asList(new String
[] {
50 // Standard Eclipse views
51 IPageLayout
.ID_PROJECT_EXPLORER
,
52 IPageLayout
.ID_PROP_SHEET
,
53 IPageLayout
.ID_BOOKMARKS