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

Unified Diff: tools/telemetry/telemetry/web_perf/story_test.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: tools/telemetry/telemetry/web_perf/story_test.py
diff --git a/tools/telemetry/telemetry/web_perf/story_test.py b/tools/telemetry/telemetry/web_perf/story_test.py
deleted file mode 100644
index 2ed65a4d70d7401f6c9c24a54f9b627f3c3cdd8c..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/web_perf/story_test.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2015 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.
-
-
-class Failure(Exception):
- """StoryTest Exception raised when an undesired but designed-for problem."""
-
-
-class StoryTest(object):
- """A class for creating story tests.
-
- The overall test run control flow follows this order:
- test.WillRunStory
- state.WillRunStory
- state.RunStory
- test.Measure
- state.DidRunStory
- test.DidRunStory
- """
-
- def WillRunStory(self, platform):
- """Override to do any action before running the story.
-
- This is run before state.WillRunStory.
- Args:
- platform: The platform that the story will run on.
- """
- raise NotImplementedError()
-
- def Measure(self, platform, results):
- """Override to take the measurement.
-
- This is run only if state.RunStory is successful.
- Args:
- platform: The platform that the story will run on.
- results: The results of running the story.
- """
- raise NotImplementedError()
-
- def DidRunStory(self, platform):
- """Override to do any action after running the story, e.g., clean up.
-
- This is run after state.DidRunStory. And this is always called even if the
- test run failed.
- Args:
- platform: The platform that the story will run on.
- """
- raise NotImplementedError()

Powered by Google App Engine
This is Rietveld 408576698