#include "chrome/test/chromedriver/chrome/mobile_device.h"
#include <string_view>
#include <utility>
#include "base/containers/contains.h"
#include "base/json/json_reader.h"
#include "base/logging.h"
#include "base/strings/pattern.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "chrome/test/chromedriver/chrome/client_hints.h"
#include "chrome/test/chromedriver/chrome/device_metrics.h"
#include "chrome/test/chromedriver/chrome/log.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
Eq;
Pointee;
namespace {
template <int Code>
testing::AssertionResult StatusCodeIs(const Status& status) { … }
testing::AssertionResult StatusOk(const Status& status) { … }
std::vector<std::string> GetDeviceNames() { … }
}
TEST(MobileDevicePreset, KnownMobileDeviceNamesIsNotEmpty) { … }
TEST(MobileDevicePreset, CanFindKnownDevices) { … }
TEST(MobileDevicePreset, CheckAnyDeviceWithClientHints) { … }
class MobileDevicePresetPerDeviceName
: public testing::TestWithParam<std::string> { … };
TEST_P(MobileDevicePresetPerDeviceName, ValidatePresets) { … }
INSTANTIATE_TEST_SUITE_P(…);