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

Side by Side Diff: chrome/browser/password_manager/password_store_x_unittest.cc

Issue 7744039: Switch ChromeTestSuite to the same convention as ContentTestSuite: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixing Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/platform_file.h" 7 #include "base/platform_file.h"
8 #include "base/scoped_temp_dir.h" 8 #include "base/scoped_temp_dir.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 switch (GetParam()) { 313 switch (GetParam()) {
314 case FAILING_BACKEND: 314 case FAILING_BACKEND:
315 return new FailingBackend(); 315 return new FailingBackend();
316 case WORKING_BACKEND: 316 case WORKING_BACKEND:
317 return new MockBackend(); 317 return new MockBackend();
318 default: 318 default:
319 return NULL; 319 return NULL;
320 } 320 }
321 } 321 }
322 322
323 ScopedTestingBrowserProcess browser_process_;
324
325 MessageLoopForUI message_loop_; 323 MessageLoopForUI message_loop_;
326 BrowserThread ui_thread_; 324 BrowserThread ui_thread_;
327 BrowserThread db_thread_; // PasswordStore, WDS schedule work on this thread. 325 BrowserThread db_thread_; // PasswordStore, WDS schedule work on this thread.
328 326
329 scoped_ptr<LoginDatabase> login_db_; 327 scoped_ptr<LoginDatabase> login_db_;
330 scoped_ptr<TestingProfile> profile_; 328 scoped_ptr<TestingProfile> profile_;
331 scoped_refptr<WebDataService> wds_; 329 scoped_refptr<WebDataService> wds_;
332 ScopedTempDir temp_dir_; 330 ScopedTempDir temp_dir_;
333 }; 331 };
334 332
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 763
766 INSTANTIATE_TEST_CASE_P(NoBackend, 764 INSTANTIATE_TEST_CASE_P(NoBackend,
767 PasswordStoreXTest, 765 PasswordStoreXTest,
768 testing::Values(NO_BACKEND)); 766 testing::Values(NO_BACKEND));
769 INSTANTIATE_TEST_CASE_P(FailingBackend, 767 INSTANTIATE_TEST_CASE_P(FailingBackend,
770 PasswordStoreXTest, 768 PasswordStoreXTest,
771 testing::Values(FAILING_BACKEND)); 769 testing::Values(FAILING_BACKEND));
772 INSTANTIATE_TEST_CASE_P(WorkingBackend, 770 INSTANTIATE_TEST_CASE_P(WorkingBackend,
773 PasswordStoreXTest, 771 PasswordStoreXTest,
774 testing::Values(WORKING_BACKEND)); 772 testing::Values(WORKING_BACKEND));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698