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

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

Issue 337603005: Rename telemetry.test.Test to telemetry.benchmark.Benchmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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/memory.py
diff --git a/content/test/gpu/gpu_tests/memory.py b/content/test/gpu/gpu_tests/memory.py
index dddb4725cf51d37c1ebfd49935623ceade382c5f..0ed87f9c05c2dd2dd12ebef2c622c343c3683a83 100644
--- a/content/test/gpu/gpu_tests/memory.py
+++ b/content/test/gpu/gpu_tests/memory.py
@@ -4,7 +4,7 @@
import memory_expectations
import page_sets
-from telemetry import test
+from telemetry import benchmark
from telemetry.page import page_test
from telemetry.timeline import counter
from telemetry.timeline import model
@@ -90,7 +90,7 @@ class _MemoryValidator(page_test.PageTest):
return 'Memory allocation too %s (was %d MB, should be %d MB +/- %d MB)' % (
low_or_high, mb_used, SINGLE_TAB_LIMIT_MB, WIGGLE_ROOM_MB)
-class Memory(test.Test):
+class Memory(benchmark.Benchmark):
"""Tests GPU memory limits"""
test = _MemoryValidator
page_set = page_sets.MemoryTestsPageSet

Powered by Google App Engine
This is Rietveld 408576698