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>
TestCases 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, toStringpublic 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)