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

Unified Diff: ios/web/test/web_test_suite.mm

Issue 2355093003: Do not flush SequencedWorkerPools in browser tests. (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/content_test_suite_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/test/web_test_suite.mm
diff --git a/ios/web/test/web_test_suite.mm b/ios/web/test/web_test_suite.mm
index b0edc6f21dd3a43313d1e367f4958f02d352f333..11102ec8df44557e78aeecfd06b897fe93608898 100644
--- a/ios/web/test/web_test_suite.mm
+++ b/ios/web/test/web_test_suite.mm
@@ -4,29 +4,16 @@
#include "ios/web/public/test/web_test_suite.h"
-#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/metrics/statistics_recorder.h"
#include "base/path_service.h"
#import "ios/web/public/test/test_web_client.h"
#include "ios/web/public/url_schemes.h"
-#include "ios/web/web_thread_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/resource/resource_bundle.h"
namespace web {
-class WebTestSuiteListener : public testing::EmptyTestEventListener {
- public:
- WebTestSuiteListener() {}
- void OnTestEnd(const testing::TestInfo& test_info) override {
- WebThreadImpl::FlushThreadPoolHelperForTesting();
- }
-
- private:
- DISALLOW_COPY_AND_ASSIGN(WebTestSuiteListener);
-};
-
WebTestSuite::WebTestSuite(int argc, char** argv)
: base::TestSuite(argc, argv),
web_client_(base::WrapUnique(new TestWebClient)) {}
@@ -41,9 +28,6 @@ void WebTestSuite::Initialize() {
// by tests.
base::StatisticsRecorder::Initialize();
- testing::UnitTest::GetInstance()->listeners().Append(
- new WebTestSuiteListener);
-
RegisterWebSchemes(false);
// Force unittests to run using en-US so if testing string output will work
« no previous file with comments | « content/public/test/content_test_suite_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698