Class ExampleRemoteTest
java.lang.Object
org.apache.sling.junit.remote.exported.ExampleRemoteTest
Test that can be run remotely on a Sling instance from an IDE, by
setting the
system property in the IDE setup, to the URL of
the Sling JUnit servlet (like http://localhost:8080/system/sling/junit)
invalid reference
SlingRemoteExecutionRule.SLING_REMOTE_TEST_URL
-
Field Summary
FieldsModifier and TypeFieldDescriptionExecute this test remotely and customize the request (could be used to set credentials for example) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
-
Field Details
-
execRule
Execute this test remotely and customize the request (could be used to set credentials for example)
-
-
Constructor Details
-
ExampleRemoteTest
public ExampleRemoteTest()
-
-
Method Details
-
testAlwaysPasses
public void testAlwaysPasses() -
testAlwaysFails
public void testAlwaysFails() -
testFailsSometimes
public void testFailsSometimes()
-