|
|
Created:
4 years, 2 months ago by Hwanseung Lee Modified:
4 years, 2 months ago Reviewers:
zino CC:
chromium-reviews, blink-reviews, Hwanseung Lee(hs1217.lee) Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptionassert_*d_matrix_equals fuction can accept array as expected parameter.
when use it, it makes more simple test code.
BUG=None
Committed: https://crrev.com/c7a688377217a7a7fa65a4ace691a471e16c0231
Cr-Commit-Position: refs/heads/master@{#420857}
Patch Set 1 #
Total comments: 2
Patch Set 2 : assert_*d_matrix_equals fuction can accept array as expected parameter. #
Total comments: 4
Patch Set 3 : isIdentity should be false. #Patch Set 4 : assert_*d_matrix_equals fuction can accept array as expected parameter. #
Messages
Total messages: 33 (19 generated)
Description was changed from ========== assert_*d_matrix_equals fuction can accept array as expected parameter. it makes more simply test code. BUG= None ========== to ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG= None ==========
hs1217.lee@samsung.com changed reviewers: + jinho.bang@samsung.com
@zino PTAL, thank you.
https://codereview.chromium.org/2364393002/diff/1/third_party/WebKit/LayoutTe... File third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js (right): https://codereview.chromium.org/2364393002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js:22: var isArrayExected = Array.isArray(expected); Let's simplify as follows. (It's not perfect yet but you can polish it) function assert_2d_matrix_equals(actual, expected, description) { if (Array.isArray(expected)) { assert_equals(6, expected_length); assert_matrix_equals(actual, { ... }); } else { expected['is2D'] = false; expected['isIdentity'] = false; assert_matrix_equals(actual, expected); } }
@zino could you review again? https://codereview.chromium.org/2364393002/diff/1/third_party/WebKit/LayoutTe... File third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js (right): https://codereview.chromium.org/2364393002/diff/1/third_party/WebKit/LayoutTe... third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js:22: var isArrayExected = Array.isArray(expected); On 2016/09/25 08:30:54, zino wrote: > Let's simplify as follows. (It's not perfect yet but you can polish it) > > function assert_2d_matrix_equals(actual, expected, description) { > if (Array.isArray(expected)) { > assert_equals(6, expected_length); > assert_matrix_equals(actual, { ... }); > } else { > expected['is2D'] = false; > expected['isIdentity'] = false; > assert_matrix_equals(actual, expected); > } > } Done.
https://codereview.chromium.org/2364393002/diff/20001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js (right): https://codereview.chromium.org/2364393002/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js:38: is2D: true, isIdentity: expected.isIdentity I think isIdentity should always be false. (Because there is already the assert_idenity_2d_matrix()). https://codereview.chromium.org/2364393002/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js:57: assert_matrix_equals(actual, expected, description); ditto
@zino. could you review again? thank you. https://codereview.chromium.org/2364393002/diff/20001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js (right): https://codereview.chromium.org/2364393002/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js:38: is2D: true, isIdentity: expected.isIdentity On 2016/09/25 09:02:47, zino wrote: > I think isIdentity should always be false. (Because there is already the > assert_idenity_2d_matrix()). Done. https://codereview.chromium.org/2364393002/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/fast/dom/resources/geometry-interfaces-test-helpers.js:57: assert_matrix_equals(actual, expected, description); On 2016/09/25 09:02:47, zino wrote: > ditto Done.
The CQ bit was checked by jinho.bang@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by jinho.bang@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by hs1217.lee@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full committers or once the patch has received an L-G-T-M from a full committer. Even if an L-G-T-M may have been provided, it was from a non-committer, _not_ a full super star committer. See http://www.chromium.org/getting-involved/become-a-committer Note that this has nothing to do with OWNERS files.
lgtm
The CQ bit was checked by hs1217.lee@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by jinho.bang@samsung.com
On 2016/09/25 11:57:29, commit-bot: I haz the power wrote: > CQ is trying da patch. Follow status at > > https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... Please update CL description. BUG=none (unnecessary blank)
Description was changed from ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG= None ========== to ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG= ==========
Description was changed from ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG= ========== to ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. ==========
Description was changed from ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. ========== to ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. Bug=None ==========
Description was changed from ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. Bug=None ========== to ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG=None ==========
On 2016/09/25 12:03:32, zino wrote: > On 2016/09/25 11:57:29, commit-bot: I haz the power wrote: > > CQ is trying da patch. Follow status at > > > > > https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... > > Please update CL description. BUG=none (unnecessary blank) i fix a Cl description.
The CQ bit was checked by hs1217.lee@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG=None ========== to ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG=None ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG=None ========== to ========== assert_*d_matrix_equals fuction can accept array as expected parameter. when use it, it makes more simple test code. BUG=None Committed: https://crrev.com/c7a688377217a7a7fa65a4ace691a471e16c0231 Cr-Commit-Position: refs/heads/master@{#420857} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/c7a688377217a7a7fa65a4ace691a471e16c0231 Cr-Commit-Position: refs/heads/master@{#420857} |