Skip to content

Commit

Permalink
Remove fast key presses in looping layout tests to deflake them in lo…
Browse files Browse the repository at this point in the history
…wer end devices
  • Loading branch information
rubensousa committed Jun 19, 2024
1 parent 63e0f97 commit 7ac6df0
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,12 @@ import com.rubensousa.dpadrecyclerview.test.helpers.waitForIdleScrollState
import com.rubensousa.dpadrecyclerview.test.tests.DpadRecyclerViewTest
import com.rubensousa.dpadrecyclerview.testing.KeyEvents
import com.rubensousa.dpadrecyclerview.testing.R
import com.rubensousa.dpadrecyclerview.testing.rules.DisableIdleTimeoutRule
import org.junit.Rule
import org.junit.Test
import kotlin.math.ceil
import kotlin.math.min

class LoopingLayoutTest : DpadRecyclerViewTest() {

@get:Rule
val idleTimeoutRule = DisableIdleTimeoutRule()

override fun getDefaultAdapterConfiguration(): TestAdapterConfiguration {
return super.getDefaultAdapterConfiguration()
.copy(itemLayoutId = R.layout.dpadrecyclerview_test_item_horizontal)
Expand Down

0 comments on commit 7ac6df0

Please sign in to comment.