OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/memory/linked_ptr.h" | 8 #include "base/memory/linked_ptr.h" |
9 #include "base/observer_list_threadsafe.h" | 9 #include "base/observer_list_threadsafe.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 static TestDelegate* s_test_delegate_; | 171 static TestDelegate* s_test_delegate_; |
172 | 172 |
173 DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateApiTest); | 173 DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateApiTest); |
174 }; | 174 }; |
175 | 175 |
176 // static | 176 // static |
177 TestDelegate* PasswordsPrivateApiTest::s_test_delegate_ = nullptr; | 177 TestDelegate* PasswordsPrivateApiTest::s_test_delegate_ = nullptr; |
178 | 178 |
179 } // namespace | 179 } // namespace |
180 | 180 |
181 IN_PROC_BROWSER_TEST_F(PasswordsPrivateApiTest, CanPasswordAccountBeManaged) { | |
182 EXPECT_TRUE(RunPasswordsSubtest("canPasswordAccountBeManaged")) << message_; | |
183 } | |
184 | |
185 IN_PROC_BROWSER_TEST_F(PasswordsPrivateApiTest, RemoveSavedPassword) { | 181 IN_PROC_BROWSER_TEST_F(PasswordsPrivateApiTest, RemoveSavedPassword) { |
186 EXPECT_TRUE(RunPasswordsSubtest("removeSavedPassword")) << message_; | 182 EXPECT_TRUE(RunPasswordsSubtest("removeSavedPassword")) << message_; |
187 } | 183 } |
188 | 184 |
189 IN_PROC_BROWSER_TEST_F(PasswordsPrivateApiTest, RemovePasswordException) { | 185 IN_PROC_BROWSER_TEST_F(PasswordsPrivateApiTest, RemovePasswordException) { |
190 EXPECT_TRUE(RunPasswordsSubtest("removePasswordException")) << message_; | 186 EXPECT_TRUE(RunPasswordsSubtest("removePasswordException")) << message_; |
191 } | 187 } |
192 | 188 |
193 IN_PROC_BROWSER_TEST_F(PasswordsPrivateApiTest, RequestPlaintextPassword) { | 189 IN_PROC_BROWSER_TEST_F(PasswordsPrivateApiTest, RequestPlaintextPassword) { |
194 EXPECT_TRUE(RunPasswordsSubtest("requestPlaintextPassword")) << message_; | 190 EXPECT_TRUE(RunPasswordsSubtest("requestPlaintextPassword")) << message_; |
195 } | 191 } |
196 | 192 |
197 } // namespace extensions | 193 } // namespace extensions |
OLD | NEW |