Descriptionchromeos: Add testing support code to OutputConfigurator.
This makes a few changes to OutputConfigurator to support
upcoming tests:
- Adds a TestApi class for dispatching XRandR events
- Pulls the kVerticalGap constant out to be a static member
- Adds a SetDelegateForTesting() method
- Moves D-Bus code into the delegate
It also fixes a bug that was probably introduced by one of
my recent changes where the gap wasn't being applied between
outputs. A test that I'm writing caught this. :-)
BUG=225536
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193155
Patch Set 1 #Patch Set 2 : minor changes #
Total comments: 9
Patch Set 3 : apply review feedback #Patch Set 4 : remove delegate check #
Messages
Total messages: 7 (0 generated)
|