~raof/mir/provide-event-fd

Viewing all changes in revision 2368.

  • Committer: Christopher James Halse Rogers
  • Date: 2015-05-07 00:16:23 UTC
  • Revision ID: christopher.halse.rogers@canonical.com-20150507001623-zg7us5prssfnb2al
Improve MirProtobufRpcChanneltests.

Rather than having the mock StreamTransport manually notifying until all
data is read (somewhat defeating the purpose of the “does it read all the
data” test), have the mock StreamTransport properly implement Dispatchable
and use MirProtobufRpcChannel's Dispatchable interface to drive things.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: