# Copyright 2017 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("test") {
testonly = true
sources = [
"fullscreen_model_test_util.h",
"fullscreen_model_test_util.mm",
"test_fullscreen_controller.h",
"test_fullscreen_controller.mm",
"test_fullscreen_controller_observer.h",
"test_fullscreen_controller_observer.mm",
"test_fullscreen_mediator.h",
"test_fullscreen_mediator.mm",
"test_fullscreen_model_observer.h",
"test_fullscreen_model_observer.mm",
]
deps = [
"//base",
"//ios/chrome/browser/ui/broadcaster",
"//ios/chrome/browser/ui/fullscreen",
"//ios/chrome/browser/ui/fullscreen:internal",
"//ios/chrome/browser/ui/fullscreen:ui",
"//testing/gtest",
]
}
source_set("eg_app_support+eg2") {
testonly = true
sources = [
"fullscreen_app_interface.h",
"fullscreen_app_interface.mm",
]
deps = [
"//ios/chrome/browser/ntp/ui_bundled:logo",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/profile",
"//ios/chrome/browser/ui/fullscreen",
"//ios/chrome/test/app:test_support",
"//ios/web/public",
]
}
source_set("eg_test_support+eg2") {
configs += [ "//build/config/ios:xctest_config" ]
testonly = true
sources = [
"fullscreen_app_interface.h",
"fullscreen_app_interface_stub.mm",
]
deps = [ "//ios/testing/earl_grey:eg_test_support+eg2" ]
}