| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends Throwable> |
expected
Optionally specify
expected, a Throwable, to cause a test method to succeed iff
an exception of the specified class is thrown by the method. |
long |
timeout
Optionally specify
timeout in milliseconds to cause a test method to fail if it
takes longer than that number of milliseconds. |
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.