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

Unified Diff: content/public/test/content_test_suite_base.cc

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 | « no previous file | ios/web/test/web_test_suite.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/content_test_suite_base.cc
diff --git a/content/public/test/content_test_suite_base.cc b/content/public/test/content_test_suite_base.cc
index e1eb62326404c214ec9027e53d189c4270352455..f517d30c9ca7e955f82b57ea81349b145d1ef106 100644
--- a/content/public/test/content_test_suite_base.cc
+++ b/content/public/test/content_test_suite_base.cc
@@ -7,12 +7,10 @@
#include <memory>
#include "base/compiler_specific.h"
-#include "base/macros.h"
#include "base/metrics/statistics_recorder.h"
#include "base/test/test_suite.h"
#include "base/threading/sequenced_worker_pool.h"
#include "build/build_config.h"
-#include "content/browser/browser_thread_impl.h"
#include "content/browser/gpu/gpu_process_host.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/utility_process_host_impl.h"
@@ -55,17 +53,6 @@
namespace content {
-class ContentTestSuiteBaseListener : public testing::EmptyTestEventListener {
- public:
- ContentTestSuiteBaseListener() {
- }
- void OnTestEnd(const testing::TestInfo& test_info) override {
- BrowserThreadImpl::FlushThreadPoolHelperForTesting();
- }
- private:
- DISALLOW_COPY_AND_ASSIGN(ContentTestSuiteBaseListener);
-};
-
ContentTestSuiteBase::ContentTestSuiteBase(int argc, char** argv)
: base::TestSuite(argc, argv) {
}
@@ -102,8 +89,6 @@ void ContentTestSuiteBase::Initialize() {
#endif
#endif
- testing::UnitTest::GetInstance()->listeners().Append(
- new ContentTestSuiteBaseListener);
ui::MaterialDesignController::Initialize();
}
« no previous file with comments | « no previous file | ios/web/test/web_test_suite.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698