Bug 303699 -  [releng] Add 2 new bundles to e4 resources tests feature
Add the 2 bundles to the test feature
diff --git a/examples/org.eclipse.ui.resources.semantic.examples/META-INF/MANIFEST.MF b/examples/org.eclipse.ui.resources.semantic.examples/META-INF/MANIFEST.MF
index 8ac78d4..1e98c3e 100644
--- a/examples/org.eclipse.ui.resources.semantic.examples/META-INF/MANIFEST.MF
+++ b/examples/org.eclipse.ui.resources.semantic.examples/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
 Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
-Bundle-Name: Examples how to use Semantic File System
+Bundle-Name: Examples how to use Semantic File System (Incubation)
 Bundle-SymbolicName: org.eclipse.ui.resources.semantic.examples;singleton:=true
 Bundle-Version: 0.1.0.qualifier
 Bundle-Activator: org.eclipse.core.resources.semantic.examples.SemanticResourcesPluginExamples
diff --git a/features/org.eclipse.e4.resources.tests.feature/feature.xml b/features/org.eclipse.e4.resources.tests.feature/feature.xml
index 0f6e1a2..af381d8 100644
--- a/features/org.eclipse.e4.resources.tests.feature/feature.xml
+++ b/features/org.eclipse.e4.resources.tests.feature/feature.xml
@@ -34,4 +34,17 @@
          version="0.0.0"
          unpack="false"/>
 
+   <plugin
+         id="org.eclipse.ui.resources.semantic.examples"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
+         id="org.eclipse.ui.resources.semantic.examples.test"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"/>
+
 </feature>
diff --git a/tests/org.eclipse.ui.resources.semantic.examples.test/META-INF/MANIFEST.MF b/tests/org.eclipse.ui.resources.semantic.examples.test/META-INF/MANIFEST.MF
index 2948aaf..b775dbb 100644
--- a/tests/org.eclipse.ui.resources.semantic.examples.test/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.ui.resources.semantic.examples.test/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
 Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
-Bundle-Name: Unit Tests for the Semantic File System Examples
+Bundle-Name: Unit Tests for the Semantic File System Examples (Incubation)
 Bundle-SymbolicName: org.eclipse.ui.resources.semantic.examples.test;singleton:=true
 Bundle-Version: 0.1.0.qualifier
 Bundle-ClassPath: .
diff --git a/tests/org.eclipse.ui.resources.semantic.examples.test/build.properties b/tests/org.eclipse.ui.resources.semantic.examples.test/build.properties
index 59caacf..0503b32 100644
--- a/tests/org.eclipse.ui.resources.semantic.examples.test/build.properties
+++ b/tests/org.eclipse.ui.resources.semantic.examples.test/build.properties
@@ -12,5 +12,6 @@
 bin.includes = plugin.xml,\
                META-INF/,\
                .,\
-               plugin.properties
+               plugin.properties,\
+               test.xml
 source.. = src/
diff --git a/tests/org.eclipse.ui.resources.semantic.examples.test/test.xml b/tests/org.eclipse.ui.resources.semantic.examples.test/test.xml
new file mode 100755
index 0000000..1f4e279
--- /dev/null
+++ b/tests/org.eclipse.ui.resources.semantic.examples.test/test.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+
+<project name="testsuite" default="run" basedir=".">
+	<!-- The property ${eclipse-home} should be passed into this script -->
+	<!-- Set a meaningful default value for when it is not. -->
+	<property name="eclipse-home" value="${basedir}/../.." />
+
+	<!-- sets the properties eclipse-home, and library-file -->
+	<property name="plugin-name" value="org.eclipse.ui.resources.semantic.examples.test" />
+	<property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test/library.xml" />
+
+	<!-- This target holds all initialization code that needs to be done for -->
+	<!-- all tests that are to be run. Initialization for individual tests -->
+	<!-- should be done within the body of the suite target. -->
+	<target name="init">
+		<tstamp />
+		<delete>
+			<fileset dir="${eclipse-home}" includes="org*.xml" />
+		</delete>
+	</target>
+
+	<!-- This target defines the tests that need to be run. -->
+	<target name="suite">
+		<property name="sniff-folder" value="${eclipse-home}/databinding_sniff_folder" />
+		<delete dir="${sniff-folder}" quiet="true" />
+		<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
+			<property name="data-dir" value="${sniff-folder}" />
+			<property name="plugin-name" value="${plugin-name}" />
+			<property name="extraVMargs" value="-Dorg.eclipse.swt.browser.XULRunnerPath=/shared/common/mozilla-xulrunner181-1.8.1.4-30.ppc" />
+			<property name="classname" value="org.eclipse.core.resources.semantic.test.SfsExamplesTestSuite" />
+		</ant>
+	</target>
+
+	<!-- This target holds code to cleanup the testing environment after -->
+	<!-- after all of the tests have been run. You can use this target to -->
+	<!-- delete temporary files that have been created. -->
+	<target name="cleanup">
+	</target>
+
+	<!-- This target runs the test suite. Any actions that need to happen -->
+	<!-- after all the tests have been run should go here. -->
+	<target name="run" depends="init,suite,cleanup">
+		<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
+			<property name="includes" value="org*.xml" />
+			<property name="output-file" value="${plugin-name}.xml" />
+		</ant>
+	</target>
+</project>