@Service public class ScriptableTestsProvider extends Object implements org.apache.sling.junit.TestsProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
SLING_TEST_NODETYPE |
static String |
TEST_CLASS_NAME |
| Constructor and Description |
|---|
ScriptableTestsProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext ctx) |
Class<?> |
createTestClass(String testName) |
protected void |
deactivate(org.osgi.service.component.ComponentContext ctx) |
String |
getServicePid() |
List<String> |
getTestNames() |
long |
lastModified() |
public static final String SLING_TEST_NODETYPE
public static final String TEST_CLASS_NAME
protected void activate(org.osgi.service.component.ComponentContext ctx)
throws Exception
Exceptionprotected void deactivate(org.osgi.service.component.ComponentContext ctx)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Class<?> createTestClass(String testName) throws ClassNotFoundException
createTestClass in interface org.apache.sling.junit.TestsProviderClassNotFoundExceptionpublic String getServicePid()
getServicePid in interface org.apache.sling.junit.TestsProviderpublic List<String> getTestNames()
getTestNames in interface org.apache.sling.junit.TestsProviderpublic long lastModified()
lastModified in interface org.apache.sling.junit.TestsProviderCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.