aboutsummaryrefslogtreecommitdiff
path: root/buildScripts/eclipse-run-tests.template
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2011-07-18 21:05:55 +0200
committerRoel Spilker <r.spilker@gmail.com>2011-07-18 21:11:37 +0200
commit4dfa3b7004295da1637e6a7e328ccb84babb76d3 (patch)
treeeae66bee9a2506e217369799251a406cbcae27af /buildScripts/eclipse-run-tests.template
parent83e2fb5e00e1868f0b4f0fe38b1ea1383119f8ee (diff)
downloadlombok-4dfa3b7004295da1637e6a7e328ccb84babb76d3.tar.gz
lombok-4dfa3b7004295da1637e6a7e328ccb84babb76d3.tar.bz2
lombok-4dfa3b7004295da1637e6a7e328ccb84babb76d3.zip
There's now 1 test suite that runs all tests, and 'ant eclipse' will make a launch config that adds the appropriate -javaagent VM param to ensure the runWithEclipse tests work.
Diffstat (limited to 'buildScripts/eclipse-run-tests.template')
-rw-r--r--buildScripts/eclipse-run-tests.template19
1 files changed, 19 insertions, 0 deletions
diff --git a/buildScripts/eclipse-run-tests.template b/buildScripts/eclipse-run-tests.template
new file mode 100644
index 00000000..4296d372
--- /dev/null
+++ b/buildScripts/eclipse-run-tests.template
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/lombok/test/core/src/lombok/RunAllTests.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="lombok.RunAllTests"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="lombok"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:dist/lombok.jar @JAVAC_ON_BOOTCLASSPATH@"/>
+</launchConfiguration>