public class AbstractFunSpec extends AbstractSpec
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFunSpec.ContextScope |
class |
AbstractFunSpec.TestBuilder |
Spec.DefaultImpls| Constructor and Description |
|---|
AbstractFunSpec(kotlin.jvm.functions.Function1<? super io.kotlintest.specs.AbstractFunSpec,kotlin.Unit> body) |
AbstractFunSpec() |
| Modifier and Type | Method and Description |
|---|---|
void |
context(java.lang.String name,
kotlin.jvm.functions.Function2<? super io.kotlintest.specs.AbstractFunSpec.ContextScope,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> init) |
AbstractFunSpec.TestBuilder |
test(java.lang.String name) |
void |
test(java.lang.String name,
kotlin.jvm.functions.Function2<? super io.kotlintest.TestContext,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> test) |
addTestCase, autoClose, closeResources, createTestCase, getAcceptingTopLevelRegistration, getDefaultTestCaseConfig, isInstancePerTest, setAcceptingTopLevelRegistration, testCasescloseResources, description, extensions, focused, hasFocusedTest, isInstancePerTest, isolationMode, listeners, tags, testCaseOrder, testCasesafterDiscovery, afterProject, afterSpec, afterSpec, afterSpecClass, afterSpecCompleted, afterTest, afterTest, beforeProject, beforeSpec, beforeSpec, beforeSpecClass, beforeSpecStarted, beforeTest, beforeTestpublic AbstractFunSpec(kotlin.jvm.functions.Function1<? super io.kotlintest.specs.AbstractFunSpec,kotlin.Unit> body)
public AbstractFunSpec()
public void context(java.lang.String name,
kotlin.jvm.functions.Function2<? super io.kotlintest.specs.AbstractFunSpec.ContextScope,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> init)
public AbstractFunSpec.TestBuilder test(java.lang.String name)
public void test(java.lang.String name,
kotlin.jvm.functions.Function2<? super io.kotlintest.TestContext,? super kotlin.coroutines.experimental.Continuation<? super kotlin.Unit>,? extends java.lang.Object> test)