Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: content/test/gpu/gpu_tests/pixel_test.py

Issue 12252020: Add a telemetry-based gpu_tests folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/gpu/gpu_tests/pixel_test.py
diff --git a/content/test/gpu/gpu_tests/pixel_test.py b/content/test/gpu/gpu_tests/pixel_test.py
new file mode 100644
index 0000000000000000000000000000000000000000..f03b05a16905fe622eba059921e79e485faa071b
--- /dev/null
+++ b/content/test/gpu/gpu_tests/pixel_test.py
@@ -0,0 +1,16 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+from telemetry import page_test
+
+class PixelTestFailure(Exception):
+ pass
+
+class PixelTest(page_test.PageTest):
+ def __init__(self):
+ super(PixelTest, self).__init__('ValidatePage')
+
+ def ValidatePage(self, page, tab, results):
+ # TODO(bajones): Grab screenshot, compare to reference.
+ # page.reference_image
+ pass

Powered by Google App Engine
This is Rietveld 408576698