ComparisonFailure
open classComparisonFailure: AssertionFailedError
| kotlin.Any | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Error | |||
| ↳ | android.test.AssertionFailedError | |||
| ↳ | android.test.ComparisonFailure | |||
Thrown when an assert equals for Strings failed.
Summary
| Public constructors | |
|---|---|
ComparisonFailure(message: String!, expected: String!, actual: String!) |
|
| Properties | |
|---|---|
| open String? |
Returns the detail message string of this throwable. |
Public constructors
ComparisonFailure
Added in API level 1
ComparisonFailure(
message: String!,
expected: String!,
actual: String!)
Properties
message
Added in API level 1
open val message: String?
Returns the detail message string of this throwable.
| Return | |
|---|---|
String? |
the detail message string of this Throwable instance (which may be null). |