forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cast: Create separate CastEnvironments for sender/receiver in End2End…
…Test. This is done to avoid a loopback of logging events described in bug 347305. Now we can have slightly stronger assertions in End2EndTest. Because CastEnvironment takes ownership of the passed in clock, we now have to create an extra clock for the receiver CastEnvironment. We also have to keep the two clocks in sync. This isn't too bad since the clock is only advanced in one place, and only End2EndTest has this interesting sender+receiver setup. BUG=347305 Review URL: https://codereview.chromium.org/180093004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254094 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
imcheng@chromium.org
committed
Feb 28, 2014
1 parent
09074b3
commit 9975158
Showing
1 changed file
with
94 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters