Author: cziegeler
Date: Wed Oct 1 07:08:35 2014
New Revision: 1628624
URL: http://svn.apache.org/r1628624
Log:
Update to Sling Parent POM 22 with baselining enabled
Modified:
sling/trunk/testing/junit/core/pom.xml
sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/TestsManager.java
Modified: sling/trunk/testing/junit/core/pom.xml
URL:
http://svn.apache.org/viewvc/sling/trunk/testing/junit/core/pom.xml?rev=1628624&r1=1628623&r2=1628624&view=diff
==============================================================================
--- sling/trunk/testing/junit/core/pom.xml (original)
+++ sling/trunk/testing/junit/core/pom.xml Wed Oct 1 07:08:35 2014
@@ -60,7 +60,7 @@
<instructions>
<Bundle-Activator>org.apache.sling.junit.Activator</Bundle-Activator>
<Export-Package>
- org.apache.sling.junit;version=1.2.1,
+ org.apache.sling.junit;version=1.1.0,
org.apache.sling.junit.rules;version=1.0.10,
org.apache.sling.junit.annotations;version=1.0.8,
</Export-Package>
Modified:
sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/TestsManager.java
URL:
http://svn.apache.org/viewvc/sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/TestsManager.java?rev=1628624&r1=1628623&r2=1628624&view=diff
==============================================================================
---
sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/TestsManager.java
(original)
+++
sling/trunk/testing/junit/core/src/main/java/org/apache/sling/junit/TestsManager.java
Wed Oct 1 07:08:35 2014
@@ -18,30 +18,33 @@ package org.apache.sling.junit;
import java.util.Collection;
+import aQute.bnd.annotation.ProviderType;
+
/** Service that gives access to JUnit test classes */
+@ProviderType
public interface TestsManager {
- /** Return the names of available tests
+ /** Return the names of available tests
* @param selector if null, returns all available tests.
*/
public Collection<String> getTestNames(TestSelector selector);
-
+
/** Clear our internal caches. Useful in automated testing, to make
* sure changes introduced by recent uploads or configuration or bundles
- * changes are taken into account immediately.
+ * changes are taken into account immediately.
*/
public void clearCaches();
-
+
/** Instantiate test class for specified test */
public Class<?> getTestClass(String testName) throws
ClassNotFoundException;
-
+
/** List tests using supplied Renderer - does NOT call setup or cleanup
* on renderer.
*/
public void listTests(Collection<String> testNames, Renderer renderer)
throws Exception;
-
+
/** Execute tests and report results using supplied Renderer - does NOT
call setup or cleanup
* on renderer.
* @param selector if not null, used to select tests and test methods.
- */
+ */
public void executeTests(Collection<String> testNames, Renderer renderer,
TestSelector selector) throws Exception;
}