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

Side by Side Diff: chrome/test/in_process_browser_test_browsertest.cc

Issue 7060003: Register parameterized tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed nit to comment namespace end. Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/in_process_browser_test.h ('k') | chrome/test/out_of_proc_test_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 "chrome/test/in_process_browser_test.h"
6
7 #include <string.h>
8
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 namespace {
12
13 class InProcessBrowserTestP
14 : public InProcessBrowserTest,
15 public ::testing::WithParamInterface<const char*> {
16 };
17
18 IN_PROC_BROWSER_TEST_P(InProcessBrowserTestP, TestP) {
19 EXPECT_EQ(0, strcmp("foo", GetParam()));
20 }
21
22 INSTANTIATE_TEST_CASE_P(IPBTP,
23 InProcessBrowserTestP,
24 ::testing::Values("foo"));
25
26 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/in_process_browser_test.h ('k') | chrome/test/out_of_proc_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698