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

Side by Side Diff: tools/telemetry/telemetry/story/shared_state.py

Issue 1140143002: [Telemetry] Remove results param in shared_state.TearDownState(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 class SharedState(object): 6 class SharedState(object):
7 """A class that manages the test state across multiple user stories. 7 """A class that manages the test state across multiple user stories.
8 It's styled on unittest.TestCase for handling test setup & teardown logic. 8 It's styled on unittest.TestCase for handling test setup & teardown logic.
9 9
10 """ 10 """
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 """ 48 """
49 raise NotImplementedError() 49 raise NotImplementedError()
50 50
51 def RunUserStory(self, results): 51 def RunUserStory(self, results):
52 """ Override to do any action before running each one of all user stories 52 """ Override to do any action before running each one of all user stories
53 that share this same state. 53 that share this same state.
54 This method is styled on unittest.TestCase.run. 54 This method is styled on unittest.TestCase.run.
55 """ 55 """
56 raise NotImplementedError() 56 raise NotImplementedError()
57 57
58 def TearDownState(self, results): 58 def TearDownState(self):
59 """ Override to do any action after running multiple user stories that 59 """ Override to do any action after running multiple user stories that
60 share this same state. 60 share this same state.
61 This method is styled on unittest.TestCase.tearDownClass. 61 This method is styled on unittest.TestCase.tearDownClass.
62 """ 62 """
63 raise NotImplementedError() 63 raise NotImplementedError()
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/page/shared_page_state.py ('k') | tools/telemetry/telemetry/user_story/android/shared_app_state.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698