OLD | NEW |
---|---|
(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 } | |
Paweł Hajdan Jr.
2011/05/24 10:04:42
nit: // namespace
Sheridan Rawlins
2011/05/24 15:04:29
Done.
| |
OLD | NEW |