Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Camelon2003-06-18 21:29:47 +0000
committerJohn Camelon2003-06-18 21:29:47 +0000
commit2bbab21405fa8710730ec84846da883a29778d2c (patch)
tree223823c7e1e498b89916b65bb2e97b0d65813ea5 /core/org.eclipse.cdt.core.tests/plugin.xml
parent61f80b02fe369a0e838f4c5f17bf983e2f7656aa (diff)
downloadorg.eclipse.cdt-2bbab21405fa8710730ec84846da883a29778d2c.tar.gz
org.eclipse.cdt-2bbab21405fa8710730ec84846da883a29778d2c.tar.xz
org.eclipse.cdt-2bbab21405fa8710730ec84846da883a29778d2c.zip
Patch for Brent Nicolle.
Unit tests of code in the Core plugin should now be placed in the core.tests plugin. (I did not delete test from the ui.tests plugin, but that's an idea whose time is coming soon.) Resources and property files for unit tests are now in a separate directory from the root. The testlauncher may experience some turbulence, but out of the box tests work as before.
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/plugin.xml')
-rw-r--r--core/org.eclipse.cdt.core.tests/plugin.xml128
1 files changed, 128 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.tests/plugin.xml b/core/org.eclipse.cdt.core.tests/plugin.xml
new file mode 100644
index 00000000000..52623d5209b
--- /dev/null
+++ b/core/org.eclipse.cdt.core.tests/plugin.xml
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plugin
+ id="org.eclipse.cdt.core.tests"
+ name="org.eclipse.cdt.core.tests"
+ version="1.2.0.5"
+ class="org.eclipse.cdt.testplugin.CTestPlugin">
+
+ <runtime>
+ <library name="cdtcoretests.jar">
+ <export name="*"/>
+ </library>
+ </runtime>
+ <requires>
+ <import plugin="org.apache.xerces"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.core.runtime"/>
+ <import plugin="org.eclipse.cdt.core"/>
+ <import plugin="org.eclipse.cdt.ui"/>
+ <import plugin="org.eclipse.swt"/>
+ <import plugin="org.eclipse.ui"/>
+ <import plugin="org.junit"/>
+ </requires>
+
+
+ <extension
+ id="buildTest"
+ name="Tools for Build Test"
+ point="org.eclipse.cdt.core.ManagedBuildInfo">
+ <target
+ isTest="true"
+ name="Test Root"
+ defaultExtension="toor"
+ isAbstract="false"
+ id="test.root">
+ <tool
+ sources="foo,bar"
+ name="Root Tool"
+ outputs="toor"
+ command="doIt"
+ id="root.tool">
+ <optionCategory
+ owner="root.tool"
+ name="Category"
+ id="category">
+ </optionCategory>
+ <option
+ name="List Option in Top"
+ command="-L"
+ valueType="stringList"
+ id="list.option">
+ <optionValue
+ value="a">
+ </optionValue>
+ <optionValue
+ value="b">
+ </optionValue>
+ </option>
+ <option
+ defaultValue="false"
+ name="Boolean Option in Top"
+ command="-b"
+ valueType="boolean"
+ id="boolean.option">
+ </option>
+ <option
+ defaultValue="x"
+ name="String Option in Category"
+ category="category"
+ valueType="string"
+ id="string.option">
+ </option>
+ <option
+ name="Enumerated Option in Category"
+ category="category"
+ valueType="enumerated"
+ id="enumerated.option">
+ <optionEnum
+ name="Default Enum"
+ isDefault="true"
+ command="-e1"
+ id="default.enum.option">
+ </optionEnum>
+ <optionEnum
+ name="Another Enum"
+ command="-e2"
+ id="another.enum.option">
+ </optionEnum>
+ </option>
+ </tool>
+ <configuration
+ name="Root Config"
+ id="root.config">
+ </configuration>
+ <configuration
+ name="Root Override Config"
+ id="root.override.config">
+ <toolRef
+ id="root.tool">
+ <optionRef
+ defaultValue="y"
+ id="string.option">
+ </optionRef>
+ <optionRef
+ defaultValue="true"
+ id="boolean.option">
+ </optionRef>
+ </toolRef>
+ </configuration>
+ </target>
+ <target
+ isTest="true"
+ name="Test Sub"
+ parent="test.root"
+ defaultExtension="bus"
+ isAbstract="false"
+ id="test.sub">
+ <configuration
+ name="Sub Config"
+ id="sub.config">
+ </configuration>
+ <tool
+ name="Sub Tool"
+ id="tool.sub">
+ </tool>
+ </target>
+ </extension>
+
+</plugin>

Back to the top