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

Unified Diff: chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py

Issue 196096: First part of automated_ui_tests improvements.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: disable on lin/mac Created 11 years, 3 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
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome/tools/automated_ui_test_tools/possible_actions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py
diff --git a/chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py b/chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py
index df9bc2275f22012a822626e06a31f6851ca27ed9..4c335e6d3735eac73805ee874c95f44d318aa9dd 100755
--- a/chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py
+++ b/chrome/tools/automated_ui_test_tools/auto_ui_test_input_generator.py
@@ -245,7 +245,10 @@ class AutomatedTestInputGenerator:
def __init__(self):
(options,args) = ParseCommandLine()
input_file = open(options.input_file_name)
- actions_list = input_file.readlines()
+ actions_list = []
+ for line in input_file.readlines():
+ if not line.startswith('#'):
+ actions_list.append(line)
input_file.close()
self.__commands_per_file = options.commands_per_file
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome/tools/automated_ui_test_tools/possible_actions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698