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

Issue 21008004: Changes argument passing to use options objects (Closed)

Created:
7 years, 4 months ago by gkanwar1
Modified:
7 years, 4 months ago
Reviewers:
craigdh, frankf
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Changes argument passing to use options objects Options objects are specific to the test type, and are named tuples, so they are also immutable. This is a precursor to the host-driven refactor. BUG=176323 NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215054

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebases and fixes some issues #

Total comments: 4

Patch Set 3 : Cleans up some docstrings #

Patch Set 4 : Moves test options into individual test types, fixes host-driven tests #

Total comments: 4

Patch Set 5 : Fixes imports, removes intermediate variables #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -184 lines) Patch
M build/android/pylib/gtest/setup.py View 1 2 3 4 2 chunks +13 lines, -24 lines 0 comments Download
A build/android/pylib/gtest/test_options.py View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M build/android/pylib/gtest/test_runner.py View 1 2 1 chunk +12 lines, -11 lines 0 comments Download
M build/android/pylib/host_driven/python_test_base.py View 1 2 3 4 2 chunks +18 lines, -9 lines 0 comments Download
M build/android/pylib/host_driven/run_python_tests.py View 1 2 3 4 2 chunks +19 lines, -5 lines 0 comments Download
M build/android/pylib/instrumentation/setup.py View 1 2 1 chunk +10 lines, -31 lines 0 comments Download
A build/android/pylib/instrumentation/test_options.py View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M build/android/pylib/instrumentation/test_runner.py View 1 2 8 chunks +16 lines, -30 lines 0 comments Download
M build/android/pylib/uiautomator/setup.py View 1 2 1 chunk +8 lines, -31 lines 0 comments Download
A build/android/pylib/uiautomator/test_options.py View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M build/android/pylib/uiautomator/test_runner.py View 1 2 3 4 1 chunk +29 lines, -13 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 4 9 chunks +75 lines, -30 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
gkanwar1
ptal
7 years, 4 months ago (2013-07-30 22:23:53 UTC) #1
frankf
https://codereview.chromium.org/21008004/diff/1/build/android/pylib/browsertests/setup.py File build/android/pylib/browsertests/setup.py (right): https://codereview.chromium.org/21008004/diff/1/build/android/pylib/browsertests/setup.py#newcode5 build/android/pylib/browsertests/setup.py:5: """Generate test runner factory and tests for content_browsertests.""" Always ...
7 years, 4 months ago (2013-07-31 00:14:00 UTC) #2
gkanwar1
Rebased and put out fires, ptal. https://codereview.chromium.org/21008004/diff/1/build/android/pylib/browsertests/setup.py File build/android/pylib/browsertests/setup.py (right): https://codereview.chromium.org/21008004/diff/1/build/android/pylib/browsertests/setup.py#newcode5 build/android/pylib/browsertests/setup.py:5: """Generate test runner ...
7 years, 4 months ago (2013-07-31 18:07:06 UTC) #3
frankf
https://codereview.chromium.org/21008004/diff/8001/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/21008004/diff/8001/build/android/pylib/instrumentation/test_runner.py#newcode58 build/android/pylib/instrumentation/test_runner.py:58: options relevant to running instrumentation tests. too verbose. test_options: ...
7 years, 4 months ago (2013-07-31 19:03:56 UTC) #4
gkanwar1
https://codereview.chromium.org/21008004/diff/8001/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/21008004/diff/8001/build/android/pylib/instrumentation/test_runner.py#newcode58 build/android/pylib/instrumentation/test_runner.py:58: options relevant to running instrumentation tests. On 2013/07/31 19:03:56, ...
7 years, 4 months ago (2013-07-31 19:09:29 UTC) #5
gkanwar1
On 2013/07/31 19:09:29, gkanwar1 wrote: > https://codereview.chromium.org/21008004/diff/8001/build/android/pylib/instrumentation/test_runner.py > File build/android/pylib/instrumentation/test_runner.py (right): > > https://codereview.chromium.org/21008004/diff/8001/build/android/pylib/instrumentation/test_runner.py#newcode58 > ...
7 years, 4 months ago (2013-07-31 22:12:11 UTC) #6
frankf
https://codereview.chromium.org/21008004/diff/23001/build/android/pylib/gtest/setup.py File build/android/pylib/gtest/setup.py (right): https://codereview.chromium.org/21008004/diff/23001/build/android/pylib/gtest/setup.py#newcode272 build/android/pylib/gtest/setup.py:272: gtest_filter = test_options.gtest_filter NO need for intermediate variables. https://codereview.chromium.org/21008004/diff/23001/build/android/test_runner.py ...
7 years, 4 months ago (2013-07-31 22:16:28 UTC) #7
gkanwar1
https://codereview.chromium.org/21008004/diff/23001/build/android/pylib/gtest/setup.py File build/android/pylib/gtest/setup.py (right): https://codereview.chromium.org/21008004/diff/23001/build/android/pylib/gtest/setup.py#newcode272 build/android/pylib/gtest/setup.py:272: gtest_filter = test_options.gtest_filter On 2013/07/31 22:16:28, frankf wrote: > ...
7 years, 4 months ago (2013-07-31 22:54:41 UTC) #8
frankf
lgtm, thanks.
7 years, 4 months ago (2013-07-31 23:01:50 UTC) #9
gkanwar1
On 2013/07/31 23:01:50, frankf wrote: > lgtm, thanks. android_fyi_dbg_triggered and android_x86_dbg appear to be external ...
7 years, 4 months ago (2013-08-01 16:57:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gkanwar@chromium.org/21008004/31001
7 years, 4 months ago (2013-08-01 16:58:49 UTC) #11
commit-bot: I haz the power
7 years, 4 months ago (2013-08-01 16:59:25 UTC) #12
Message was sent while issue was closed.
Change committed as 215054

Powered by Google App Engine
This is Rietveld 408576698