This source file includes following definitions.
- SetUpCommandLine
- IN_PROC_BROWSER_TEST_F
#include "base/command_line.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/in_process_browser_test.h"
class SandboxWinTest : public InProcessBrowserTest {
protected:
SandboxWinTest() : InProcessBrowserTest() {}
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
command_line->AppendSwitchASCII(switches::kTestSandbox,
"security_tests.dll");
}
};
IN_PROC_BROWSER_TEST_F(SandboxWinTest, ExecuteDll) {
EXPECT_EQ(1, browser()->tab_strip_model()->count());
}