-
- All Implemented Interfaces:
-
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Sortable
public class SpringRestPactRunner extends RestPactRunner
Pact runner for REST providers that boots up the spring context
-
-
Field Summary
Fields Modifier and Type Field Description private final List<InteractionRunner>
children
private final Object
childrenLock
private final Class<?>
clazz
private final Collection<InteractionRunner>
filteredChildren
private Boolean
initialized
private final RunnerScheduler
scheduler
private final TestClass
testClass
private SystemPropertyResolver
valueResolver
-
Constructor Summary
Constructors Constructor Description SpringRestPactRunner(Class<?> clazz)
-
Method Summary
Modifier and Type Method Description final List<InteractionRunner>
getChildren()
final Class<?>
getClazz()
final Boolean
getInitialized()
final SystemPropertyResolver
getValueResolver()
final Unit
setInitialized(Boolean initialized)
final Unit
setValueResolver(SystemPropertyResolver valueResolver)
-
Methods inherited from class au.com.dius.pact.provider.junit.PactRunner
applyValidators, areAllChildrenIgnored, childrenInvoker, classBlock, classRules, collectInitializationErrors, comparator, createTestClass, filter, getDescription, getFilteredChildren, getName, getRunnerAnnotations, getTestClass, isIgnored, run, runChildren, runLeaf, setScheduler, shouldRun, sort, validate, validateClassRules, validatePublicVoidNoArgMethods, withClassRules
-
Methods inherited from class au.com.dius.pact.provider.junit.RestPactRunner
checkIgnoreIoException, initialize
-
Methods inherited from class org.junit.runner.Describable
equals, hashCode, toString
-
Methods inherited from class org.junit.runners.ParentRunner
testCount
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SpringRestPactRunner
SpringRestPactRunner(Class<?> clazz)
-
-
Method Detail
-
getChildren
final List<InteractionRunner> getChildren()
-
getInitialized
final Boolean getInitialized()
-
getValueResolver
final SystemPropertyResolver getValueResolver()
-
setInitialized
final Unit setInitialized(Boolean initialized)
-
setValueResolver
final Unit setValueResolver(SystemPropertyResolver valueResolver)
-
-
-
-