public class SlingRemoteExecutionRule extends 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 String |
SLING_REMOTE_TEST_PASSWORD |
static String |
SLING_REMOTE_TEST_URL
Name of the system property that activates remote test execution
|
static 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,
Object target) |
void |
customizeRequest(org.apache.sling.testing.tools.http.Request r) |
public static final String SLING_REMOTE_TEST_URL
public static final String SLING_REMOTE_TEST_USERNAME
public static final String SLING_REMOTE_TEST_PASSWORD
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, 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 © 2007–2017 The Apache Software Foundation. All rights reserved.