Class ServerSideTestClient
- java.lang.Object
-
- org.apache.sling.testing.tools.sling.SlingClient
-
- org.apache.sling.launchpad.webapp.integrationtest.util.ServerSideTestClient
-
public class ServerSideTestClient extends org.apache.sling.testing.tools.sling.SlingClient
Configurable SlingClient for server-side tests. We can't inherit from SlingTestBase as that class tries to start the JarExecutor which will fail in some situations (TODO: split that class into smaller utilities to avoid this problem)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerSideTestClient.TestResults
-
Constructor Summary
Constructors Constructor Description ServerSideTestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertTestsPass(String testPackageOrClassName, int expectedTestsCount)
Run server-side test(s)ServerSideTestClient.TestResults
runTests(String testPackageOrClassName)
-
-
-
Method Detail
-
runTests
public ServerSideTestClient.TestResults runTests(String testPackageOrClassName) throws Exception
- Throws:
Exception
-
-