Make hitting "Enter" submit the add/change profile dialog.
[chromium-blink-merge.git] / chrome / test / base / in_process_browser_test_browsertest.cc
blobd0178e6a052674335d92cd02bd7366a06c3f6199
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.
5 #include "chrome/test/base/in_process_browser_test.h"
7 #include <string.h>
9 #include "testing/gtest/include/gtest/gtest.h"
11 namespace {
13 class InProcessBrowserTestP
14 : public InProcessBrowserTest,
15 public ::testing::WithParamInterface<const char*> {
18 IN_PROC_BROWSER_TEST_P(InProcessBrowserTestP, TestP) {
19 EXPECT_EQ(0, strcmp("foo", GetParam()));
22 INSTANTIATE_TEST_CASE_P(IPBTP,
23 InProcessBrowserTestP,
24 ::testing::Values("foo"));
26 } // namespace