| |
|
| java.lang.Object test.sample.InvocationCountTest
InvocationCountTest | public class InvocationCountTest (Code) | | This class is used to test invocationCountTest
author: cbeust author: Alexandru Popescu |
cleanUp | public void cleanUp()(Code) | | |
successPercentageShouldFail | public void successPercentageShouldFail()(Code) | | Invocation + Success percentage test
This method will work the first 8 times and fail after that.
One of the failures will fall under the percentage tolerance but the next one
will not.
|
successPercentageShouldSucceed | public void successPercentageShouldSucceed()(Code) | | Invocation + Success percentage test.
This method will work the first 8 times and fail after that, but overall
the test should still pass because successPercentage = 80
|
tenTimesShouldSucceed | public void tenTimesShouldSucceed()(Code) | | |
verify | public void verify()(Code) | | |
|
|
|