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

Side by Side Diff: apps/test/apps_test_launcher_delegate.cc

Issue 205653002: Add apps_browsertests target (currently running 0 tests). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
(Empty)
1 // Copyright 2014 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.
4
5 #include "apps/test/apps_test_launcher_delegate.h"
6
7 #include "apps/shell/app/shell_main_delegate.h"
8 #include "apps/test/apps_test_suite_base.h"
9 #include "base/command_line.h"
10 #include "content/public/app/content_main_delegate.h"
jam 2014/03/20 16:58:13 nit: not needd. also the previous include i think
Yoyo Zhou 2014/03/20 21:17:30 Done.
11
12 namespace apps {
13
14 int AppsTestLauncherDelegate::RunTestSuite(int argc, char** argv) {
15 return AppsTestSuiteBase(argc, argv).Run();
jam 2014/03/20 16:58:13 just call content::ContentTestSuiteBase(argc, argv
Yoyo Zhou 2014/03/20 21:17:30 Why is ContentTestSuiteBase's constructor protecte
jam 2014/03/20 23:43:22 I think because before, you always needed to deriv
16 }
17
18 bool AppsTestLauncherDelegate::AdjustChildProcessCommandLine(
19 base::CommandLine* command_line,
20 const base::FilePath& temp_data_dir) {
21 return true;
22 }
23
24 content::ContentMainDelegate*
25 AppsTestLauncherDelegate::CreateContentMainDelegate() {
26 return new ShellMainDelegate();
27 }
28
29 } // namespace apps
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698