| // 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")); |
| |
| } // namespace |