Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jharting committed Jul 4, 2013
1 parent f282dba commit 2bd5b6e
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
Expand Up @@ -39,9 +39,9 @@ public class EventTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -41,8 +41,8 @@ public class BundleScannerTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests", "weld-osgi-scanner").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests", "weld-osgi-innerscanner").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests", "weld-osgi-scanner").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests", "weld-osgi-innerscanner").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -43,7 +43,7 @@ public class InfrastructureTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests", "weld-osgi-importing").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests", "weld-osgi-importing").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -44,9 +44,9 @@ public class UsageTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -38,8 +38,8 @@ public class ExtensionTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests", "weld-osgi-cdi-spi").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests", "weld-osgi-cdi-spi").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -44,9 +44,9 @@ public class OSGiFacilitationTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -41,9 +41,9 @@ public class MetaFilterTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -41,9 +41,9 @@ public class ServiceConsumingTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -44,9 +44,9 @@ public class ServicePublishingTest {
public static Option[] configure() {
return options(
Environment.CDIOSGiEnvironment(
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("1.0-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("1.0-SNAPSHOT")
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle1").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle2").version("2.1-SNAPSHOT"),
mavenBundle("org.jboss.weld.osgi.tests","weld-osgi-bundle3").version("2.1-SNAPSHOT")
)
);
}
Expand Down
Expand Up @@ -32,11 +32,11 @@ public class Environment {

public static Option[] CDIOSGiEnvironment(Option... options) {
List<Option> result = new ArrayList<Option>();
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-mandatory").version("1.0-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-api").version("1.0-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-spi").version("1.0-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-extension").version("1.0-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-integration").version("1.0-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-mandatory").version("2.1-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-api").version("2.1-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-spi").version("2.1-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-extension").version("2.1-SNAPSHOT"));
result.add(mavenBundle("org.jboss.weld.osgi", "weld-osgi-core-integration").version("2.1-SNAPSHOT"));
result.add(junitBundles());
result.add(felix());
Collections.addAll(result, options);
Expand Down

0 comments on commit 2bd5b6e

Please sign in to comment.