You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
Update various asserts to honor descriptions passed to "as".
E.g.
assertThat(fooView).as("Foo").isGone()
would print:
Expected Foo to be gone but was visible
For example isGone would contain would be roughly ( based on your current code ):
assertThat(actualVisibility)
.overridingErrorMessage("Expected " +
getWritableAssertionInfo().getDescriptionText()
+ " to be gone but was %s",
visibilityToString(actualVisibility))
.isEqualTo(GONE);
…t others can inherit.
-Added assertions that check individual flags rather than insisting on testing all flags in a group.
-Implement Issue square#84 for this class (honor "as()").
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Update various asserts to honor descriptions passed to "as".
E.g.
would print:
For example isGone would contain would be roughly ( based on your current code ):
Reference:
https://github.com/alexruiz/fest-assert-2.x/blob/fest-assert-core-2.0M10/src/main/java/org/fest/assertions/api/AbstractAssert.java
https://github.com/alexruiz/fest-assert-2.x/blob/fest-assert-core-2.0M10/src/main/java/org/fest/assertions/core/WritableAssertionInfo.java
The text was updated successfully, but these errors were encountered: