public class RestTester extends org.junit.runners.ParentRunner<RestTester.TestInfo>
RestTestPlan annotation.| Modifier and Type | Class and Description |
|---|---|
static class |
RestTester.GatewayAssertionTestInfo |
static class |
RestTester.PublishPayloadTestInfo |
static class |
RestTester.TestInfo |
static class |
RestTester.TestPlanInfo |
| Constructor and Description |
|---|
RestTester(Class<?> testClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runner.Description |
describeChild(RestTester.TestInfo child) |
protected String |
getBaseApiContext() |
protected List<RestTester.TestInfo> |
getChildren() |
protected int |
getTestServerPort() |
void |
log(String message,
Object... params)
Logs a message.
|
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
runChild(RestTester.TestInfo testInfo,
org.junit.runner.notification.RunNotifier notifier) |
static void |
setup()
Called to setup the test.
|
static void |
shutdown()
Called at the end of the test.
|
protected static void |
startServer() |
protected static void |
stopServer() |
public RestTester(Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic static void setup()
org.junit.runners.model.InitializationErrorpublic static void shutdown()
protected static void startServer()
Exceptionprotected static void stopServer()
Exceptionprotected List<RestTester.TestInfo> getChildren()
getChildren in class org.junit.runners.ParentRunner<RestTester.TestInfo>ParentRunner.getChildren()public void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<RestTester.TestInfo>ParentRunner.run(org.junit.runner.notification.RunNotifier)protected void runChild(RestTester.TestInfo testInfo, org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.ParentRunner<RestTester.TestInfo>ParentRunner.runChild(java.lang.Object, org.junit.runner.notification.RunNotifier)protected org.junit.runner.Description describeChild(RestTester.TestInfo child)
describeChild in class org.junit.runners.ParentRunner<RestTester.TestInfo>ParentRunner.describeChild(java.lang.Object)protected String getBaseApiContext()
protected int getTestServerPort()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.