java.lang.Object | |
↳ | com.atlassian.jira.util.ErrorCollectionAssert |
Provides methods to help unit tests make assertions about ErrorCollection objects.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Asserts that the given ErrorCollection contains only the given error message.
| |||||||||||
Asserts that the given ErrorCollection contains only the given field-specific error.
| |||||||||||
Asserts that the given ErrorCollection contains the given field-specific error.
| |||||||||||
Asserts that the given ErrorCollection has no errors.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Asserts that the given ErrorCollection contains only the given error message.
errorCollection | ErrorCollection under test. |
---|---|
expectedErrorMessage | The expected error message. |
Asserts that the given ErrorCollection contains only the given field-specific error.
errorCollection | ErrorCollection under test. |
---|---|
fieldName | The field name that we expected the error for. |
expectedErrorMessage | The expected error message. |
Asserts that the given ErrorCollection contains the given field-specific error.
errorCollection | ErrorCollection under test. |
---|---|
fieldName | The field name that we expected the error for. |
expectedErrorMessage | The expected error message. |
Asserts that the given ErrorCollection has no errors.
errorCollection | ErrorCollection under test. |
---|