public class SlingRemoteExecutionRule
extends java.lang.Object
implements org.junit.rules.MethodRule, org.apache.sling.testing.tools.http.RequestCustomizer
SLING_REMOTE_TEST_URL
property is set.
Used to execute tests from an IDE and have then run
on a remote Sling instance.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SLING_REMOTE_TEST_PASSWORD |
static java.lang.String |
SLING_REMOTE_TEST_URL
Name of the system property that activates remote test execution
|
static java.lang.String |
SLING_REMOTE_TEST_USERNAME |
Constructor and Description |
---|
SlingRemoteExecutionRule() |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
java.lang.Object target) |
void |
customizeRequest(org.apache.sling.testing.tools.http.Request r) |
public static final java.lang.String SLING_REMOTE_TEST_URL
public static final java.lang.String SLING_REMOTE_TEST_USERNAME
public static final java.lang.String SLING_REMOTE_TEST_PASSWORD
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, java.lang.Object target)
apply
in interface org.junit.rules.MethodRule
public void customizeRequest(org.apache.sling.testing.tools.http.Request r)
customizeRequest
in interface org.apache.sling.testing.tools.http.RequestCustomizer
Copyright © 2010 - 2020 Adobe. All Rights Reserved