org.apache.sling.junit.remote.exported
Class ExampleRemoteTest

java.lang.Object
  extended by org.apache.sling.junit.remote.exported.ExampleRemoteTest

public class ExampleRemoteTest
extends java.lang.Object

Test that can be run remotely on a Sling instance from an IDE, by setting the SlingRemoteExecutionRule.SLING_REMOTE_TEST_URL system property in the IDE setup, to the URL of the Sling JUnit servlet (like http://localhost:8080/system/sling/junit)


Field Summary
 SlingRemoteExecutionRule execRule
          Execute this test remotely and customize the request (could be used to set credentials for example)
 
Constructor Summary
ExampleRemoteTest()
           
 
Method Summary
 void testAlwaysFails()
           
 void testAlwaysPasses()
           
 void testFailsSometimes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

execRule

public SlingRemoteExecutionRule execRule
Execute this test remotely and customize the request (could be used to set credentials for example)

Constructor Detail

ExampleRemoteTest

public ExampleRemoteTest()
Method Detail

testAlwaysPasses

public void testAlwaysPasses()

testAlwaysFails

public void testAlwaysFails()

testFailsSometimes

public void testFailsSometimes()


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.