Fix some minor bugs in tests: Some instances were not disposed when test ends.
Modify the artifact version to be consistent with the other projects.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@673695 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/tests/tests.composite.service.instance/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java b/ipojo/tests/tests.composite.service.instance/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java
index 179c296..4654a95 100644
--- a/ipojo/tests/tests.composite.service.instance/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java
+++ b/ipojo/tests/tests.composite.service.instance/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java
@@ -183,7 +183,7 @@
         fooFactory2.start();

 	}

 	

-	public void atestArchitecture() { //TODO : to reactive

+	public void atestArchitecture() { // TODO fix and reactivate the method.

 		Properties props = new Properties();

 		props.put("name", "under");

 		ComponentInstance under = null;

diff --git a/ipojo/tests/tests.composite.service.instance/src/main/java/org/apache/felix/ipojo/test/composite/instantiator/OptionalMultipleInstantiation.java b/ipojo/tests/tests.composite.service.instance/src/main/java/org/apache/felix/ipojo/test/composite/instantiator/OptionalMultipleInstantiation.java
index a3d9351..777784c 100644
--- a/ipojo/tests/tests.composite.service.instance/src/main/java/org/apache/felix/ipojo/test/composite/instantiator/OptionalMultipleInstantiation.java
+++ b/ipojo/tests/tests.composite.service.instance/src/main/java/org/apache/felix/ipojo/test/composite/instantiator/OptionalMultipleInstantiation.java
@@ -189,15 +189,5 @@
 		fact2.start();

 		fact3.start();

 	}

-	

-	

-	

-	

-	

-	

-	

-	

-	

-	

 

 }

diff --git a/ipojo/tests/tests.temporal.dependency/pom.xml b/ipojo/tests/tests.temporal.dependency/pom.xml
index b60827f..db22198 100644
--- a/ipojo/tests/tests.temporal.dependency/pom.xml
+++ b/ipojo/tests/tests.temporal.dependency/pom.xml
@@ -22,17 +22,17 @@
 	<name>iPOJO Temporal Dependency Test Suite</name>

 	<artifactId>tests.temporal.dependency</artifactId>

 	<groupId>ipojo.tests</groupId>

-	<version>0.8.0-SNAPSHOT</version>

+	<version>0.9.0-SNAPSHOT</version>

 	<dependencies>

 		<dependency>

 			<groupId>org.apache.felix</groupId>

 			<artifactId>org.apache.felix.ipojo</artifactId>

-			<version>0.8.0-SNAPSHOT</version>

+			<version>0.9.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

 			<groupId>org.apache.felix</groupId>

 			<artifactId>org.apache.felix.ipojo.metadata</artifactId>

-			<version>0.8.0-SNAPSHOT</version>

+			<version>0.9.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

 			<groupId>org.apache.felix</groupId>

@@ -47,7 +47,7 @@
 		<dependency>

 			<groupId>ipojo.examples</groupId>

 			<artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>

-			<version>0.8.0-SNAPSHOT</version>

+			<version>0.9.0-SNAPSHOT</version>

 		</dependency>

 

 

@@ -71,7 +71,7 @@
 							org.apache.felix.ipojo.test*

 						</Private-Package>

 						<Test-Suite>

-							org.apache.felix.ipojo.test.scenarios.temporal.TemporalTestSuite

+				org.apache.felix.ipojo.test.scenarios.temporal.TemporalTestSuite

 						</Test-Suite>

 					</instructions>

 				</configuration>

@@ -79,7 +79,7 @@
 			<plugin>

 				<groupId>org.apache.felix</groupId>

 				<artifactId>maven-ipojo-plugin</artifactId>

-				<version>0.8.0-SNAPSHOT</version>

+				<version>0.9.0-SNAPSHOT</version>

 				<executions>

 					<execution>

 						<goals>

diff --git a/ipojo/tests/tests.temporal.dependency/src/main/java/org/apache/felix/ipojo/test/scenarios/temporal/DelayTest.java b/ipojo/tests/tests.temporal.dependency/src/main/java/org/apache/felix/ipojo/test/scenarios/temporal/DelayTest.java
index 92f580b..ea163bd 100644
--- a/ipojo/tests/tests.temporal.dependency/src/main/java/org/apache/felix/ipojo/test/scenarios/temporal/DelayTest.java
+++ b/ipojo/tests/tests.temporal.dependency/src/main/java/org/apache/felix/ipojo/test/scenarios/temporal/DelayTest.java
@@ -220,6 +220,8 @@
        

        provider1.stop();

        provider2.stop();

+       provider1.dispose();

+       provider2.dispose();

        under.stop();

        under.dispose();

    }