1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 É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
.tracecompass
.tmf
.tests
.stubs
.analysis
;
15 import java
.util
.ArrayList
;
16 import java
.util
.List
;
18 import org
.eclipse
.tracecompass
.tmf
.core
.analysis
.IAnalysisModuleHelper
;
19 import org
.eclipse
.tracecompass
.tmf
.core
.analysis
.IAnalysisModuleSource
;
20 import org
.eclipse
.tracecompass
.tmf
.tests
.stubs
.analysis
.AnalysisModuleTestHelper
.moduleStubEnum
;
23 * Stub class for analysis module source
25 * @author Geneviève Bastien
27 public class AnalysisModuleSourceStub
implements IAnalysisModuleSource
{
30 public Iterable
<IAnalysisModuleHelper
> getAnalysisModules() {
31 List
<IAnalysisModuleHelper
> list
= new ArrayList
<>();
32 IAnalysisModuleHelper helper
= new AnalysisModuleTestHelper(moduleStubEnum
.TEST
);
34 helper
= new AnalysisModuleTestHelper(moduleStubEnum
.TEST2
);