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

Side by Side Diff: ios/chrome/test/ios_chrome_unit_test_suite.h

Issue 2592173002: Fix ios_chrome_unittests to crash on DCHECK failure. (Closed)
Patch Set: Address comments Created 3 years, 12 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 | « ios/chrome/test/BUILD.gn ('k') | ios/chrome/test/ios_chrome_unit_test_suite.mm » ('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 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 #ifndef IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ 5 #ifndef IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_
6 #define IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ 6 #define IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/single_thread_task_runner.h"
10 #include "ios/web/public/test/web_test_suite.h" 11 #include "ios/web/public/test/web_test_suite.h"
11 12
12 // Test suite for unit tests. 13 // Test suite for unit tests.
13 class IOSChromeUnitTestSuite : public web::WebTestSuite { 14 class IOSChromeUnitTestSuite : public web::WebTestSuite {
14 public: 15 public:
15 IOSChromeUnitTestSuite(int argc, char** argv); 16 IOSChromeUnitTestSuite(int argc, char** argv);
16 ~IOSChromeUnitTestSuite() override; 17 ~IOSChromeUnitTestSuite() override;
17 18
18 // web::WebTestSuite overrides: 19 // web::WebTestSuite overrides:
19 void Initialize() override; 20 void Initialize() override;
20 21
21 private: 22 private:
23 scoped_refptr<base::SingleThreadTaskRunner> action_task_runner_;
24
22 DISALLOW_COPY_AND_ASSIGN(IOSChromeUnitTestSuite); 25 DISALLOW_COPY_AND_ASSIGN(IOSChromeUnitTestSuite);
23 }; 26 };
24 27
25 #endif // IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_ 28 #endif // IOS_CHROME_TEST_IOS_CHROME_UNIT_TEST_SUITE_H_
OLDNEW
« no previous file with comments | « ios/chrome/test/BUILD.gn ('k') | ios/chrome/test/ios_chrome_unit_test_suite.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698