|
|
@ -25,6 +25,7 @@ import org.isoron.uhabits.R
|
|
|
|
import org.isoron.uhabits.core.utils.DateUtils.Companion.getTodayWithOffset
|
|
|
|
import org.isoron.uhabits.core.utils.DateUtils.Companion.getTodayWithOffset
|
|
|
|
import org.isoron.uhabits.utils.PaletteUtils.getAndroidTestColor
|
|
|
|
import org.isoron.uhabits.utils.PaletteUtils.getAndroidTestColor
|
|
|
|
import org.junit.Before
|
|
|
|
import org.junit.Before
|
|
|
|
|
|
|
|
import org.junit.Ignore
|
|
|
|
import org.junit.Test
|
|
|
|
import org.junit.Test
|
|
|
|
import org.junit.runner.RunWith
|
|
|
|
import org.junit.runner.RunWith
|
|
|
|
import java.io.IOException
|
|
|
|
import java.io.IOException
|
|
|
@ -57,6 +58,7 @@ class CheckmarkWidgetViewTest : BaseViewTest() {
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
@Throws(IOException::class)
|
|
|
|
@Throws(IOException::class)
|
|
|
|
|
|
|
|
@Ignore("non-deterministic")
|
|
|
|
fun testRender_checked() {
|
|
|
|
fun testRender_checked() {
|
|
|
|
assertRenders(view, PATH + "checked.png")
|
|
|
|
assertRenders(view, PATH + "checked.png")
|
|
|
|
}
|
|
|
|
}
|
|
|
|