# android.support.test.espresso.assertion

# android.support.test.espresso.assertion

| This package is part of the Android [support library](https://developer.android.com/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](https://developer.android.com/jetpack/androidx) which is part of [Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](https://developer.android.com/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class
| mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Classes

|--------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [LayoutAssertions](https://developer.android.com/reference/android/support/test/espresso/assertion/LayoutAssertions)     | A collection of layout [ViewAssertion](https://developer.android.com/reference/android/support/test/espresso/ViewAssertion)s.                                                   |
| [PositionAssertions](https://developer.android.com/reference/android/support/test/espresso/assertion/PositionAssertions) | A collection of [ViewAssertion](https://developer.android.com/reference/android/support/test/espresso/ViewAssertion)s for checking relative position of elements on the screen. |
| [ViewAssertions](https://developer.android.com/reference/android/support/test/espresso/assertion/ViewAssertions)         | Collection of common [ViewAssertions](https://developer.android.com/reference/android/support/test/espresso/ViewAssertion).                                                     |

-

  ## Classes

  - [LayoutAssertions](https://developer.android.com/reference/android/support/test/espresso/assertion/LayoutAssertions)
  - [PositionAssertions](https://developer.android.com/reference/android/support/test/espresso/assertion/PositionAssertions)
  - [ViewAssertions](https://developer.android.com/reference/android/support/test/espresso/assertion/ViewAssertions)