Package com.adaptris.tester.runtime
Class Assertions
- All Implemented Interfaces:
Iterable<Assertion>,Collection<Assertion>
In the service test configuration this class is aliased as assertions which is the preferred alternative to the fully qualified classname when building your configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidaddAssertion(Assertion assertion) execute(TestMessage returnMessage, ServiceTestConfig config) iterator()voidsetAssertions(List<Assertion> assertion) intsize()Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
Assertions
public Assertions()
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<Assertion>- Specified by:
iteratorin interfaceIterable<Assertion>- Specified by:
iteratorin classAbstractCollection<Assertion>
-
size
public int size()- Specified by:
sizein interfaceCollection<Assertion>- Specified by:
sizein classAbstractCollection<Assertion>
-
setAssertions
-
getAssertions
-
addAssertion
-
add
- Specified by:
addin interfaceCollection<Assertion>- Overrides:
addin classAbstractCollection<Assertion>
-
execute
public JUnitReportTestIssue execute(TestMessage returnMessage, ServiceTestConfig config) throws ServiceTestException - Throws:
ServiceTestException
-