You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2016/02/01 13:13:43 UTC

svn commit: r1727926 - /sling/trunk/bundles/jcr/base/src/test/java/org/apache/sling/jcr/base/RepositoryInitializersTest.java

Author: bdelacretaz
Date: Mon Feb  1 12:13:42 2016
New Revision: 1727926

URL: http://svn.apache.org/viewvc?rev=1727926&view=rev
Log:
SLING-5462, mention fix version

Modified:
    sling/trunk/bundles/jcr/base/src/test/java/org/apache/sling/jcr/base/RepositoryInitializersTest.java

Modified: sling/trunk/bundles/jcr/base/src/test/java/org/apache/sling/jcr/base/RepositoryInitializersTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/base/src/test/java/org/apache/sling/jcr/base/RepositoryInitializersTest.java?rev=1727926&r1=1727925&r2=1727926&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/base/src/test/java/org/apache/sling/jcr/base/RepositoryInitializersTest.java (original)
+++ sling/trunk/bundles/jcr/base/src/test/java/org/apache/sling/jcr/base/RepositoryInitializersTest.java Mon Feb  1 12:13:42 2016
@@ -18,11 +18,9 @@
  */
 package org.apache.sling.jcr.base;
 
-import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
-import java.util.Arrays;
 import java.util.Hashtable;
 
 import javax.jcr.Repository;
@@ -40,7 +38,6 @@ import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
 import org.osgi.framework.Constants;
-import org.osgi.framework.InvalidSyntaxException;
 import org.osgi.framework.ServiceReference;
 
 /** Test the SlingRepositoryInitializer mechanism */
@@ -117,7 +114,8 @@ public class RepositoryInitializersTest
         assertStart(true);
         
         // TODO this should really be 1,2,3 but the Sling OSGi mocks sort 
-		// in the wrong order w.r.t service ranking, see SLING-5462
+        // in the wrong order w.r.t service ranking, see SLING-5462,
+        // will be fixed in osgi-mock 2.0.2
         assertTestInitializerProperty("3,2,1,");
         assertAdditionalRepositoryServices(1);
     }
@@ -159,4 +157,4 @@ public class RepositoryInitializersTest
         // The repository manager does not register a service in this case 
         assertAdditionalRepositoryServices(0);
     }
-}
\ No newline at end of file
+}