Index: tools/telemetry/telemetry/benchmark.py |
diff --git a/tools/telemetry/telemetry/test.py b/tools/telemetry/telemetry/benchmark.py |
similarity index 95% |
rename from tools/telemetry/telemetry/test.py |
rename to tools/telemetry/telemetry/benchmark.py |
index 4df4bde0b42231005de0fb9b60ca8604fa9e2f00..c6574e32e1ece93e71b54095bb8a69ff3b89a840 100644 |
--- a/tools/telemetry/telemetry/test.py |
+++ b/tools/telemetry/telemetry/benchmark.py |
@@ -25,8 +25,8 @@ Disabled = decorators.Disabled |
Enabled = decorators.Enabled |
-class Test(command_line.Command): |
- """Base class for a Telemetry test or benchmark. |
+class Benchmark(command_line.Command): |
+ """Base class for a Telemetry benchmark. |
A test packages a PageTest/PageMeasurement and a PageSet together. |
""" |
@@ -153,9 +153,9 @@ class Test(command_line.Command): |
@classmethod |
def PageTestClass(cls): |
- """Get the PageTest for this Test. |
+ """Get the PageTest for this Benchmark. |
- If the Test has no PageTest, raises NotImplementedError. |
+ If the Benchmark has no PageTest, raises NotImplementedError. |
""" |
if not hasattr(cls, 'test'): |
raise NotImplementedError('This test has no "test" attribute.') |
@@ -165,9 +165,9 @@ class Test(command_line.Command): |
@classmethod |
def PageSetClass(cls): |
- """Get the PageSet for this Test. |
+ """Get the PageSet for this Benchmark. |
- If the Test has no PageSet, raises NotImplementedError. |
+ If the Benchmark has no PageSet, raises NotImplementedError. |
""" |
if not hasattr(cls, 'page_set'): |
raise NotImplementedError('This test has no "page_set" attribute.') |