1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni")
assert(is_chromeos)
static_library("test_support") {
testonly = true
sources = [
"affiliation_mixin.cc",
"affiliation_mixin.h",
"affiliation_test_helper.cc",
"affiliation_test_helper.h",
]
deps = [
"//ash/constants",
"//base",
"//chrome/browser:browser_process",
"//chrome/browser/ash/login",
"//chrome/browser/ash/login/session:test_support",
"//chrome/browser/ash/login/test:test_support",
"//chrome/browser/ash/policy/core:test_support",
"//chrome/common:constants",
"//chrome/test:test_support_ui",
"//chromeos/ash/components/cryptohome",
"//chromeos/ash/components/dbus/session_manager",
"//chromeos/ash/components/dbus/userdataauth",
"//chromeos/ash/components/login/auth/public:authpublic",
"//chromeos/ash/components/policy/device_policy:test_support",
"//chromeos/dbus/constants",
"//components/account_id",
"//components/policy/core/common",
"//components/policy/core/common:test_support",
"//components/prefs",
"//components/user_manager",
"//crypto",
"//testing/gtest",
]
}
source_set("browser_tests") {
testonly = true
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
sources = [ "user_affiliation_browsertest.cc" ]
deps = [
":test_support",
"//ash/constants",
"//base",
"//chrome/browser",
"//chrome/browser/ash/login/test:test_support",
"//chrome/browser/profiles:profile",
"//chrome/test:test_support_ui",
"//chromeos/ash/components/cryptohome",
"//chromeos/ash/components/dbus",
"//chromeos/ash/components/dbus/session_manager",
"//chromeos/ash/components/dbus/upstart",
"//chromeos/ash/components/dbus/userdataauth",
"//chromeos/ash/components/install_attributes",
"//components/account_id",
"//components/policy/core/common",
"//components/user_manager",
"//content/public/browser",
"//content/test:test_support",
"//crypto:test_support",
"//net",
"//testing/gtest",
]
}
|