Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/valgrind/cachegrind/tests/AbstractCachegrindTest.java')
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/valgrind/cachegrind/tests/AbstractCachegrindTest.java52
1 files changed, 0 insertions, 52 deletions
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/valgrind/cachegrind/tests/AbstractCachegrindTest.java b/valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/valgrind/cachegrind/tests/AbstractCachegrindTest.java
deleted file mode 100644
index daa30ec207..0000000000
--- a/valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/valgrind/cachegrind/tests/AbstractCachegrindTest.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Red Hat, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Elliott Baron <ebaron@redhat.com> - initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.valgrind.cachegrind.tests;
-
-import org.eclipse.linuxtools.valgrind.cachegrind.CachegrindPlugin;
-import org.eclipse.linuxtools.valgrind.cachegrind.model.CachegrindFile;
-import org.eclipse.linuxtools.valgrind.cachegrind.model.CachegrindFunction;
-import org.eclipse.linuxtools.valgrind.cachegrind.model.CachegrindOutput;
-import org.eclipse.linuxtools.valgrind.tests.AbstractValgrindTest;
-import org.osgi.framework.Bundle;
-
-public abstract class AbstractCachegrindTest extends AbstractValgrindTest {
-
- @Override
- protected Bundle getBundle() {
- return CachegrindTestsPlugin.getDefault().getBundle();
- }
-
- @Override
- protected String getToolID() {
- return CachegrindPlugin.TOOL_ID;
- }
-
- protected CachegrindFile getFileByName(CachegrindOutput output, String name) {
- CachegrindFile file = null;
- for (CachegrindFile f : output.getFiles()) {
- if (f.getName().equals(name)) {
- file = f;
- }
- }
- return file;
- }
-
- protected CachegrindFunction getFunctionByName(CachegrindFile file, String name) {
- CachegrindFunction function = null;
- for (CachegrindFunction f : file.getFunctions()) {
- if (f.getName().equals(name)) {
- function = f;
- }
- }
- return function;
- }
-
-}

Back to the top