square / assertj-android

A set of AssertJ helpers geared toward testing Android.
https://square.github.io/assertj-android/
Apache License 2.0
1.58k stars 156 forks source link

Add Convenience Methods For Orientations #5

Closed JakeWharton closed 11 years ago

JakeWharton commented 11 years ago

isVertical() and isHorizontal().

f2prateek commented 11 years ago

https://github.com/square/fest-android/pull/10

Would this implementation be ok?

JakeWharton commented 11 years ago

I was thinking for LinearLayout and the like. But having isPortrait() and isLandscape() would be nice too.

JakeWharton commented 11 years ago

Done. Just need to update website and readme.

JakeWharton commented 11 years ago

06463664b7207d29f2a7985906fe5020c56f18cf