Re-structure the test suites, use withiPOJO and OSGi test helpers.
Also update some test to the latest tinybundles.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@939968 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/tests/handler/eventadmin/pom.xml b/ipojo/tests/handler/eventadmin/pom.xml
index 0fc48a6..5819b1e 100644
--- a/ipojo/tests/handler/eventadmin/pom.xml
+++ b/ipojo/tests/handler/eventadmin/pom.xml
@@ -1,7 +1,29 @@
 <?xml version="1.0" encoding="UTF-8"?>

-<project xmlns="http://maven.apache.org/POM/4.0.0"

-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

+<!--

+	Licensed to the Apache Software Foundation (ASF) under one

+	or more contributor license agreements.  See the NOTICE file

+	distributed with this work for additional information

+	regarding copyright ownership.  The ASF licenses this file

+	to you under the Apache License, Version 2.0 (the

+	"License"); you may not use this file except in compliance

+	with the License.  You may obtain a copy of the License at

+

+	http://www.apache.org/licenses/LICENSE-2.0

+

+	Unless required by applicable law or agreed to in writing,

+	software distributed under the License is distributed on an

+	"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY

+	KIND, either express or implied.  See the License for the

+	specific language governing permissions and limitations

+	under the License.

+-->

+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

+	<parent>

+		<groupId>ipojo.tests</groupId>

+		<artifactId>ipojo.tests</artifactId>

+		<version>1.5.0-SNAPSHOT</version>

+	</parent>

 	<groupId>ipojo.tests</groupId>

 	<version>1.5.0-SNAPSHOT</version>

 	<modelVersion>4.0.0</modelVersion>

@@ -15,9 +37,8 @@
 			<version>1.7.0-SNAPSHOT</version>

 		</dependency>

 		<dependency>

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

+			<groupId>org.osgi</groupId>

 			<artifactId>org.osgi.core</artifactId>

-			<version>1.0.1</version>

 		</dependency>

 		<dependency>

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

@@ -34,13 +55,17 @@
 			<artifactId>org.apache.felix.ipojo.junit4osgi</artifactId>

 			<version>1.1.0-SNAPSHOT</version>

 		</dependency>

+		<dependency>

+			<groupId>org.osgi</groupId>

+			<artifactId>org.osgi.compendium</artifactId>

+			<version>4.0.0</version>

+		</dependency>

 	</dependencies>

 	<build>

 		<plugins>

 			<plugin>

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

 				<artifactId>maven-bundle-plugin</artifactId>

-				<version>1.4.3</version>

 				<extensions>true</extensions>

 				<configuration>

 					<instructions>

@@ -55,7 +80,6 @@
 			<plugin>

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

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

-				<version>1.6.0</version>

 				<executions>

 					<execution>

 						<goals>