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..2cdeee1479c45f72be21196135a5ac720d7493bc |
--- /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")); |
+ |
+} // namespace |