- SERVER_BASE_URL - Static variable in class org.apache.sling.testing.serversetup.ServerSetup
-
Context attribute: server access URL
- SERVER_HOSTNAME_PROP - Static variable in class org.apache.sling.testing.serversetup.instance.SlingTestBase
-
- SERVER_READY_PROP_PREFIX - Static variable in class org.apache.sling.testing.serversetup.instance.SlingTestBase
-
- SERVER_READY_TIMEOUT_PROP - Static variable in class org.apache.sling.testing.serversetup.instance.SlingTestBase
-
- ServerSetup - Class in org.apache.sling.testing.serversetup
-
This is an evolution of the SlingTestBase/JarExecutor
combination that we had at revision 1201491, used
to control the server side of integration tests.
- ServerSetup() - Constructor for class org.apache.sling.testing.serversetup.ServerSetup
-
- ServerSetup.SetupException - Exception in org.apache.sling.testing.serversetup
-
- ServerSetup.SetupException(String) - Constructor for exception org.apache.sling.testing.serversetup.ServerSetup.SetupException
-
- ServerSetup.SetupException(String, Throwable) - Constructor for exception org.apache.sling.testing.serversetup.ServerSetup.SetupException
-
- ServerSetupSingleton - Class in org.apache.sling.testing.serversetup
-
In general we just need a singleton ServerSetup, that
uses System properties for its configuration - this class
supplies that.
- ServerSetupSingleton() - Constructor for class org.apache.sling.testing.serversetup.ServerSetupSingleton
-
- setConfig(Properties) - Method in class org.apache.sling.testing.serversetup.ServerSetup
-
Set configuration and reset our lists of phases
that already ran or failed.
- setExtraBundlesInstalled(boolean) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- setInstallBundlesFailed(boolean) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- setJarExecutor(JarExecutor) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- setServerBaseUrl(String) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- setServerInfoLogged(boolean) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- setServerReady(boolean) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- setServerReadyTestFailed(boolean) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- setServerStarted(boolean) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- setStartupInfoProvided(boolean) - Method in class org.apache.sling.testing.serversetup.instance.SlingInstanceState
-
- SetupPhase - Interface in org.apache.sling.testing.serversetup
-
A single phase of the test server setup
- setupTestServer() - Method in class org.apache.sling.testing.serversetup.ServerSetup
-
Runs all startup phases that have not run yet,
and throws an Exception or call Junit's fail()
method if one of them fails or failed in a
previous call of this method.
- shutdown() - Method in class org.apache.sling.testing.serversetup.ServerSetup
-
Called by a shutdown hook to run
all shutdown phases, but can also
be called explicitly, each shutdown
phase only runs once anyway.
- SHUTDOWN_ID_SUFFIX - Static variable in class org.apache.sling.testing.serversetup.ServerSetup
-
Standard suffix for shutdown tasks IDs
- SlingInstance - Interface in org.apache.sling.testing.serversetup.instance
-
Interface used to communicate with a sling instance
- SlingInstanceManager - Class in org.apache.sling.testing.serversetup.instance
-
Helper class for running tests against multiple Sling instances,
takes care of starting the Sling instances and waiting for them to be ready.
- SlingInstanceManager(String...) - Constructor for class org.apache.sling.testing.serversetup.instance.SlingInstanceManager
-
- SlingInstanceManager(Properties, String...) - Constructor for class org.apache.sling.testing.serversetup.instance.SlingInstanceManager
-
Get configuration but do not start server yet, that's done on demand
- SlingInstancesRule - Class in org.apache.sling.testing.serversetup.instance
-
JUnit Rule that executes tests for multiple Sling instances.
- SlingInstancesRule(String...) - Constructor for class org.apache.sling.testing.serversetup.instance.SlingInstancesRule
-
- SlingInstancesRule(Iterable<SlingInstance>) - Constructor for class org.apache.sling.testing.serversetup.instance.SlingInstancesRule
-
- SlingInstanceState - Class in org.apache.sling.testing.serversetup.instance
-
Information about a sling instance that is shared between tests.
- SlingTestBase - Class in org.apache.sling.testing.serversetup.instance
-
Base class for running tests against a Sling instance,
takes care of starting Sling and waiting for it to be ready.
- SlingTestBase() - Constructor for class org.apache.sling.testing.serversetup.instance.SlingTestBase
-
- SlingTestBase(SlingInstanceState, Properties) - Constructor for class org.apache.sling.testing.serversetup.instance.SlingTestBase
-
Get configuration but do not start server yet, that's done on demand
- start() - Method in class org.apache.sling.testing.serversetup.jarexec.JarExecutor
-
Start the jar if not done yet, and setup runtime hook
to stop it.
- START_BUNDLES_TIMEOUT_SECONDS - Static variable in class org.apache.sling.testing.serversetup.instance.SlingTestBase
-
- StartRunnableJarPhase - Class in org.apache.sling.testing.serversetup
-
SetupPhase that uses a JarExecutor to start
a runnable jar, and stop it at system shutdown
if our SetupServer wants that.
- StartRunnableJarPhase(ServerSetup, String, String, Properties) - Constructor for class org.apache.sling.testing.serversetup.StartRunnableJarPhase
-
- stop() - Method in class org.apache.sling.testing.serversetup.jarexec.JarExecutor
-
Stop the process that we started, if any, and wait for it to exit before returning