Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
4669 commits behind the upstream repository.
  • Kevin Liu's avatar
    eef626ab
    Add strict_mode: false · eef626ab
    Kevin Liu authored
    As strict mode is in place, the default strict_mode is now set to true. We are encourage teams to write tests in strict_mode to make tests Bivalent (able to run on device and devicelessly)
    For more info on strict mode: go/roboStrictMode
    
    Flag: NONE
    Test: atest SystemUiRoboTests, SpaRoboRNGTests, SettingsLibRoboTests, FrameworksServicesRoboTests, BackupFrameworksServicesRoboTests, InputRoboRNGTests
    Bug: 334089788
    Change-Id: I9827910496af67eab33efddb7c32d8e40b497c13
    eef626ab
    History
    Add strict_mode: false
    Kevin Liu authored
    As strict mode is in place, the default strict_mode is now set to true. We are encourage teams to write tests in strict_mode to make tests Bivalent (able to run on device and devicelessly)
    For more info on strict mode: go/roboStrictMode
    
    Flag: NONE
    Test: atest SystemUiRoboTests, SpaRoboRNGTests, SettingsLibRoboTests, FrameworksServicesRoboTests, BackupFrameworksServicesRoboTests, InputRoboRNGTests
    Bug: 334089788
    Change-Id: I9827910496af67eab33efddb7c32d8e40b497c13
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Android.bp 800 B
package {
    // See: http://go/android-license-faq
    default_applicable_licenses: ["frameworks_base_license"],
}

android_robolectric_test {
    name: "CredentialSelectorTests",
    srcs: [
        "src/**/*.kt",
    ],
    // Include test libraries.
    instrumentation_for: "ClockworkCredentialManager",
    libs: [
        "androidx.test.runner",
        "androidx.test.ext.junit",
        "kotlinx_coroutines_android",
        "kotlinx_coroutines",
        "kotlinx-coroutines-core",
        "kotlinx_coroutines_test",
        "mockito-robolectric-prebuilt",
        "mockito-kotlin2",
        "CredentialManagerShared",
        "ClockworkCredentialManager",
        "framework_graphics_flags_java_lib",
    ],
    java_resource_dirs: ["config"],
    upstream: true,
    strict_mode: false,
}