New issue
Advanced search Search tips

Issue 591889 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Feature



Sign in to add a comment

[Blimp Engine] Simplify ThreadPipeManagerTest to remove message loop-back

Project Member Reported by haibinlu@chromium.org, Mar 4 2016

Issue description

In particular,

per Kevin M comments on issue 1647193003, ThreadPipeManagerTest can use a mockable BlimpMessageProcessor on target |thread_| instead of using looping back FakeFeature.

RegisterFeature(...) {
  // check that we are sequenced on thread_
  return MockRegisterFeature(type, incoming_processor);
}

MOCK_METHOD2(MockRegisterFeature, BlimpMessageProcessor*(type,
incoming_processor).

 
Cc: kmarshall@chromium.org

Comment 2 by w...@chromium.org, Mar 4 2016

FWIW I'd suggest having a custom ThreadCheckingMessageProcessor that is constructed with the task-runner for the thread on which it expects to be run.

See https://code.google.com/p/chromium/codesearch#chromium/src/remoting/protocol/video_frame_pump_unittest.cc&sq=package:chromium&l=74 (ThreadCheckVideoEncoder) for a similar situation.

Comment 3 by amin...@google.com, Mar 24 2016

Components: Mobile>Blimp>Engine
Labels: -Proj-Blimp

Comment 4 by w...@chromium.org, Mar 31 2016

Status: Available (was: Untriaged)
Summary: [Blimp Engine] Simplify ThreadPipeManagerTest to remove message loop-back (was: [Blimp Engine] Improves unit test involving multiple threads)

Comment 5 by w...@chromium.org, Nov 15 2016

Status: WontFix (was: Available)
Closing out as this will be removed once we migrate to new transport.
Labels: Archive-Blimp

Sign in to add a comment