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

Commit b12584d2 authored by Matt Gilbride's avatar Matt Gilbride Committed by Android (Google) Code Review
Browse files

Merge "Skip new tests modes for SystemUILintCheckerTest" into main

parents 5b0b0e2f 84e0967a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -165,6 +165,8 @@ class ExposeFlowFromUiLayerDetectorTest : SystemUILintDetectorTest() {
                    .indented(),
            )
            .issues(ExposeFlowFromUiLayerDetector.ISSUE)
            // TODO: b/443947014 - Remove allowDuplicates() once the bug is fixed.
            .allowDuplicates()
            .run()
            .expect(
                expectedText =
@@ -225,6 +227,8 @@ class ExposeFlowFromUiLayerDetectorTest : SystemUILintDetectorTest() {
                    .indented(),
            )
            .issues(ExposeFlowFromUiLayerDetector.ISSUE)
            // TODO: b/443947014 - Remove allowDuplicates() once the bug is fixed.
            .allowDuplicates()
            .run()
            .expect(
                expectedText =
+4 −0
Original line number Diff line number Diff line
@@ -147,6 +147,8 @@ class MainThreadCoroutineScopeDetectorTest : SystemUILintDetectorTest() {
                    .indented(),
            )
            .issues(MainThreadCoroutineScopeDetector.ISSUE)
            // TODO: b/443947014 - Remove allowDuplicates() once the bug is fixed.
            .allowDuplicates()
            .run()
            .expect(
                expectedText =
@@ -179,6 +181,8 @@ class MainThreadCoroutineScopeDetectorTest : SystemUILintDetectorTest() {
                    .indented(),
            )
            .issues(MainThreadCoroutineScopeDetector.ISSUE)
            // TODO: b/443947014 - Remove allowDuplicates() once the bug is fixed.
            .allowDuplicates()
            .run()
            .expect(
                expectedText =
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@

package com.android.internal.systemui.lint

import com.android.tools.lint.checks.infrastructure.TestMode
import com.android.tools.lint.detector.api.Detector
import com.android.tools.lint.detector.api.Issue
import org.junit.Test
@@ -88,6 +89,8 @@ src/com/example/MyClass.kt:4: Error: Importing kotlinx.coroutines.runBlocking is
                RUN_BLOCKING_TRACED_DEFINITION,
            )
            .issues(RunBlockingDetector.ISSUE)
            // TODO: b/443947014 - Remove skipTestModes() once the bug is fixed.
            .skipTestModes(TestMode.IMPORT_ALIAS)
            .run()
            .expect(
                """