67262c47c4c4bb8bfbecb6776c757379660e90b3
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui.swtbot.tests / src / org / eclipse / linuxtools / tmf / ui / swtbot / tests / TracingPerspectiveChecker.java
1 /*******************************************************************************
2 * Copyright (c) 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 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.swtbot.tests;
14
15 import java.util.ArrayList;
16 import java.util.Arrays;
17
18 import org.eclipse.linuxtools.tmf.ui.views.TracingPerspectiveFactory;
19 import org.eclipse.linuxtools.tmf.ui.views.histogram.HistogramView;
20 import org.eclipse.linuxtools.tmf.ui.views.statistics.TmfStatisticsView;
21 import org.eclipse.ui.IPageLayout;
22 import org.junit.Before;
23
24 /**
25 * Tracing perspective view checker
26 *
27 * @author Matthew Khouzam
28 */
29 public class TracingPerspectiveChecker extends AbstractPerspectiveChecker {
30
31 /**
32 * Set up arrays for test
33 */
34 @Before
35 public void init() {
36 fPerspectiveId = TracingPerspectiveFactory.ID;
37 fViewIds = new ArrayList<>();
38 fViewIds.addAll(Arrays.asList(new String[] {
39 HistogramView.ID,
40 TmfStatisticsView.ID,
41 // Standard Eclipse views
42 IPageLayout.ID_PROJECT_EXPLORER,
43 IPageLayout.ID_PROP_SHEET,
44 IPageLayout.ID_BOOKMARKS
45 }));
46 }
47
48 }
This page took 0.036912 seconds and 4 git commands to generate.