Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Side by Side Diff: chrome/test/security_tests/sandbox_browsertest_win.cc

Issue 285283003: Remove flag --test-sandbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change requested by resek, thanks Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "base/command_line.h"
6 #include "chrome/browser/ui/browser.h"
7 #include "chrome/browser/ui/tabs/tab_strip_model.h"
8 #include "chrome/common/chrome_switches.h"
9 #include "chrome/test/base/in_process_browser_test.h"
10
11 class SandboxWinTest : public InProcessBrowserTest {
12 protected:
13 SandboxWinTest() : InProcessBrowserTest() {}
14
15 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
16 command_line->AppendSwitchASCII(switches::kTestSandbox,
17 "security_tests.dll");
18 }
19 };
20
21 // Need a cross-platform test library: http://crbug.com/45771
22 // Verifies that chrome is running properly.
23 IN_PROC_BROWSER_TEST_F(SandboxWinTest, ExecuteDll) {
24 EXPECT_EQ(1, browser()->tab_strip_model()->count());
25 }
OLDNEW
« no previous file with comments | « chrome/test/security_tests/sandbox_browsertest_linux.cc ('k') | chrome/test/security_tests/sandbox_tests_mac-Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698