blob: a15a883b1e1b1c2b49fb18c85b622ea14e22d3a3 [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_TEST_EARL_GREY_TEST_SWITCHES_H_
#define IOS_CHROME_TEST_EARL_GREY_TEST_SWITCHES_H_
namespace test_switches {
// Switch used to force the use of the real SystemIdentityManager for EarlGrey
// tests (i.e. the one returned by the provider API). If not specified, a fake
// SystemIdentityManager is installed for all EarlGrey tests.
extern const char kForceRealSystemIdentityManager[];
// Switch used to add identities when starting the fake SystemIdentityManager.
// The value comes from `+[FakeSystemIdentity encodeIdentitiesToBase64:]`.
// Alternatively, if no value is passed, `fakeIdentity1` is used by default.
//
// Ignored if kForceRealSystemIdentityManager is used.
extern const char kAddFakeIdentitiesAtStartup[];
// Switch used to simulate a post device restore in EG tests.
extern const char kSimulatePostDeviceRestore[];
// Switch used to enable FakeTabGroupSyncService for testing.
extern const char kEnableFakeTabGroupSyncService[];
// Switch used to force the status of fetching the Google Family for the user in
// Earl Grey tests. If not specified, unknown status is retuned for all tests.
extern const char kFamilyStatus[];
// Switch used to enable a certain IPH for testing. The value should be the IPH
// feature to enable. Leave blank/empty value to enable all IPH in testing.
extern const char kEnableIPH[];
// Switch used to install a mock ShoppingService.
extern const char kMockShoppingService[];
} // namespace test_switches
#endif // IOS_CHROME_TEST_EARL_GREY_TEST_SWITCHES_H_