public class AbstractWordSpec.FinalTestContext extends TestContext
| Constructor and Description |
|---|
FinalTestContext(TestContext $outer,
kotlin.coroutines.CoroutineContext context) |
| Modifier and Type | Method and Description |
|---|---|
Description |
description()
|
TestContext |
getContext() |
java.lang.Object |
registerTestCase(TestCase testCase,
kotlin.coroutines.experimental.Continuation<? super kotlin.Unit> p)
Notifies the test runner about a nested
class TestCase. |
kotlin.jvm.functions.Function0<kotlin.Unit> |
should(java.lang.String $receiver,
kotlin.jvm.functions.Function0<kotlin.Unit> init)
Deprecated.
|
description, getCoroutineContext, invoke, metaData, putMetaData, registerTestCase, registerTestCasepublic FinalTestContext(TestContext $outer, kotlin.coroutines.CoroutineContext context)
public Description description()
Returns the class Description of the class TestCase that is attached to this class TestContext.
class Description,
class TestCase,
class TestContextpublic java.lang.Object registerTestCase(TestCase testCase, kotlin.coroutines.experimental.Continuation<? super kotlin.Unit> p)
Notifies the test runner about a nested class TestCase.
class TestCasepublic kotlin.jvm.functions.Function0<kotlin.Unit> should(java.lang.String $receiver,
kotlin.jvm.functions.Function0<kotlin.Unit> init)
public TestContext getContext()