You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/04/16 04:35:19 UTC

svn commit: r1587782 - /logging/log4j/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/osgi/AbstractLoadBundleTest.java

Author: mattsicker
Date: Wed Apr 16 02:35:18 2014
New Revision: 1587782

URL: http://svn.apache.org/r1587782
Log:
Remove outdated assertion about bundle name assumptions.

Modified:
    logging/log4j/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/osgi/AbstractLoadBundleTest.java

Modified: logging/log4j/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/osgi/AbstractLoadBundleTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/osgi/AbstractLoadBundleTest.java?rev=1587782&r1=1587781&r2=1587782&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/osgi/AbstractLoadBundleTest.java (original)
+++ logging/log4j/log4j2/trunk/log4j-api/src/test/java/org/apache/logging/log4j/osgi/AbstractLoadBundleTest.java Wed Apr 16 02:35:18 2014
@@ -99,8 +99,6 @@ public abstract class AbstractLoadBundle
         final BundleContext bundleContext = OsgiFramework.getBundleContext();
         final Bundle bundle = bundleContext.installBundle("file:" + getBundlePath());
         Assert.assertNotNull("Error loading bundle: null returned", bundle);
-        Assert.assertEquals("Error loading bundle: symbolic name mismatch", getExpectedBundleSymbolicName(),
-                bundle.getSymbolicName());
         Assert.assertEquals("Bundle is not in INSTALLED state", Bundle.INSTALLED, bundle.getState());
 
         // sanity check: start and stop bundle