Skip navigation links
A C D E G I L O P R S T 

A

appliesTo(TestSelector) - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
apply(Statement, FrameworkMethod, Object) - Method in class org.apache.sling.junit.remote.ide.SlingRemoteExecutionRule
 

C

checkNumberOfTests(int) - Method in interface org.apache.sling.junit.remote.testrunner.SlingTestsCountChecker
 
classBlock(RunNotifier) - Method in class org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner
Similar to ParentRunner.classBlock(org.junit.runner.notification.RunNotifier) but will call the methods annotated with @After in addition.
cleanup() - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
createRenderer() - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
customizeRequest(Request) - Method in class org.apache.sling.junit.remote.ide.SlingRemoteExecutionRule
 

D

describeChild(SlingRemoteTest) - Method in class org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner
 

E

ExampleRemoteTest - Class in org.apache.sling.junit.remote.exported
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)
ExampleRemoteTest() - Constructor for class org.apache.sling.junit.remote.exported.ExampleRemoteTest
 
execRule - Variable in class org.apache.sling.junit.remote.exported.ExampleRemoteTest
Execute this test remotely and customize the request (could be used to set credentials for example)
ExecutionResult - Class in org.apache.sling.junit.remote.ide
 
ExecutionResult(Result) - Constructor for class org.apache.sling.junit.remote.ide.ExecutionResult
 
EXTENSION - Static variable in class org.apache.sling.junit.remote.ide.SerializedRenderer
 

G

getChildren() - Method in class org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner
 
getException() - Method in class org.apache.sling.junit.remote.ide.ExecutionResult
 
getExceptionFromTrace(String) - Static method in exception org.apache.sling.junit.remote.testrunner.RemoteExecutionException
 
getExtension() - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
getJunitServletUrl() - Method in interface org.apache.sling.junit.remote.testrunner.SlingRemoteTestParameters
Return the URL of the JUnit servlet
getRunListener() - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
getStackTrace() - Method in exception org.apache.sling.junit.remote.testrunner.RemoteExecutionException
 
getTestClassesSelector() - Method in interface org.apache.sling.junit.remote.testrunner.SlingRemoteTestParameters
Return the optional selector for the test classes to run, for example "org.apache.sling.testing.samples.sampletests.JUnit4Test"
getTestExecutionPath() - Method in class org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient
If called after runTests, returns the path used to run tests on the remote JUnit servlet
getTestMethodSelector() - Method in interface org.apache.sling.junit.remote.testrunner.SlingRemoteTestParameters
Return the optional selector for the test methods to run, for example "someMethodName"

I

info(String, String) - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
isFailure() - Method in class org.apache.sling.junit.remote.ide.ExecutionResult
 

L

link(String, String, String) - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
list(String, Collection<String>) - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 

O

org.apache.sling.junit.remote.exported - package org.apache.sling.junit.remote.exported
 
org.apache.sling.junit.remote.httpclient - package org.apache.sling.junit.remote.httpclient
 
org.apache.sling.junit.remote.ide - package org.apache.sling.junit.remote.ide
 
org.apache.sling.junit.remote.testrunner - package org.apache.sling.junit.remote.testrunner
 

P

printStackTrace(PrintStream) - Method in exception org.apache.sling.junit.remote.testrunner.RemoteExecutionException
 
printStackTrace(PrintWriter) - Method in exception org.apache.sling.junit.remote.testrunner.RemoteExecutionException
 

R

RemoteExecutionException - Exception in org.apache.sling.junit.remote.testrunner
 
RemoteExecutionException(String, String) - Constructor for exception org.apache.sling.junit.remote.testrunner.RemoteExecutionException
 
RemoteTestHttpClient - Class in org.apache.sling.junit.remote.httpclient
HTTP client that executes tests remotely
RemoteTestHttpClient(String, boolean) - Constructor for class org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient
 
RemoteTestHttpClient(String, String, String, boolean) - Constructor for class org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient
 
runChild(SlingRemoteTest, RunNotifier) - Method in class org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner
 
runTests(String, String, String) - Method in class org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient
 
runTests(String, String, String, Map<String, String>) - Method in class org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient
 

S

SerializedRenderer - Class in org.apache.sling.junit.remote.ide
Renderer for Sling JUnit server-side testing, which renders test results in binary form.
SerializedRenderer() - Constructor for class org.apache.sling.junit.remote.ide.SerializedRenderer
 
setRequestCustomizer(RequestCustomizer) - Method in class org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient
 
setup(HttpServletResponse, String) - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
SLING_REMOTE_TEST_PASSWORD - Static variable in class org.apache.sling.junit.remote.ide.SlingRemoteExecutionRule
 
SLING_REMOTE_TEST_URL - Static variable in class org.apache.sling.junit.remote.ide.SlingRemoteExecutionRule
Name of the system property that activates remote test execution
SLING_REMOTE_TEST_USERNAME - Static variable in class org.apache.sling.junit.remote.ide.SlingRemoteExecutionRule
 
SlingRemoteExecutionRule - Class in org.apache.sling.junit.remote.ide
JUnit MethodRule that executes tests remotely if the SlingRemoteExecutionRule.SLING_REMOTE_TEST_URL property is set.
SlingRemoteExecutionRule() - Constructor for class org.apache.sling.junit.remote.ide.SlingRemoteExecutionRule
 
SlingRemoteTestParameters - Interface in org.apache.sling.junit.remote.testrunner
Test class "proxies" implement this to indicate where to run the tests.
SlingRemoteTestRunner - Class in org.apache.sling.junit.remote.testrunner
JUnit TestRunner that talks to a remote Sling JUnit test servlet.
SlingRemoteTestRunner(Class<?>) - Constructor for class org.apache.sling.junit.remote.testrunner.SlingRemoteTestRunner
 
SlingTestsCountChecker - Interface in org.apache.sling.junit.remote.testrunner
Tests classes can implement this interface to check the number of tests that are executed remotely.

T

testAlwaysFails() - Method in class org.apache.sling.junit.remote.exported.ExampleRemoteTest
 
testAlwaysPasses() - Method in class org.apache.sling.junit.remote.exported.ExampleRemoteTest
 
testFailsSometimes() - Method in class org.apache.sling.junit.remote.exported.ExampleRemoteTest
 
testRunFinished(Result) - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
title(int, String) - Method in class org.apache.sling.junit.remote.ide.SerializedRenderer
 
A C D E G I L O P R S T 
Skip navigation links

Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.