/*******************************************************************************
- * 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
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;
// 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 */
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());