Description[Views] Fix WidgetTest.GetRestoredBounds
Test was failing on Mac because ViewsTestHelperMac::TearDown()
now DCHECKs that all Widgets are closed (added in r334985). Fix
this by closing the Widget at end of test.
Also re-enable this test on Win. It's unfortunately still broken on
Linux (see bug).
Also re-write the test a bit to make it clearer.
BUG=378134, 515369
Committed: https://crrev.com/1456431501bdaf8c9362e25343b7393126a722af
Cr-Commit-Position: refs/heads/master@{#341643}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comments. #Patch Set 3 : Clean up test. #Patch Set 4 : Use ScopedFakeNSWindowFullscreen. #Patch Set 5 : Disable on Linux. #
Total comments: 8
Patch Set 6 : Address comments. #Messages
Total messages: 14 (4 generated)
|