Loading packages/SystemUI/checks/tests/com/android/internal/systemui/lint/ExposeFlowFromUiLayerDetectorTest.kt +4 −0 Original line number Diff line number Diff line Loading @@ -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 = Loading Loading @@ -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 = Loading packages/SystemUI/checks/tests/com/android/internal/systemui/lint/MainThreadCoroutineScopeDetectorTest.kt +4 −0 Original line number Diff line number Diff line Loading @@ -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 = Loading Loading @@ -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 = Loading packages/SystemUI/checks/tests/com/android/internal/systemui/lint/RunBlockingDetectorTest.kt +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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( """ Loading Loading
packages/SystemUI/checks/tests/com/android/internal/systemui/lint/ExposeFlowFromUiLayerDetectorTest.kt +4 −0 Original line number Diff line number Diff line Loading @@ -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 = Loading Loading @@ -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 = Loading
packages/SystemUI/checks/tests/com/android/internal/systemui/lint/MainThreadCoroutineScopeDetectorTest.kt +4 −0 Original line number Diff line number Diff line Loading @@ -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 = Loading Loading @@ -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 = Loading
packages/SystemUI/checks/tests/com/android/internal/systemui/lint/RunBlockingDetectorTest.kt +3 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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( """ Loading