Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
SLING_TEST_REGEXP |
"Sling-Test-Regexp" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EXTENSION |
"html" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EXEC_PATH |
"/exec" |
public static final String |
EXPLAIN |
"This servlet exposes JaCoCo (http://www.eclemma.org/jacoco) code coverage data to HTTP clients by calling JaCoCo\'s IAgent.getExecutionData(...).\n\nPOST requests reset the agent after returning the execution data, whereas GET requests just return the data.\nJaCoCo\'s session ID can be set via a :sessionId request parameter.\nThe servlet returns 404 if the IAgent MBean is not available.\n\nPlease keep the JaCoCo security considerations in mind before enabling its agent: JaCoCo\'s tcpserver and tcpclient modes and its JMX interface open ports that do not require any authentication. See the JaCoCo documentation for details.\n\nTo activate JaCoCo on a Sling instance, start its JVM with the following option:\n\n-javaagent:/path/to/jacocoagent.jar=dumponexit=false,jmx=true\n\nThe jacocoagent.jar file can be extracted from the appropriate maven artifact into the target directory using \'mvn process-sources -P extractJacocoAgent\' if you have this module\'s source code.\n\nWith this servlet installed, you can generate a JaCoCo coverage report as follows (for example), from a folder that contains a pom.xml:\n\n curl -o target/jacoco.exec http://localhost:8080/system/sling/jacoco/exec\n mvn org.jacoco:jacoco-maven-plugin:report\n open target/site/jacoco/index.html\n\n" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EXTENSION |
"json" |
public static final String |
INFO_SUBTYPE_KEY |
"INFO_SUBTYPE" |
public static final String |
INFO_TYPE_KEY |
"INFO_TYPE" |
public static final String |
TEST_METADATA |
"test_metadata" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EXTENSION |
"junit_result" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EXTENSION |
"txt" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CSS |
"junit.css" |
public static final String |
FORCE_RELOAD_PARAM |
"forceReload" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EXTENSION |
".junit" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
TEST_CLASS |
"X-Sling-TestClass" |
public static final String |
TEST_NAME |
"X-Sling-TestName" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
EXTENSION |
"xml" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
CLIENT_CLASS |
"org.apache.sling.testing.teleporter.client.ClientSideTeleporter" |
public static final String |
CUSTOMIZER_PATTERN |
"org.apache.sling.junit.teleporter.customizers.<NAME>Customizer" |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.