Fix problems in SingleLineCollapsedLabelGroupViewTest.kt
MAILAND-2623
This commit is contained in:
parent
e9c9b79b56
commit
f6818847cd
|
@ -47,14 +47,18 @@ class SingleLineCollapsedLabelGroupViewTest :
|
|||
|
||||
@Test
|
||||
fun whenTheLabelsListEmptyShouldHideTheView() {
|
||||
testView.setLabels(emptyList())
|
||||
runOnActivityThread {
|
||||
testView.setLabels(emptyList())
|
||||
}
|
||||
|
||||
onTestView().check(isGone())
|
||||
}
|
||||
|
||||
@Test
|
||||
fun whenHasLabelsShouldShowTheView() {
|
||||
testView.setLabels(LabelList.withThreeItems)
|
||||
runOnActivityThread {
|
||||
testView.setLabels(LabelList.withThreeItems)
|
||||
}
|
||||
|
||||
onTestView().check(isVisible())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue