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

Side by Side Diff: tools/telemetry/telemetry/compound_action_unittest.py

Issue 12294002: Revert 182991 (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 from telemetry import all_page_actions 5 from telemetry import all_page_actions
6 from telemetry import compound_action 6 from telemetry import compound_action
7 from telemetry import page_action 7 from telemetry import page_action
8 from telemetry import tab_test_case 8 from telemetry import tab_test_case
9 9
10 class AppendAction(page_action.PageAction): 10 class AppendAction(page_action.PageAction):
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 { 70 {
71 'action': 'compound_action', 71 'action': 'compound_action',
72 'actions': [ 72 'actions': [
73 { 'action': 'wrap_append', 'var': action_list } 73 { 'action': 'wrap_append', 'var': action_list }
74 ] 74 ]
75 } 75 }
76 ] 76 ]
77 }) 77 })
78 action.RunAction(None, self._tab, None) 78 action.RunAction(None, self._tab, None)
79 self.assertEqual(action_list, ['before', True, 'after']) 79 self.assertEqual(action_list, ['before', True, 'after'])
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/compound_action.py ('k') | tools/telemetry/telemetry/core/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698