tmf: Split "CTF adaptor" into separate plugins/feature
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / trace / TmfTraceTest.java
index c7f059efba3fec308bf495214b8dbe0fa651ee07..fa46b548a8e8c60436586afe078384c743476340 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2013 Ericsson
+ * Copyright (c) 2009, 2014 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -38,7 +38,6 @@ import org.eclipse.linuxtools.tmf.core.request.ITmfEventRequest.ExecutionType;
 import org.eclipse.linuxtools.tmf.core.request.TmfEventRequest;
 import org.eclipse.linuxtools.tmf.core.signal.TmfSignalManager;
 import org.eclipse.linuxtools.tmf.core.signal.TmfTraceOpenedSignal;
-import org.eclipse.linuxtools.tmf.core.statistics.ITmfStatistics;
 import org.eclipse.linuxtools.tmf.core.tests.TmfCoreTestPlugin;
 import org.eclipse.linuxtools.tmf.core.tests.shared.TmfTestTrace;
 import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
@@ -439,13 +438,6 @@ public class TmfTraceTest {
     // State system, statistics and modules methods
     // ------------------------------------------------------------------------
 
-    @Test
-    public void testGetStatistics() {
-        /* Should be null in unit tests */
-        ITmfStatistics stats = fTrace.getStatistics();
-        assertNull(stats);
-    }
-
     @Test
     public void testGetModulesByClass() {
         /* There should not be any modules at this point */
@@ -460,7 +452,10 @@ public class TmfTraceTest {
         assertTrue(modules.iterator().hasNext());
         assertTrue(testModules.iterator().hasNext());
 
-        /* Make sure all modules of type TestAnalysis are returned in the second call */
+        /*
+         * Make sure all modules of type TestAnalysis are returned in the second
+         * call
+         */
         for (IAnalysisModule module : modules) {
             if (module instanceof TestAnalysis) {
                 IAnalysisModule otherModule = fTrace.getAnalysisModule(module.getId());
This page took 0.039457 seconds and 5 git commands to generate.