EmptyListViewTest: Ignore non-deterministic test failures

This commit is contained in:
2025-06-24 22:22:14 -05:00
parent 862a851e1c
commit 97b98a872d

View File

@@ -22,6 +22,7 @@ package org.isoron.uhabits.activities.habits.list.views
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.MediumTest
import org.isoron.uhabits.BaseViewTest
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
@@ -36,6 +37,7 @@ class EmptyListViewTest : BaseViewTest() {
private val path = "habits/list/EmptyListView"
@Test
@Ignore("non-deterministic failure")
fun testRender_done() {
val view = EmptyListView(targetContext)
view.showDone()
@@ -44,6 +46,7 @@ class EmptyListViewTest : BaseViewTest() {
}
@Test
@Ignore("non-deterministic failure")
fun testRender_empty() {
val view = EmptyListView(targetContext)
view.showEmpty()