Skip to content

Commit

Permalink
Reformatted the tables in the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
adil-hussain-84 committed Mar 15, 2024
1 parent 10f9e33 commit 292be69
Showing 1 changed file with 39 additions and 18 deletions.
57 changes: 39 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@ This library contains classes and methods that will ease the writing of your And

## Espresso

| | |
|-|-|
| [MenuDropDownListViewMatchers](library/src/main/java/com/tazkiyatech/utils/espresso/MenuDropDownListViewMatchers.kt) | Provides methods for matching on a `MenuPopupWindow.MenuDropDownListView` in a UI test. |
| [RecyclerViewMatchers](library/src/main/java/com/tazkiyatech/utils/espresso/RecyclerViewMatchers.kt) | Provides methods for matching on a [RecyclerView](https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView) in a UI test. |
| [TabViewMatchers](library/src/main/java/com/tazkiyatech/utils/espresso/TabViewMatchers.kt) | Provides methods for matching on a [TabLayout.TabView](https://developer.android.com/reference/com/google/android/material/tabs/TabLayout.TabView) in a UI test. |
| [TextViewMatchers](library/src/main/java/com/tazkiyatech/utils/espresso/TextViewMatchers.kt) | Provides methods for matching on a [TextView](https://developer.android.com/reference/android/widget/TextView) in a UI test. |
| [ViewActions](library/src/main/java/com/tazkiyatech/utils/espresso/ViewActions.kt) | Provides a method for waiting on a [View](https://developer.android.com/reference/android/view/View) to match a certain condition in a UI test. |
| [ViewInteractionExtensions](library/src/main/java/com/tazkiyatech/utils/espresso/ViewInteractionExtensions.kt) | Provides extension functions on the [ViewInteraction](https://developer.android.com/reference/androidx/test/espresso/ViewInteraction) class to improve the fluency of view actions and view matches in UI tests. |
| [ViewMatchers](library/src/main/java/com/tazkiyatech/utils/espresso/ViewMatchers.kt) | Provides methods for matching on a [View](https://developer.android.com/reference/android/view/View) in a UI test. |
| [ViewPagerMatchers](library/src/main/java/com/tazkiyatech/utils/espresso/ViewPagerMatchers.kt) | Provides methods for matching on a [ViewPager](https://developer.android.com/reference/androidx/viewpager/widget/ViewPager) in a UI test. |
| [ViewPager2Actions](library/src/main/java/com/tazkiyatech/utils/espresso/ViewPager2Actions.java) | Provides methods for interacting with a [ViewPager2](https://developer.android.com/reference/androidx/viewpager2/widget/ViewPager2) in a UI test. |
| [ViewPager2Matchers](library/src/main/java/com/tazkiyatech/utils/espresso/ViewPager2Matchers.kt) | Provides methods for matching on a [ViewPager2](https://developer.android.com/reference/androidx/viewpager2/widget/ViewPager2) in a UI test. |
| | |
|-----------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
| [MenuDropDownListViewMatchers][1] | Provides methods for matching on a `MenuPopupWindow.MenuDropDownListView` in a UI test. |
| [RecyclerViewMatchers][2] | Provides methods for matching on a [RecyclerView][13] in a UI test. |
| [TabViewMatchers][3] | Provides methods for matching on a [TabLayout.TabView][14] in a UI test. |
| [TextViewMatchers][4] | Provides methods for matching on a [TextView][15] in a UI test. |
| [ViewActions][5] | Provides a method for waiting on a [View][16] to match a certain condition in a UI test. |
| [ViewInteractionExtensions][6] | Provides extension functions on the [ViewInteraction][17] class to improve the fluency of view actions and view matches in UI tests. |
| [ViewMatchers][7] | Provides methods for matching on a [View][16] in a UI test. |
| [ViewPagerMatchers][8] | Provides methods for matching on a [ViewPager][18] in a UI test. |
| [ViewPager2Actions][9] | Provides methods for interacting with a [ViewPager2][19] in a UI test. |
| [ViewPager2Matchers][10] | Provides methods for matching on a [ViewPager2][19] in a UI test. |

## SQLite

| | |
|-|-|
| [QueryPlanExplainer](library/src/main/java/com/tazkiyatech/utils/sqlite/QueryPlanExplainer.kt) | Provides methods for explaining the strategy or plan that SQLite will use to implement a specific SQL query. |
| | |
|--------------------------|--------------------------------------------------------------------------------------------------------------|
| [QueryPlanExplainer][11] | Provides methods for explaining the strategy or plan that SQLite will use to implement a specific SQL query. |

## UiAutomator

| | |
|-|-|
| [UiDeviceExtensions](library/src/main/java/com/tazkiyatech/utils/uiautomator/UiDeviceExtensions.kt) | Provides extension functions on the [UiDevice](https://developer.android.com/reference/androidx/test/uiautomator/UiDevice) class for waiting on the device's "launcher" (a.k.a. "home") and "recent apps" screens. |
| | |
|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
| [UiDeviceExtensions][12] | Provides extension functions on the [UiDevice][20] class for waiting on the device's "launcher" (a.k.a. "home") and "recent apps" screens. |

## Setup

Expand All @@ -41,3 +41,24 @@ dependencies {
androidTestImplementation("com.tazkiyatech:android-test-utils:2.1.0")
}
```

[1]: library/src/main/java/com/tazkiyatech/utils/espresso/MenuDropDownListViewMatchers.kt
[2]: library/src/main/java/com/tazkiyatech/utils/espresso/RecyclerViewMatchers.kt
[3]: library/src/main/java/com/tazkiyatech/utils/espresso/TabViewMatchers.kt
[4]: library/src/main/java/com/tazkiyatech/utils/espresso/TextViewMatchers.kt
[5]: library/src/main/java/com/tazkiyatech/utils/espresso/ViewActions.kt
[6]: library/src/main/java/com/tazkiyatech/utils/espresso/ViewInteractionExtensions.kt
[7]: library/src/main/java/com/tazkiyatech/utils/espresso/ViewMatchers.kt
[8]: library/src/main/java/com/tazkiyatech/utils/espresso/ViewPagerMatchers.kt
[9]: library/src/main/java/com/tazkiyatech/utils/espresso/ViewPager2Actions.java
[10]: library/src/main/java/com/tazkiyatech/utils/espresso/ViewPager2Matchers.kt
[11]: library/src/main/java/com/tazkiyatech/utils/sqlite/QueryPlanExplainer.kt
[12]: library/src/main/java/com/tazkiyatech/utils/uiautomator/UiDeviceExtensions.kt
[13]: https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView
[14]: https://developer.android.com/reference/com/google/android/material/tabs/TabLayout.TabView
[15]: https://developer.android.com/reference/android/widget/TextView
[16]: https://developer.android.com/reference/android/view/View
[17]: https://developer.android.com/reference/androidx/test/espresso/ViewInteraction
[18]: https://developer.android.com/reference/androidx/viewpager/widget/ViewPager
[19]: https://developer.android.com/reference/androidx/viewpager2/widget/ViewPager2
[20]: https://developer.android.com/reference/androidx/test/uiautomator/UiDevice

0 comments on commit 292be69

Please sign in to comment.