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

Issue 2137743002: Added test files for SystemInfo.m and OmahaXMLRequest.m. (Closed)

Created:
4 years, 5 months ago by Anna Zeng
Modified:
4 years, 5 months ago
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added test file for SystemInfo.m, on top of the initial commit for Chrome meta installer. Just look at BUILD.gn and SystemInfo_test.mm, everything else is consistent with CL 2094583004 (Initial commit for Chrome meta installer https://codereview.chromium.org/2094583004/) BUG= patch from issue 2106523002 at patchset 60001 (http://crrev.com/2106523002#ps60001) Committed: https://crrev.com/10fd066ee3eae1695902044db958a85394ad3fe8 Cr-Commit-Position: refs/heads/master@{#407573}

Patch Set 1 #

Patch Set 2 : Completed both test files #

Total comments: 46

Patch Set 3 : Added comments & made progress on roughly half of Mark's comments #

Total comments: 4

Patch Set 4 : Addressed all comments except Mark's comment on getArch #

Patch Set 5 : Transitioned fully to super-concise tests; ready for more comments! #

Total comments: 18

Patch Set 6 : Eliminated fixtures #

Total comments: 2

Patch Set 7 : Last change before LGTM! #

Total comments: 1

Patch Set 8 : Fix for the trybot #

Patch Set 9 : Attempt two for the trybots #

Patch Set 10 : Added some copyright content to please the trybot lords #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -4 lines) Patch
M chrome/installer/mac/app/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -4 lines 0 comments Download
A chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm View 1 2 3 4 5 6 7 8 9 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/installer/mac/app/testing/SystemInfo_test.mm View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/installer/mac/app/testing/requestCheck.dtd View 1 2 3 4 5 6 7 8 9 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (22 generated)
Anna Zeng
4 years, 5 months ago (2016-07-08 23:25:22 UTC) #4
Mark Mentovai
The code review duplicates all of the original change, so I’ll wait until you’ve rebased ...
4 years, 5 months ago (2016-07-11 19:03:58 UTC) #5
Anna Zeng
Ready for review!
4 years, 5 months ago (2016-07-14 20:10:16 UTC) #6
Mark Mentovai
https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/BUILD.gn File chrome/installer/mac/app/BUILD.gn (right): https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/BUILD.gn#newcode5 chrome/installer/mac/app/BUILD.gn:5: static_library("project") { We should come up with better names, ...
4 years, 5 months ago (2016-07-15 21:56:09 UTC) #7
Anna Zeng
https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm File chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm (right): https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm#newcode18 chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm:18: NSXMLDocument* xmlBody; On 2016/07/15 21:56:09, Mark Mentovai wrote: > ...
4 years, 5 months ago (2016-07-18 18:15:53 UTC) #8
Elly Fong-Jones
https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/requestCheck.dtd File chrome/installer/mac/app/testing/requestCheck.dtd (right): https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/requestCheck.dtd#newcode1 chrome/installer/mac/app/testing/requestCheck.dtd:1: <!ELEMENT request (os, app)> can you please comment this ...
4 years, 5 months ago (2016-07-19 18:45:59 UTC) #9
Anna Zeng
On 2016/07/19 18:45:59, Elly Jones wrote: > https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/requestCheck.dtd > File chrome/installer/mac/app/testing/requestCheck.dtd (right): > > https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/requestCheck.dtd#newcode1 ...
4 years, 5 months ago (2016-07-19 21:00:14 UTC) #10
Mark Mentovai
https://codereview.chromium.org/2137743002/diff/40001/chrome/installer/mac/app/BUILD.gn File chrome/installer/mac/app/BUILD.gn (right): https://codereview.chromium.org/2137743002/diff/40001/chrome/installer/mac/app/BUILD.gn#newcode27 chrome/installer/mac/app/BUILD.gn:27: executable("mac_installer_test") { OK! Got a better answer here. This ...
4 years, 5 months ago (2016-07-19 21:03:49 UTC) #11
Anna Zeng
Ready for more comments if any! Mark, I've got a small question for you tomorrow ...
4 years, 5 months ago (2016-07-22 01:45:37 UTC) #12
Mark Mentovai
https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/SystemInfo_test.mm File chrome/installer/mac/app/testing/SystemInfo_test.mm (right): https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/SystemInfo_test.mm#newcode21 chrome/installer/mac/app/testing/SystemInfo_test.mm:21: EXPECT_GE((int)[[SystemInfo getArch] length], 3); On 2016/07/22 01:45:37, Anna Zeng ...
4 years, 5 months ago (2016-07-22 13:55:49 UTC) #13
Anna Zeng
Thanks Mark for your help! I'm ready for more perspectives, everyone!
4 years, 5 months ago (2016-07-22 15:22:03 UTC) #14
Mark Mentovai
https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm File chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm (right): https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm#newcode22 chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm:22: EXPECT_NE(xmlBody, nil); I wrote: > Not sure that you ...
4 years, 5 months ago (2016-07-22 15:42:39 UTC) #15
Anna Zeng
Ready for more advice! https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm File chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm (right): https://codereview.chromium.org/2137743002/diff/20001/chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm#newcode22 chrome/installer/mac/app/testing/OmahaXMLRequest_test.mm:22: EXPECT_NE(xmlBody, nil); On 2016/07/22 15:42:38, ...
4 years, 5 months ago (2016-07-22 16:43:21 UTC) #16
Anna Zeng
In an effort to make sure I caught all comments, I parsed through all of ...
4 years, 5 months ago (2016-07-22 16:58:03 UTC) #17
Elly Fong-Jones
https://codereview.chromium.org/2137743002/diff/80001/chrome/installer/mac/app/testing/requestCheck.dtd File chrome/installer/mac/app/testing/requestCheck.dtd (right): https://codereview.chromium.org/2137743002/diff/80001/chrome/installer/mac/app/testing/requestCheck.dtd#newcode12 chrome/installer/mac/app/testing/requestCheck.dtd:12: Below, this indicates that |protocol| is a required attribute ...
4 years, 5 months ago (2016-07-22 17:39:08 UTC) #18
Mark Mentovai
I wrote a book for you! https://codereview.chromium.org/2137743002/diff/80001/chrome/installer/mac/app/testing/SystemInfo_test.mm File chrome/installer/mac/app/testing/SystemInfo_test.mm (right): https://codereview.chromium.org/2137743002/diff/80001/chrome/installer/mac/app/testing/SystemInfo_test.mm#newcode11 chrome/installer/mac/app/testing/SystemInfo_test.mm:11: class SystemInfoTest : ...
4 years, 5 months ago (2016-07-22 18:03:24 UTC) #19
Mark Mentovai
LGTM with those last couple of changes, by the way.
4 years, 5 months ago (2016-07-22 18:03:38 UTC) #20
Mark Mentovai
Addendum: When I wrote > So if we had written this > as: > > ...
4 years, 5 months ago (2016-07-22 18:06:41 UTC) #21
Anna Zeng
Thanks Mark for your feedback! Submitted to CQ. https://codereview.chromium.org/2137743002/diff/80001/chrome/installer/mac/app/testing/SystemInfo_test.mm File chrome/installer/mac/app/testing/SystemInfo_test.mm (right): https://codereview.chromium.org/2137743002/diff/80001/chrome/installer/mac/app/testing/SystemInfo_test.mm#newcode35 chrome/installer/mac/app/testing/SystemInfo_test.mm:35: EXPECT_EQ((int)matches, ...
4 years, 5 months ago (2016-07-22 18:38:33 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2137743002/120001
4 years, 5 months ago (2016-07-22 18:38:41 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/265010)
4 years, 5 months ago (2016-07-22 18:44:13 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2137743002/120001
4 years, 5 months ago (2016-07-22 19:08:34 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/265038)
4 years, 5 months ago (2016-07-22 19:16:13 UTC) #31
Mark Mentovai
https://codereview.chromium.org/2137743002/diff/120001/chrome/installer/mac/app/BUILD.gn File chrome/installer/mac/app/BUILD.gn (right): https://codereview.chromium.org/2137743002/diff/120001/chrome/installer/mac/app/BUILD.gn#newcode35 chrome/installer/mac/app/BUILD.gn:35: deps = [ The trybot output sounds like it’s ...
4 years, 5 months ago (2016-07-22 19:19:25 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2137743002/120001
4 years, 5 months ago (2016-07-22 19:32:24 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2137743002/120001
4 years, 5 months ago (2016-07-22 19:33:36 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/265061)
4 years, 5 months ago (2016-07-22 19:37:14 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2137743002/140001
4 years, 5 months ago (2016-07-25 15:18:11 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/239567)
4 years, 5 months ago (2016-07-25 15:22:25 UTC) #44
Mark Mentovai
Progress!
4 years, 5 months ago (2016-07-25 15:28:12 UTC) #45
Anna Zeng
On 2016/07/25 15:28:12, Mark Mentovai wrote: > Progress! Thanks for the encouragement! :D
4 years, 5 months ago (2016-07-25 17:50:11 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2137743002/160001
4 years, 5 months ago (2016-07-25 17:50:46 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/268410)
4 years, 5 months ago (2016-07-25 18:58:28 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2137743002/180001
4 years, 5 months ago (2016-07-25 19:18:48 UTC) #54
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-07-25 21:15:18 UTC) #56
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 21:17:25 UTC) #58
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/10fd066ee3eae1695902044db958a85394ad3fe8
Cr-Commit-Position: refs/heads/master@{#407573}

Powered by Google App Engine
This is Rietveld 408576698