"video_frame_writer_queue_unittest.cc",Zijie HeI think we should either:
1. move VideoFrameWriterQueue to a separate file
2. create fuchsia_video_encode_accelerator_unittest, which can test VideoFrameWriterQueue.
Ah, good idea, that's even cleaner.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
EXPECT_TRUE(base::test::RunUntil([&]() { return processed; }));Do we need `RunUntil` in this test? AFAICT `Enqueue` should start processing synchronously, so we should be ok with just a direct assertion?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
EXPECT_TRUE(base::test::RunUntil([&]() { return processed; }));Do we need `RunUntil` in this test? AFAICT `Enqueue` should start processing synchronously, so we should be ok with just a direct assertion?
For this test case, very likely it would be handled immediately. But I think in general it's against the API definition and relying on the implementation details.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |