From b54e4d0b79a3f90f719717eff337c2c4473480e1 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Tue, 25 Oct 2022 08:26:23 +0200 Subject: [PATCH] False test --- .../java/com/sample/app/RecyclerViewWaitTest.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sample/src/androidTest/java/com/sample/app/RecyclerViewWaitTest.kt b/sample/src/androidTest/java/com/sample/app/RecyclerViewWaitTest.kt index 176f862..c8fcdd1 100644 --- a/sample/src/androidTest/java/com/sample/app/RecyclerViewWaitTest.kt +++ b/sample/src/androidTest/java/com/sample/app/RecyclerViewWaitTest.kt @@ -16,31 +16,31 @@ class RecyclerViewWaitTest { @Test fun testRecyclerViewWaitItemCount() { - WaitingAssertion.assertAdapterMinimumItemsCount(R.id.recyclerTest, 2, 500) + WaitingAssertion.assertAdapterMinimumItemsCount(R.id.recyclerTest, 5, 500) } @Test fun testRecyclerViewWaitItemCountEqual() { - WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 3, MatchOperator.IS, 500) + WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 6, MatchOperator.IS, 500) } @Test fun testRecyclerViewWaitItemCountLessEqual() { - WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 3, MatchOperator.LESS_EQUAL, 500) + WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 6, MatchOperator.LESS_EQUAL, 500) } @Test fun testRecyclerViewWaitItemCountLess() { - WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 4, MatchOperator.LESS, 500) + WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 7, MatchOperator.LESS, 500) } @Test fun testRecyclerViewWaitItemCountGreater() { - WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 2, MatchOperator.GREATER, 500) + WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 9, MatchOperator.GREATER, 500) } @Test fun testRecyclerViewWaitItemCountGreaterEqual() { - WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 3, MatchOperator.GREATER_EQUAL, 500) + WaitingAssertion.assertRecyclerAdapterItemsCount(R.id.recyclerTest, 10, MatchOperator.GREATER_EQUAL, 500) } }