| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final IAnnotationFinder | |
| private final ITestNGMethod |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public String | getWrongExceptionMessage(Throwable
The Throwable thrown by the test ite)Implements org. |
| public boolean | isThrowableMatching(Throwable
The Throwable thrown by the test ite)Implements org. |
| DEFAULT_REGEXP | back to summary |
|---|---|
| public static final String DEFAULT_REGEXP | |
| finder | back to summary |
|---|---|
| private final IAnnotationFinder finder | |
| method | back to summary |
|---|---|
| private final ITestNGMethod method | |
| RegexpExpectedExceptionsHolder | back to summary |
|---|---|
| public RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method) | |
| getRegExp | back to summary |
|---|---|
| private String getRegExp() | |
| getWrongExceptionMessage | back to summary |
|---|---|
| public String getWrongExceptionMessage(Throwable ite) Implements org. Doc from org. Get the message in case the Throwable thrown by the test is not matching. | |
| isThrowableMatching | back to summary |
|---|---|
| public boolean isThrowableMatching(Throwable ite) Implements org. message / regEx .* other null true false non-null true match
| |