DescriptionDelete TestDisplaySnapshot and update tests.
Replace TestDisplaySnapshot with FakeDisplaySnapshot in tests.
FakeDisplaySnapshot has builder that makes it more readable. Delete an
unncessary build target along with TestDisplaySnapshot.
Tests should be unchanged for the most part. One test was split into two
tests where two very different behaviours were being checked.
Also update tests to use C++11 features where possible. Mostly replacing
raw pointers with unique_ptr<> and NULL with nullptr.
BUG=none
Committed: https://crrev.com/c354dd23b3dba31cd144ffa04e072fe330acc7c3
Cr-Commit-Position: refs/heads/master@{#427147}
Patch Set 1 #Patch Set 2 : Cleanup. #Patch Set 3 : Rebase and cleanup. #Messages
Total messages: 17 (12 generated)
|