commit | 49438b2acd6b6c11de67b680050bba20e413268c | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Sun Apr 25 09:36:42 2010 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Sun Apr 25 09:36:42 2010 +0000 |
tree | 60b5848485cc90c8cbead6f0659bacaa9f18b855 | |
parent | bf3bddf84aa67a459c3ea43932921248906811d6 [diff] |
added an assert for detecting wrong CM update notification git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@937770 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java index 92acd27..0cef411 100644 --- a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java +++ b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java
@@ -82,7 +82,7 @@ .setRequired(true) .setAutoConfig(true)); - // Create extra adapter service dependency which our adapter depends on. + // Create extra adapter service dependency upon which our adapter depends on. Service s3 = m.createService() .setImplementation(new AdapterExtraDependency()) .setInterface(AdapterExtraDependency.class.getName(), null); @@ -185,6 +185,8 @@ m_ensure.step(9); Assert.assertEquals(true, "value2".equals(settings.get("key"))); m_ensure.step(10); + } else { + Assert.fail("wrong call to updated method: count=" + updateCount); } } @@ -237,4 +239,4 @@ m_ensure.step(15); } } -} \ No newline at end of file +}