Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / extensions / api / command_line_private / command_line_private_apitest.cc
blob36de0cea254b12ffd9d01be68cf9f4a8a16808a4
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/command_line.h"
6 #include "chrome/browser/extensions/extension_apitest.h"
8 namespace {
9 // This should be consistent with
10 // chrome/test/data/extensions/api_test/command_line/basics/test.js.
11 const char kTestCommandLineSwitch[] = "command-line-private-api-test-foo";
12 } // namespace
14 class CommandLinePrivateApiTest : public ExtensionApiTest {
15 void SetUpCommandLine(base::CommandLine* command_line) override {
16 ExtensionApiTest::SetUpCommandLine(command_line);
17 command_line->AppendSwitch(kTestCommandLineSwitch);
21 IN_PROC_BROWSER_TEST_F(CommandLinePrivateApiTest, Basics) {
22 EXPECT_TRUE(RunComponentExtensionTest("command_line/basics")) << message_;