@Service public class HealthCheckTestsProvider extends Object implements org.apache.sling.junit.TestsProvider
| Modifier and Type | Field and Description |
|---|---|
static String[] |
DEFAULT_TAG_GROUPS |
static String |
PROP_TAG_GROUPS |
static String |
TEST_NAME_PREFIX |
static String |
TEST_NAME_SUFFIX |
| Constructor and Description |
|---|
HealthCheckTestsProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext ctx) |
Class<?> |
createTestClass(String testName) |
protected void |
deactivate() |
String |
getServicePid() |
List<String> |
getTestNames() |
long |
lastModified() |
public static final String TEST_NAME_PREFIX
public static final String TEST_NAME_SUFFIX
public static final String[] DEFAULT_TAG_GROUPS
@Property(cardinality=2147483647,
label="Health Check Tags",
description="Groups of health check tags to execute as JUnit tests. Use the standard Health Checks \'includeThisTag,-omitThatTag\' syntax")
public static final String PROP_TAG_GROUPS
@Activate protected void activate(org.osgi.service.component.ComponentContext ctx)
@Deactivate protected void deactivate()
public 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 © 2013–2014 The Apache Software Foundation. All rights reserved.