Skip to content

Commit e356e4b

Browse files
committed
tests updated.
1 parent b57e92f commit e356e4b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mobile/src/androidTest/java/io/syslogic/demo/colorpicker/TestComposeContent.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class TestComposeContent : TestSuite() {
3939
@get:Rule
4040
var testRule: ComposeContentTestRule = createComposeRule()
4141

42+
private val logTag: String = TestComposeContent::class.java.simpleName
43+
4244
private lateinit var interaction: SemanticsNodeInteraction
4345

4446
@Before
@@ -51,9 +53,7 @@ class TestComposeContent : TestSuite() {
5153
) {
5254
ColorPickerComponent(
5355
initialColor = Color(0xFF444444.toInt()),
54-
onColorChanged = { _ ->
55-
// println("onColorChanged: $color")
56-
},
56+
onColorChanged = {},
5757
showAlpha = true,
5858
showHSV = true,
5959
showARGB = true,
@@ -65,9 +65,9 @@ class TestComposeContent : TestSuite() {
6565
}
6666

6767
@Test
68-
fun logTest() {
68+
fun printToLogTest() {
6969
interaction = testRule.onRoot()
70-
interaction.printToLog("TAG")
70+
interaction.printToLog(logTag)
7171
}
7272

7373
/** Randomly tapping the huePanel. */

0 commit comments

Comments
 (0)