summaryrefslogtreecommitdiff
path: root/test/osgi/src/BasicReflection.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2014-11-04 17:13:32 +0100
committerLukas Rytz <lukas.rytz@typesafe.com>2014-11-04 17:13:32 +0100
commitae70f020cdd22d155882191ca60d40542615b606 (patch)
tree26cb4c06d4f55e30e9e020d6a6adb689921eec16 /test/osgi/src/BasicReflection.scala
parent8259d24b8e1f1fee495d486e835ae7ac58b12013 (diff)
parent3ddb3737568ea5e9fa5803c36c3a95feae265330 (diff)
downloadscala-ae70f020cdd22d155882191ca60d40542615b606.tar.gz
scala-ae70f020cdd22d155882191ca60d40542615b606.tar.bz2
scala-ae70f020cdd22d155882191ca60d40542615b606.zip
Merge pull request #4066 from soc/SI-8927
SI-8927 Update OSGi stuff to get rid of bndlib warning
Diffstat (limited to 'test/osgi/src/BasicReflection.scala')
-rw-r--r--test/osgi/src/BasicReflection.scala15
1 files changed, 6 insertions, 9 deletions
diff --git a/test/osgi/src/BasicReflection.scala b/test/osgi/src/BasicReflection.scala
index d601f04f89..53ab7e5345 100644
--- a/test/osgi/src/BasicReflection.scala
+++ b/test/osgi/src/BasicReflection.scala
@@ -10,13 +10,10 @@ import org.ops4j.pax.exam.CoreOptions._
import org.junit.Test
import org.junit.runner.RunWith
import org.ops4j.pax.exam
-import org.ops4j.pax.exam.junit.{
- Configuration,
- ExamReactorStrategy,
- JUnit4TestRunner
-}
-import org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactorFactory
-import org.ops4j.pax.swissbox.framework.ServiceLookup
+import org.ops4j.pax.exam.Configuration
+import org.ops4j.pax.exam.junit.PaxExam
+import org.ops4j.pax.exam.spi.reactors.{ ExamReactorStrategy, PerMethod }
+import org.ops4j.pax.swissbox.tracker.ServiceLookup
import org.osgi.framework.BundleContext
@@ -38,8 +35,8 @@ class C {
object M
-@RunWith(classOf[JUnit4TestRunner])
-@ExamReactorStrategy(Array(classOf[AllConfinedStagedReactorFactory]))
+@RunWith(classOf[PaxExam])
+@ExamReactorStrategy(Array(classOf[PerMethod]))
class BasicReflectionTest extends ScalaOsgiHelper {
@Configuration