Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2623)

Issue 6907065: Dwarf2DIEHandler unit test: push sample attribute values on the correct AttributeList.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by jimblandy
Modified:
11 years, 4 months ago
Reviewers:
Mark Mentovai
CC:
rafael.espindola
Visibility:
Public.

Description

If we decide not to apply the patch Rafael suggested here: http://breakpad.appspot.com/502003/ then we should fix the bug in the test he points out in that issue, namely: The test 'Dwarf2DIEHandler.FindAndSkipChildren' in src/common/dwarf/dwarf2diehandler_unittest.cc pushes test values for attributes and forms on the wrong attribute list. However, since the same AttributeList instance is used to both pass the values to the code under test, and to check the value received by the mock DIE handlers, the tests pass anyway --- they just operate on different values than intended. This patch places the test values in the correct attribute list; the test continues to pass, and no change is needed to the code under test.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/common/dwarf/dwarf2diehandler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b