Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-05-15 09:10:03 +0000
committerUwe Stieber2012-05-15 09:10:03 +0000
commit254b8c4543e7159a9d756ed2a3e4328744f0c87d (patch)
treebf5e7bfa6ccfba247134a2471309bd237710c30a /target_explorer/plugins/org.eclipse.tcf.te.tests
parent3c409865ef6d90c692ab47e096fe47b09af93e25 (diff)
downloadorg.eclipse.tcf-254b8c4543e7159a9d756ed2a3e4328744f0c87d.tar.gz
org.eclipse.tcf-254b8c4543e7159a9d756ed2a3e4328744f0c87d.tar.xz
org.eclipse.tcf-254b8c4543e7159a9d756ed2a3e4328744f0c87d.zip
TCF Debugger Tests: Bundle separated test TCF agents
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tests')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/CoreTestCase.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/CoreTestCase.java b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/CoreTestCase.java
index c6d42520d..677459f54 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/CoreTestCase.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/CoreTestCase.java
@@ -656,7 +656,7 @@ public class CoreTestCase extends TestCase {
IPath root = null;
if (path != null) {
- Bundle bundle = UIPlugin.getDefault().getBundle();
+ Bundle bundle = getTestBundle();
if (bundle != null) {
IPath relative = new Path ("data").append(path); //$NON-NLS-1$
if (hostSpecific) relative = relative.append(Platform.getOS());
@@ -676,4 +676,13 @@ public class CoreTestCase extends TestCase {
return root;
}
+
+ /**
+ * Returns the test bundle.
+ *
+ * @return The test bundle.
+ */
+ protected Bundle getTestBundle() {
+ return UIPlugin.getDefault().getBundle();
+ }
}

Back to the top