Class ExampleRemoteTest
- java.lang.Object
-
- org.apache.sling.junit.remote.exported.ExampleRemoteTest
-
public class ExampleRemoteTest extends java.lang.ObjectTest that can be run remotely on a Sling instance from an IDE, by setting theSlingRemoteExecutionRule.SLING_REMOTE_TEST_URLsystem property in the IDE setup, to the URL of the Sling JUnit servlet (like http://localhost:8080/system/sling/junit)
-
-
Field Summary
Fields Modifier and Type Field Description SlingRemoteExecutionRuleexecRuleExecute this test remotely and customize the request (could be used to set credentials for example)
-
Constructor Summary
Constructors Constructor Description ExampleRemoteTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAlwaysFails()voidtestAlwaysPasses()voidtestFailsSometimes()
-
-
-
Field Detail
-
execRule
public SlingRemoteExecutionRule execRule
Execute this test remotely and customize the request (could be used to set credentials for example)
-
-