public static class RedTestContext.Fork extends Object
RedTestContext
see RedTestContext.fork()| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Mark the fork as completed, allowing the test to successfully complete
|
void |
fail()
Fails the entire test, calling this method is logically identical to
calling
RedTestContext.fail() |
void |
fail(String message)
Fails the entire test, calling this method is logically identical to
calling
RedTestContext.fail(String) |
void |
fail(Throwable throwable)
Fails the entire test, calling this method is logically identical to
calling
RedTestContext.fail(Throwable) |
public void complete()
public void fail(Throwable throwable)
RedTestContext.fail(Throwable)throwable - cause of failurepublic void fail(String message)
RedTestContext.fail(String)message - reason of failurepublic void fail()
RedTestContext.fail()Copyright © 2017. All rights reserved.