| Index: components/arc/arc_util_unittest.cc
|
| diff --git a/components/arc/arc_util_unittest.cc b/components/arc/arc_util_unittest.cc
|
| index b3fff189f38516d1a8a9152bb41b98afb7b6eceb..ff3f6113ea3934aec56167e133f45aba62c499d0 100644
|
| --- a/components/arc/arc_util_unittest.cc
|
| +++ b/components/arc/arc_util_unittest.cc
|
| @@ -80,5 +80,18 @@ 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
|
| } // namespace arc
|
|
|