Repository: incubator-tamaya-extensions Updated Branches: refs/heads/master a1cd433a9 -> c26a1e06f
TAMAYA-300 Fixed tests. Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/commit/c26a1e06 Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/tree/c26a1e06 Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/diff/c26a1e06 Branch: refs/heads/master Commit: c26a1e06f75fbee2097c8917100618f31536f5c3 Parents: a1cd433 Author: Anatole Tresch <[email protected]> Authored: Tue Oct 17 11:24:26 2017 +0200 Committer: Anatole Tresch <[email protected]> Committed: Tue Oct 17 11:24:26 2017 +0200 ---------------------------------------------------------------------- .../java/org/apache/tamaya/osgi/commands/ConfigCommandsTest.java | 4 ++-- .../java/org/apache/tamaya/osgi/injection/ActivatorTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/c26a1e06/modules/osgi/common/src/test/java/org/apache/tamaya/osgi/commands/ConfigCommandsTest.java ---------------------------------------------------------------------- diff --git a/modules/osgi/common/src/test/java/org/apache/tamaya/osgi/commands/ConfigCommandsTest.java b/modules/osgi/common/src/test/java/org/apache/tamaya/osgi/commands/ConfigCommandsTest.java index a2c273b..67bb22e 100644 --- a/modules/osgi/common/src/test/java/org/apache/tamaya/osgi/commands/ConfigCommandsTest.java +++ b/modules/osgi/common/src/test/java/org/apache/tamaya/osgi/commands/ConfigCommandsTest.java @@ -79,8 +79,8 @@ public class ConfigCommandsTest extends AbstractOSGITest{ assertTrue(result.contains("OSGI Configuration for PID")); assertTrue(result.contains("applyTamayaConfiguration")); assertTrue(result.contains("OVERRIDE")); - assertTrue(result.contains("Applied")); - assertTrue(result.contains("false")); + assertTrue(result.contains("Dryrun")); + assertTrue(result.contains("true")); } @Test http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/c26a1e06/modules/osgi/injection/src/test/java/org/apache/tamaya/osgi/injection/ActivatorTest.java ---------------------------------------------------------------------- diff --git a/modules/osgi/injection/src/test/java/org/apache/tamaya/osgi/injection/ActivatorTest.java b/modules/osgi/injection/src/test/java/org/apache/tamaya/osgi/injection/ActivatorTest.java index 9cd587f..2a3e5d4 100644 --- a/modules/osgi/injection/src/test/java/org/apache/tamaya/osgi/injection/ActivatorTest.java +++ b/modules/osgi/injection/src/test/java/org/apache/tamaya/osgi/injection/ActivatorTest.java @@ -36,7 +36,7 @@ public class ActivatorTest extends AbstractOSGITest{ public void startStop() throws Exception { Activator activator = new Activator(); activator.start(this.bundleContext); - verify(bundleContext).registerService(eq(TamayaOSGIInjector.class), anyObject(), anyObject()); + verify(bundleContext).registerService(eq(ConfigInjectionService.class), anyObject(), anyObject()); activator.stop(this.bundleContext); }
