Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc

Issue 1103083002: Disable CredentialManagerClientTest on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/password_manager/content/renderer/credential_manager_client_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/strings/string16.h" 5 #include "base/strings/string16.h"
6 #include "base/strings/string_util.h" 6 #include "base/strings/string_util.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "components/autofill/content/renderer/password_form_conversion_utils.h" 9 #include "components/autofill/content/renderer/password_form_conversion_utils.h"
10 #include "components/autofill/core/common/password_form.h" 10 #include "components/autofill/core/common/password_form.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 std::string ProduceHTML() const { 98 std::string ProduceHTML() const {
99 return html_ + "</FORM>"; 99 return html_ + "</FORM>";
100 } 100 }
101 101
102 private: 102 private:
103 std::string html_; 103 std::string html_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(PasswordFormBuilder); 105 DISALLOW_COPY_AND_ASSIGN(PasswordFormBuilder);
106 }; 106 };
107 107
108 // RenderVIewTest-based tests crash on Android 108 // RenderViewTest-based tests crash on Android
109 // http://crbug.com/187500 109 // http://crbug.com/187500
110 #if defined(OS_ANDROID) 110 #if defined(OS_ANDROID)
111 #define MAYBE_PasswordFormConversionUtilsTest \ 111 #define MAYBE_PasswordFormConversionUtilsTest \
112 DISABLED_PasswordFormConversionUtilsTest 112 DISABLED_PasswordFormConversionUtilsTest
113 #else 113 #else
114 #define MAYBE_PasswordFormConversionUtilsTest PasswordFormConversionUtilsTest 114 #define MAYBE_PasswordFormConversionUtilsTest PasswordFormConversionUtilsTest
115 #endif // defined(OS_ANDROID) 115 #endif // defined(OS_ANDROID)
116 116
117 class MAYBE_PasswordFormConversionUtilsTest : public content::RenderViewTest { 117 class MAYBE_PasswordFormConversionUtilsTest : public content::RenderViewTest {
118 public: 118 public:
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 692
693 scoped_ptr<PasswordForm> login_plus_signup_form; 693 scoped_ptr<PasswordForm> login_plus_signup_form;
694 ASSERT_NO_FATAL_FAILURE( 694 ASSERT_NO_FATAL_FAILURE(
695 LoadHTMLAndConvertForm(login_plus_signup_html, &login_plus_signup_form)); 695 LoadHTMLAndConvertForm(login_plus_signup_html, &login_plus_signup_form));
696 ASSERT_TRUE(login_plus_signup_form); 696 ASSERT_TRUE(login_plus_signup_form);
697 EXPECT_EQ(PasswordForm::Layout::LAYOUT_LOGIN_AND_SIGNUP, 697 EXPECT_EQ(PasswordForm::Layout::LAYOUT_LOGIN_AND_SIGNUP,
698 login_plus_signup_form->layout); 698 login_plus_signup_form->layout);
699 } 699 }
700 700
701 } // namespace autofill 701 } // namespace autofill
OLDNEW
« no previous file with comments | « no previous file | components/password_manager/content/renderer/credential_manager_client_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698