File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
mobile/src/androidTest/java/io/syslogic/demo/colorpicker Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ class TestComposeContent : TestSuite() {
39
39
@get:Rule
40
40
var testRule: ComposeContentTestRule = createComposeRule()
41
41
42
+ private val logTag: String = TestComposeContent ::class .java.simpleName
43
+
42
44
private lateinit var interaction: SemanticsNodeInteraction
43
45
44
46
@Before
@@ -51,9 +53,7 @@ class TestComposeContent : TestSuite() {
51
53
) {
52
54
ColorPickerComponent (
53
55
initialColor = Color (0xFF444444 .toInt()),
54
- onColorChanged = { _ ->
55
- // println("onColorChanged: $color")
56
- },
56
+ onColorChanged = {},
57
57
showAlpha = true ,
58
58
showHSV = true ,
59
59
showARGB = true ,
@@ -65,9 +65,9 @@ class TestComposeContent : TestSuite() {
65
65
}
66
66
67
67
@Test
68
- fun logTest () {
68
+ fun printToLogTest () {
69
69
interaction = testRule.onRoot()
70
- interaction.printToLog(" TAG " )
70
+ interaction.printToLog(logTag )
71
71
}
72
72
73
73
/* * Randomly tapping the huePanel. */
You can’t perform that action at this time.
0 commit comments