public abstract class TestCaseResolver extends ContextHandler<ResolverContext>
test case definitions
to create new TestCase
instances.Modifier | Constructor and Description |
---|---|
protected |
TestCaseResolver(ResolverContext context,
FunctionInputDef inputDef)
Creates a new TestCaseResolver instance.
|
Modifier and Type | Method and Description |
---|---|
FunctionInputDef |
getInputDef()
Returns the input definition for this resolver.
|
List<TestCase> |
resolve(Function<FunctionInputDef,List<ITestCaseDef>> testCaseDefSupplier)
Resolves the
test case definitions to create new TestCase instances for the given input model. |
protected abstract VarBinding |
resolveBinding(VarDef varDef,
VarValueDef valueDef)
Returns a binding that resolves the value of the given input variable.
|
protected void |
setInputDef(FunctionInputDef inputDef)
Changes the input definition for this resolver.
|
doFor, getContext, getNotifier, notifyError, notifyError, notifyWarning, notifyWarning, resultFor, setNotifier
protected TestCaseResolver(ResolverContext context, FunctionInputDef inputDef)
protected void setInputDef(FunctionInputDef inputDef)
public FunctionInputDef getInputDef()
public List<TestCase> resolve(Function<FunctionInputDef,List<ITestCaseDef>> testCaseDefSupplier)
test case definitions
to create new TestCase
instances for the given input model.protected abstract VarBinding resolveBinding(VarDef varDef, VarValueDef valueDef)
Copyright © 2024 The Cornutum Project. All rights reserved.