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

Issue 8566021: Made changes to the test architecture so that we can run frameworks other than (Closed)

Created:
9 years, 1 month ago by Emily Fortuna
Modified:
9 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Made changes to the test architecture so that we can run frameworks other than just Firefox from WebDriver. Committed: https://code.google.com/p/dart/source/detail?r=1555

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 11

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 1

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -35 lines) Patch
M tests/language/language.status View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/test.py View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M tools/testing/architecture.py View 1 2 3 4 5 6 7 3 chunks +11 lines, -4 lines 0 comments Download
M tools/testing/run_selenium.py View 1 2 2 chunks +31 lines, -27 lines 0 comments Download
M tools/testing/test_case.py View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Emily Fortuna
9 years, 1 month ago (2011-11-14 23:41:34 UTC) #1
Siggi Cherem (dart-lang)
http://codereview.chromium.org/8566021/diff/2001/tools/test.py File tools/test.py (right): http://codereview.chromium.org/8566021/diff/2001/tools/test.py#newcode1223 tools/test.py:1223: 'webdriver, webdriverff, webdriverie, webdriverchrome)', I'm not sure about adding ...
9 years, 1 month ago (2011-11-14 23:56:06 UTC) #2
Emily Fortuna
http://codereview.chromium.org/8566021/diff/2001/tools/test.py File tools/test.py (right): http://codereview.chromium.org/8566021/diff/2001/tools/test.py#newcode1223 tools/test.py:1223: 'webdriver, webdriverff, webdriverie, webdriverchrome)', Sounds good. I like that ...
9 years, 1 month ago (2011-11-15 00:38:07 UTC) #3
Siggi Cherem (dart-lang)
9 years, 1 month ago (2011-11-15 02:16:18 UTC) #4
lgtm (with suggestion below)

http://codereview.chromium.org/8566021/diff/4008/tools/testing/architecture.py
File tools/testing/architecture.py (right):

http://codereview.chromium.org/8566021/diff/4008/tools/testing/architecture.p...
tools/testing/architecture.py:544: def GetArchitecture(arch, mode, component,
test, flags):
One suggestion: we might be able to do this without this parameter. 

Since TestCase updates the architecture already to store the flag in
'self.vm_options', we could use that directly in 'GetRunCommand'. (vm_options
might be empty when allocating the architecture, but I believe it should have
the flag when 'GetRunCommand' is called). 

Note: if you decide to keep the flag, make sure to update run.py as well.

Powered by Google App Engine
This is Rietveld 408576698