1 /*******************************************************************************
2 * Copyright (c) 2013 École Polytechnique de Montréal
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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.tests
.stubs
.analysis
;
15 import org
.eclipse
.core
.runtime
.IProgressMonitor
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.analysis
.TmfAbstractAnalysisModule
;
17 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
18 import org
.eclipse
.linuxtools
.tmf
.tests
.stubs
.ctf
.CtfTmfTraceStub
;
21 * Simple analysis type for test
23 public class TestCtfAnalysis
extends TmfAbstractAnalysisModule
{
26 public boolean canExecute(ITmfTrace trace
) {
27 /* This just makes sure the trace is a ctf stub trace */
28 return (CtfTmfTraceStub
.class.isAssignableFrom(trace
.getClass()));
32 protected void canceling() {
37 protected boolean executeAnalysis(final IProgressMonitor monitor
) {