blob: aeb5d9548de863ce8011f8b2f16e53b14a453c36 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Matthew Khouzam - Initial API and implementation
*******************************************************************************/
package org.eclipse.tracecompass.tmf.ui.swtbot.tests.perspectives;
import java.util.ArrayList;
import java.util.Arrays;
import org.eclipse.tracecompass.tmf.ui.swtbot.tests.shared.AbstractPerspectiveChecker;
import org.eclipse.tracecompass.tmf.ui.views.TracingPerspectiveFactory;
import org.eclipse.tracecompass.tmf.ui.views.histogram.HistogramView;
import org.eclipse.tracecompass.tmf.ui.views.statistics.TmfStatisticsView;
import org.eclipse.ui.IPageLayout;
import org.junit.Before;
/**
* Tracing perspective view checker
*
* @author Matthew Khouzam
*/
public class TracingPerspectiveChecker extends AbstractPerspectiveChecker {
/**
* Set up arrays for test
*/
@Before
public void init() {
fPerspectiveId = TracingPerspectiveFactory.ID;
fViewIds = new ArrayList<>();
fViewIds.addAll(Arrays.asList(new String[] {
HistogramView.ID,
TmfStatisticsView.ID,
// Standard Eclipse views
IPageLayout.ID_PROJECT_EXPLORER,
IPageLayout.ID_PROP_SHEET,
IPageLayout.ID_BOOKMARKS
}));
}
}