Chromium Code Reviews| Index: chrome/test/in_process_browser_test_browsertest.cc |
| diff --git a/chrome/test/in_process_browser_test_browsertest.cc b/chrome/test/in_process_browser_test_browsertest.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ac671afec789f4de1b97a09c4202e408db769b90 |
| --- /dev/null |
| +++ b/chrome/test/in_process_browser_test_browsertest.cc |
| @@ -0,0 +1,26 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/test/in_process_browser_test.h" |
| + |
| +#include <string.h> |
| + |
| +#include "testing/gtest/include/gtest/gtest.h" |
| + |
| +namespace { |
| + |
| +class InProcessBrowserTestP |
| + : public InProcessBrowserTest, |
| + public ::testing::WithParamInterface<const char*> { |
| +}; |
| + |
| +IN_PROC_BROWSER_TEST_P(InProcessBrowserTestP, TestP) { |
| + EXPECT_EQ(0, strcmp("foo", GetParam())); |
| +} |
| + |
| +INSTANTIATE_TEST_CASE_P(IPBTP, |
| + InProcessBrowserTestP, |
| + ::testing::Values("foo")); |
| + |
| +} |
|
Paweł Hajdan Jr.
2011/05/24 10:04:42
nit: // namespace
Sheridan Rawlins
2011/05/24 15:04:29
Done.
|