Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 549a4c3e authored by Alejandro Nijamkin's avatar Alejandro Nijamkin
Browse files

[flexiglass] Update scene container flag test.

Due to a previous change, the test case generating code wasn't
generating the right collection of test cases, resulting in 2
uniquely-named tests instead of the expected 4.

Fix: 294430585
Test: N/A
Change-Id: Iffea10312c05a221b6dc6dc44fdd7b6635702533
parent 1560fc08
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -78,8 +78,8 @@ internal class SceneContainerFlagsTest(
        @JvmStatic
        fun testCases() = buildList {
            repeat(4) { combination ->
                val isComposeAvailable = combination and 0b100 != 0
                val areAllFlagsSet = combination and 0b001 != 0
                val isComposeAvailable = combination and 0b10 != 0
                val areAllFlagsSet = combination and 0b01 != 0

                val expectedEnabled = isComposeAvailable && areAllFlagsSet