tmf: Move the analysis requirements to their own package
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.ust.core.tests / src / org / eclipse / tracecompass / lttng2 / ust / core / tests / analysis / memory / UstMemoryAnalysisModuleTest.java
CommitLineData
53e5d2d3
GM
1/*******************************************************************************
2 * Copyright (c) 2014 École Polytechnique de Montréal
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 * Guilliano Molaire - Initial API and implementation
11 *******************************************************************************/
12
9bc60be7 13package org.eclipse.tracecompass.lttng2.ust.core.tests.analysis.memory;
53e5d2d3 14
53e5d2d3
GM
15import static org.junit.Assert.assertNotNull;
16import static org.junit.Assert.assertTrue;
17
9bc60be7 18import org.eclipse.tracecompass.lttng2.ust.core.analysis.memory.UstMemoryAnalysisModule;
ca0f94c4 19import org.eclipse.tracecompass.tmf.core.analysis.requirements.TmfAnalysisRequirement;
53e5d2d3 20import org.junit.Before;
7e452c97 21import org.junit.Ignore;
53e5d2d3
GM
22import org.junit.Test;
23
53e5d2d3
GM
24/**
25 * Tests for the {@link UstMemoryAnalysisModule}
26 *
27 * @author Guilliano Molaire
28 */
29public class UstMemoryAnalysisModuleTest {
30
31 /** The analysis module */
32 private UstMemoryAnalysisModule fUstAnalysisModule;
33
34 /**
35 * Set-up the test
36 */
37 @Before
38 public void setup() {
39 fUstAnalysisModule = new UstMemoryAnalysisModule();
40 }
41
42 /**
43 * Test for {@link UstMemoryAnalysisModule#getAnalysisRequirements()}
44 */
7e452c97 45 @Ignore("Need to assign a trace to the module to check the requirements now")
53e5d2d3
GM
46 @Test
47 public void testGetAnalysisRequirements() {
48 Iterable<TmfAnalysisRequirement> requirements = fUstAnalysisModule.getAnalysisRequirements();
7e452c97 49
53e5d2d3
GM
50 assertNotNull(requirements);
51 assertTrue(requirements.iterator().hasNext());
53e5d2d3
GM
52 }
53
54}
This page took 0.101109 seconds and 5 git commands to generate.