This source file includes following definitions.
- SetUpCommandLine
- IN_PROC_BROWSER_TEST_F
#include "base/command_line.h"
#include "chrome/browser/extensions/extension_apitest.h"
namespace {
const char kTestCommandLineSwitch[] = "command-line-private-api-test-foo";
}
class CommandLinePrivateApiTest : public ExtensionApiTest {
virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE {
ExtensionApiTest::SetUpCommandLine(command_line);
command_line->AppendSwitch(kTestCommandLineSwitch);
}
};
IN_PROC_BROWSER_TEST_F(CommandLinePrivateApiTest, Basics) {
EXPECT_TRUE(RunComponentExtensionTest("command_line/basics")) << message_;
}