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

Issue 554213004: Refactored types to simplify pickling. (Closed)

Created:
6 years, 3 months ago by pgervais
Modified:
6 years, 3 months ago
Reviewers:
dnj, iannucci
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/testing/expect_tests@shebang
Visibility:
Public.

Description

Refactored types to simplify pickling. Removed any pickled function from objects sent the the result stage. Replaced namedtuple base class by custom class to simplify pickling. BUG=405428 R=dnj@chromium.org Committed: https://chromium.googlesource.com/infra/testing/expect_tests/+/fa814a8d03cea99a500bfcbc39c03197912a01ea

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed review comments #

Patch Set 3 : Removed *Info classes #

Total comments: 7

Patch Set 4 : Fixed breakpoints computation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -77 lines) Patch
M expect_tests/handle_list.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M expect_tests/type_definitions.py View 1 2 3 6 chunks +133 lines, -75 lines 0 comments Download

Messages

Total messages: 14 (1 generated)
pgervais
This is a followup on https://codereview.chromium.org/560173002/. I didn't realize that test results also contained pickled ...
6 years, 3 months ago (2014-09-16 21:26:16 UTC) #2
dnj
Thoughts on trashing the "*Info" classes in general and just overriding Test's and MultiTest's "__getstate__" ...
6 years, 3 months ago (2014-09-16 23:13:26 UTC) #3
pgervais
On 2014/09/16 23:13:26, dnj wrote: > Thoughts on trashing the "*Info" classes in general and ...
6 years, 3 months ago (2014-09-16 23:22:07 UTC) #4
pgervais
On 2014/09/16 23:22:07, pgervais wrote: > On 2014/09/16 23:13:26, dnj wrote: > > Thoughts on ...
6 years, 3 months ago (2014-09-17 01:44:40 UTC) #5
pgervais
On 2014/09/17 01:44:40, pgervais wrote: > On 2014/09/16 23:22:07, pgervais wrote: > > On 2014/09/16 ...
6 years, 3 months ago (2014-09-17 18:28:53 UTC) #6
dnj
LGTM w/ comments/nits. I like the change! https://codereview.chromium.org/554213004/diff/40001/expect_tests/type_definitions.py File expect_tests/type_definitions.py (right): https://codereview.chromium.org/554213004/diff/40001/expect_tests/type_definitions.py#newcode189 expect_tests/type_definitions.py:189: self._breakpoints = ...
6 years, 3 months ago (2014-09-17 20:10:52 UTC) #7
pgervais
https://codereview.chromium.org/554213004/diff/40001/expect_tests/type_definitions.py File expect_tests/type_definitions.py (right): https://codereview.chromium.org/554213004/diff/40001/expect_tests/type_definitions.py#newcode243 expect_tests/type_definitions.py:243: def bind(self, *args, **kwargs): On 2014/09/17 20:10:52, dnj wrote: ...
6 years, 3 months ago (2014-09-17 21:06:15 UTC) #8
dnj
On 2014/09/17 21:06:15, pgervais wrote: > https://codereview.chromium.org/554213004/diff/40001/expect_tests/type_definitions.py > File expect_tests/type_definitions.py (right): > > https://codereview.chromium.org/554213004/diff/40001/expect_tests/type_definitions.py#newcode243 > ...
6 years, 3 months ago (2014-09-17 21:07:39 UTC) #9
pgervais
Well, the solution you suggest is actually not equivalent to the current code, because of ...
6 years, 3 months ago (2014-09-17 21:15:19 UTC) #10
dnj
On 2014/09/17 21:15:19, pgervais wrote: > Well, the solution you suggest is actually not equivalent ...
6 years, 3 months ago (2014-09-17 21:17:58 UTC) #11
pgervais
On Wed, Sep 17, 2014 at 2:17 PM, <dnj@chromium.org> wrote: > On 2014/09/17 21:15:19, pgervais ...
6 years, 3 months ago (2014-09-17 21:26:29 UTC) #12
pgervais
Uploaded new patchset. ptal https://codereview.chromium.org/554213004/diff/40001/expect_tests/type_definitions.py File expect_tests/type_definitions.py (right): https://codereview.chromium.org/554213004/diff/40001/expect_tests/type_definitions.py#newcode193 expect_tests/type_definitions.py:193: breakpoints = copy.copy(breakpoints) On 2014/09/17 ...
6 years, 3 months ago (2014-09-17 21:32:51 UTC) #13
pgervais
6 years, 3 months ago (2014-09-17 23:19:23 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as fa814a8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698