1 /*******************************************************************************
2 * Copyright (c) 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 * Guilliano Molaire - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.lttng2
.ust
.core
.tests
.analysis
.memory
;
15 import static org
.junit
.Assert
.assertNotNull
;
16 import static org
.junit
.Assert
.assertTrue
;
18 import org
.eclipse
.tracecompass
.lttng2
.ust
.core
.analysis
.memory
.UstMemoryAnalysisModule
;
19 import org
.eclipse
.tracecompass
.tmf
.core
.analysis
.TmfAnalysisRequirement
;
20 import org
.junit
.Before
;
21 import org
.junit
.Ignore
;
22 import org
.junit
.Test
;
25 * Tests for the {@link UstMemoryAnalysisModule}
27 * @author Guilliano Molaire
29 public class UstMemoryAnalysisModuleTest
{
31 /** The analysis module */
32 private UstMemoryAnalysisModule fUstAnalysisModule
;
39 fUstAnalysisModule
= new UstMemoryAnalysisModule();
43 * Test for {@link UstMemoryAnalysisModule#getAnalysisRequirements()}
45 @Ignore("Need to assign a trace to the module to check the requirements now")
47 public void testGetAnalysisRequirements() {
48 Iterable
<TmfAnalysisRequirement
> requirements
= fUstAnalysisModule
.getAnalysisRequirements();
50 assertNotNull(requirements
);
51 assertTrue(requirements
.iterator().hasNext());