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

Issue 1485333002: win: Add a VSFixedFileInfo test to check all modules (Closed)

Created:
5 years ago by Mark Mentovai
Modified:
5 years ago
Reviewers:
scottmg
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: Add a VSFixedFileInfo test to check all modules BUG=crashpad:78 TEST=crashpad_snapshot_test PEImageReader.VSFixedFileInfo_AllModules R=scottmg@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/384fd93d6d7068ce19bced1cae9be057d23a843f

Patch Set 1 #

Total comments: 2

Patch Set 2 : Restrict comment to what's certain #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -32 lines) Patch
M snapshot/win/pe_image_reader_test.cc View 1 3 chunks +73 lines, -32 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Mark Mentovai
https://codereview.chromium.org/1485333002/diff/1/snapshot/win/pe_image_reader_test.cc File snapshot/win/pe_image_reader_test.cc (right): https://codereview.chromium.org/1485333002/diff/1/snapshot/win/pe_image_reader_test.cc#newcode102 snapshot/win/pe_image_reader_test.cc:102: base::FilePath(module.name).BaseName(), &expected); This was really weird. Without the BaseName(), ...
5 years ago (2015-12-01 23:42:54 UTC) #3
Mark Mentovai
…and it was a problem without BaseName() on Windows 10. Windows 7 is happy with ...
5 years ago (2015-12-01 23:48:08 UTC) #4
scottmg
https://codereview.chromium.org/1485333002/diff/1/snapshot/win/pe_image_reader_test.cc File snapshot/win/pe_image_reader_test.cc (right): https://codereview.chromium.org/1485333002/diff/1/snapshot/win/pe_image_reader_test.cc#newcode102 snapshot/win/pe_image_reader_test.cc:102: base::FilePath(module.name).BaseName(), &expected); On 2015/12/01 23:42:54, Mark Mentovai wrote: > ...
5 years ago (2015-12-01 23:57:38 UTC) #5
scottmg
lgtm
5 years ago (2015-12-01 23:58:27 UTC) #6
Mark Mentovai
scottmg wrote: > I don't know, but because it's reporting 8.0, I would guess that ...
5 years ago (2015-12-02 16:07:06 UTC) #7
Mark Mentovai
Committed patchset #2 (id:20001) manually as 384fd93d6d7068ce19bced1cae9be057d23a843f (presubmit successful).
5 years ago (2015-12-02 16:11:59 UTC) #9
Mark Mentovai
Oh, XP… [ RUN ] PEImageReader.VSFixedFileInfo_AllModules c:\chrome\crashpad\crashpad\snapshot\win\pe_image_reader_test.cc(109): error: Value of: observed.dwFileVersionMS Actual: 393216 Expected: expected.dwFileVersionMS ...
5 years ago (2015-12-02 19:58:02 UTC) #10
Mark Mentovai
XP prefers things *without* BaseName(). Oh boy.
5 years ago (2015-12-02 20:02:42 UTC) #11
Mark Mentovai
5 years ago (2015-12-02 22:25:58 UTC) #12
Message was sent while issue was closed.
XP test fix: https://codereview.chromium.org/1493933002/

Powered by Google App Engine
This is Rietveld 408576698