Fixed skipping tests via test expectations.
commite4f9ee84fa195e4f2d83ca377457c13259005603
authorkbr <kbr@chromium.org>
Sat, 8 Aug 2015 01:53:59 +0000 (7 18:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 8 Aug 2015 01:54:46 +0000 (8 01:54 +0000)
treef3238c0365807a5c47a4875f5e684130a5dbde30
parentcf4c59f89eace8e68e36a3577907c4dc3dd19cc4
Fixed skipping tests via test expectations.

1) Implement skip test expectations using SharedPageState.CanRunOnBrowser.
This avoids doing implicit operations in Telemetry for these pages,
and replicates the earlier behavior when test expectations were
implemented in Telemetry.

2) Provide gpu_test_base.ValidatorBase.WillNavigateToPageInner and
override this in trace_test. This makes the overriding of Page and
PageTest's entry points more complete. Also provide
DidNavigateToPageInner.

3) Rename all of the "private" PageTests in content/test/gpu to public
names so discover.py can find them. This makes the unit tests more
complete, and found a bug in the Maps test where test expectations
would not have worked.

4) Expand the unit tests to cover the fixes above.

BUG=517232

Review URL: https://codereview.chromium.org/1275273002

Cr-Commit-Position: refs/heads/master@{#342502}
content/test/gpu/gpu_tests/context_lost.py
content/test/gpu/gpu_tests/gpu_process.py
content/test/gpu/gpu_tests/gpu_rasterization.py
content/test/gpu/gpu_tests/gpu_test_base.py
content/test/gpu/gpu_tests/gpu_test_base_unittest.py
content/test/gpu/gpu_tests/hardware_accelerated_feature.py
content/test/gpu/gpu_tests/maps.py
content/test/gpu/gpu_tests/pixel.py
content/test/gpu/gpu_tests/screenshot_sync.py
content/test/gpu/gpu_tests/trace_test.py
content/test/gpu/gpu_tests/webgl_conformance.py