C
- the Class type instance of the test itemR
- the type of the return value of the test procedurepublic abstract static class BevoTest.TestReturns<C,R> extends BevoTest.TestCase<C,R>
TestCase
s that expect a return value.
Example of use:
new BevoTest.TestReturns
The public void executeTest()
implementation has these
responsibilities:
starting(C)
with the test item.returned(R)
with value returned by the test.BevoTest.TestThrows
Constructor and Description |
---|
TestReturns(BevoTest.Test test,
java.lang.Class<C> classUnderTest,
java.lang.String description,
R expectedReturn) |
TestReturns(BevoTest.Test test,
java.lang.Class<C> classUnderTest,
java.lang.String description,
R expectedReturn,
long timeOutMs) |
getClassUnderTest, getDescription, getExpectedReturn, getExpectedThrowClass, getTest, getTimeOut, run, shouldSkip, toString
public TestReturns(BevoTest.Test test, java.lang.Class<C> classUnderTest, java.lang.String description, R expectedReturn)
public TestReturns(BevoTest.Test test, java.lang.Class<C> classUnderTest, java.lang.String description, R expectedReturn, long timeOutMs)