Today: ScopedMockTimeMessageLoopTaskRunner fails to properly replace MessageLoop's TaskRunner because TestMockTimeTaskRunner doesn't support RunLoop() (using it ends up running an empty queue).
Coming up: base::test::ScopedTaskEnvironment will also require the ability to drive the main thread via RunLoop() (https://docs.google.com/document/d/1QabRo8c7D9LsYY3cEcaPQbOCLo8Tu-6VLykYXyl3Pkk/edit).
Labels: -Pri-3 Pri-1 Status: Started (was: Assigned)
This is required to fix
content_unittests.exe --gtest_filter=MojoAsyncResourceHandlerUploadTest.UploadProgressHandling
in https://codereview.chromium.org/2491613004/ (Fix TaskRunner race in base::Timer and make it sequence-friendly).
The best way to fix that test is to make it override the main message loop's task runner but that breaks the underlying call to ControlMessageProxy::FlushForTesting() which correctly assumes RunLoop+SendMessage to ThreadTaskRunnerHandle with QuitClosure should work...
Comment 1 by gab@chromium.org
, Apr 10 2017Status: Started (was: Assigned)