Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUwe Stieber2012-05-15 06:05:35 -0400
committerUwe Stieber2012-05-15 06:05:35 -0400
commit5fc857c7aff6bf2fe6426f64709566461bdcfc98 (patch)
treebc81fe1df23b357def40037e88023a6f6af60364 /tests
parent6dc394ceb14797f1fe7bd566f42031021b203033 (diff)
downloadorg.eclipse.tcf-5fc857c7aff6bf2fe6426f64709566461bdcfc98.tar.gz
org.eclipse.tcf-5fc857c7aff6bf2fe6426f64709566461bdcfc98.tar.xz
org.eclipse.tcf-5fc857c7aff6bf2fe6426f64709566461bdcfc98.zip
TCF Debugger Tests: The test agent needs to be local
Diffstat (limited to 'tests')
-rw-r--r--tests/plugins/org.eclipse.tcf.debug.test/build.properties3
-rw-r--r--tests/plugins/org.eclipse.tcf.debug.test/data/agent/linux/x86_64/agentbin0 -> 1504377 bytes
-rw-r--r--tests/plugins/org.eclipse.tcf.debug.test/data/agent/win32/x86/agent.exebin0 -> 1083904 bytes
-rw-r--r--tests/plugins/org.eclipse.tcf.debug.test/data/agent/win32/x86_64/agent.exebin0 -> 1439232 bytes
-rw-r--r--tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java9
5 files changed, 11 insertions, 1 deletions
diff --git a/tests/plugins/org.eclipse.tcf.debug.test/build.properties b/tests/plugins/org.eclipse.tcf.debug.test/build.properties
index c1cf578c2..ee3cf13cd 100644
--- a/tests/plugins/org.eclipse.tcf.debug.test/build.properties
+++ b/tests/plugins/org.eclipse.tcf.debug.test/build.properties
@@ -11,4 +11,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .
+ .,\
+ data/
diff --git a/tests/plugins/org.eclipse.tcf.debug.test/data/agent/linux/x86_64/agent b/tests/plugins/org.eclipse.tcf.debug.test/data/agent/linux/x86_64/agent
new file mode 100644
index 000000000..e51c6c119
--- /dev/null
+++ b/tests/plugins/org.eclipse.tcf.debug.test/data/agent/linux/x86_64/agent
Binary files differ
diff --git a/tests/plugins/org.eclipse.tcf.debug.test/data/agent/win32/x86/agent.exe b/tests/plugins/org.eclipse.tcf.debug.test/data/agent/win32/x86/agent.exe
new file mode 100644
index 000000000..694fafb6b
--- /dev/null
+++ b/tests/plugins/org.eclipse.tcf.debug.test/data/agent/win32/x86/agent.exe
Binary files differ
diff --git a/tests/plugins/org.eclipse.tcf.debug.test/data/agent/win32/x86_64/agent.exe b/tests/plugins/org.eclipse.tcf.debug.test/data/agent/win32/x86_64/agent.exe
new file mode 100644
index 000000000..801cedd1e
--- /dev/null
+++ b/tests/plugins/org.eclipse.tcf.debug.test/data/agent/win32/x86_64/agent.exe
Binary files differ
diff --git a/tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java b/tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java
index 55cef2cde..7ece8b994 100644
--- a/tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java
+++ b/tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java
@@ -86,6 +86,7 @@ import org.eclipse.tcf.services.ISymbols;
import org.eclipse.tcf.te.tests.interfaces.IConfigurationProperties;
import org.eclipse.tcf.te.tests.tcf.TcfTestCase;
import org.junit.Assert;
+import org.osgi.framework.Bundle;
/**
* Base test for validating TCF Debugger UI.
@@ -137,6 +138,14 @@ public abstract class AbstractTcfUITest extends TcfTestCase implements IViewerUp
protected RunControlContext fThreadCtx;
/* (non-Javadoc)
+ * @see org.eclipse.tcf.te.tests.CoreTestCase#getTestBundle()
+ */
+ @Override
+ protected Bundle getTestBundle() {
+ return Activator.getDefault().getBundle();
+ }
+
+ /* (non-Javadoc)
* @see org.eclipse.tcf.te.tests.CoreTestCase#initialize()
*/
@Override

Back to the top