@@ -0,0 +1,2222 @@
+package no.steria.osgi.jsr330activator.tests;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.ops4j.pax.exam.CoreOptions.junitBundles;%0Aimport static org.ops4j.pax.exam.CoreOptions.mavenBundle;%0Aimport static org.ops4j.pax.exam.CoreOptions.options;%0Aimport static org.ops4j.pax.exam.CoreOptions.systemProperty;%0A%0Aimport javax.inject.Inject;%0A%0Aimport no.steria.osgi.jsr330activator.Jsr330Activator;%0Aimport no.steria.osgi.jsr330activator.testbundle1.HelloService;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.ops4j.pax.exam.Configuration;%0Aimport org.ops4j.pax.exam.Option;%0Aimport org.ops4j.pax.exam.junit.PaxExam;%0Aimport org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;%0Aimport org.ops4j.pax.exam.spi.reactors.PerClass;%0A%0A/**%0A * Integration test that tests a bundle using a %7B@link Jsr330Activator%7D%0A * as its bundle activator.  The Jsr330Activator is found and loaded%0A * from a jsr330activator.implementation bundle in the OSGi runtime.%0A *%0A * @author Steinar Bang%0A *%0A */%0A@RunWith(PaxExam.class)%0A@ExamReactorStrategy(PerClass.class)%0Apublic class Jsr330ActivatorIntegrationTest extends Jsr330ActivatorIntegrationtestBase %7B%0A%0A    @Inject%0A    private HelloService helloService;%0A%0A    @Configuration%0A    public Option%5B%5D config() %7B%0A        return options(%0A                       systemProperty(%22logback.configurationFile%22).value(%22file:src/test/resources/logback.xml%22),%0A                       mavenBundle(%22org.slf4j%22, %22slf4j-api%22, %221.7.2%22),%0A                       mavenBundle(%22ch.qos.logback%22, %22logback-core%22, %221.0.4%22),%0A                       mavenBundle(%22ch.qos.logback%22, %22logback-classic%22, %221.0.4%22),%0A                       mavenBundle(%22no.steria.osgi.jsr330activator%22, %22jsr330activator.implementation%22, getMavenProjectVersion()),%0A                       mavenBundle(%22no.steria.osgi.jsr330activator%22, %22jsr330activator.testbundle1%22, getMavenProjectVersion()),%0A                       junitBundles());%0A    %7D%0A%0A    /**%0A     * Verifies that the activator in testbundle1 starts, finds a%0A     * service implementation, and registers it in the OSGi service%0A     * registry%0A     */%0A    @Test%0A    public void testbundle1ServiceFoundAndActivated() %7B%0A    %09assertEquals(%22Hello world!%22, helloService.getMessage());%0A    %7D%0A%0A%7D%0A

Copy file verbatim to preserve git history.