| Index: components/arc/arc_util_unittest.cc
|
| diff --git a/components/arc/arc_util_unittest.cc b/components/arc/arc_util_unittest.cc
|
| index 5fd4cdd86de3a80be8cebded22f8a490b3c7a298..6534ae3bf1ff024d615c46328f169876af551164 100644
|
| --- a/components/arc/arc_util_unittest.cc
|
| +++ b/components/arc/arc_util_unittest.cc
|
| @@ -80,4 +80,17 @@ TEST_F(ArcUtilTest, IsArcAvailable_OfficialSupport) {
|
| EXPECT_TRUE(IsArcAvailable());
|
| }
|
|
|
| +// TODO(hidehiko): Add test for IsArcKioskMode().
|
| +// It depends on UserManager, but a utility to inject fake instance is
|
| +// available only in chrome/. To use it in components/, refactoring is needed.
|
| +
|
| +TEST_F(ArcUtilTest, IsArcOptInVerificationDisabled) {
|
| + auto* command_line = base::CommandLine::ForCurrentProcess();
|
| + command_line->InitFromArgv({""});
|
| + EXPECT_FALSE(IsArcOptInVerificationDisabled());
|
| +
|
| + command_line->InitFromArgv({"", "--disable-arc-opt-in-verification"});
|
| + EXPECT_TRUE(IsArcOptInVerificationDisabled());
|
| +}
|
| +
|
| } // namespace arc
|
|
|