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

Issue 1878803002: Add iterators and unit tests for CPDF_Array class (Closed)

Created:
4 years, 8 months ago by Wei Li
Modified:
4 years, 8 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Add iterators and unit tests for CPDF_Array class Add iterators to enable range based for loop. Also add unit tests for recent modified functions. Committed: https://pdfium.googlesource.com/pdfium/+/cdce75706de7e76e73550a0582e1fd28af324fd0

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Address comments #

Total comments: 2

Patch Set 3 : Comment change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -0 lines) Patch
M BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp View 1 2 1 chunk +181 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_parser/include/cpdf_array.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M pdfium.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
Wei Li
PTAL, thanks
4 years, 8 months ago (2016-04-11 21:51:18 UTC) #6
Tom Sepez
https://codereview.chromium.org/1878803002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp File core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp (right): https://codereview.chromium.org/1878803002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp#newcode96 core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp:96: EXPECT_EQ(arr->GetIntegerAt(i), arr2->GetIntegerAt(i)); can we also EXPECT that no new ...
4 years, 8 months ago (2016-04-12 00:29:18 UTC) #7
Wei Li
thanks for the reivew https://codereview.chromium.org/1878803002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp File core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp (right): https://codereview.chromium.org/1878803002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp#newcode96 core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp:96: EXPECT_EQ(arr->GetIntegerAt(i), arr2->GetIntegerAt(i)); On 2016/04/12 00:29:17, ...
4 years, 8 months ago (2016-04-12 02:56:20 UTC) #8
Tom Sepez
lgtm https://codereview.chromium.org/1878803002/diff/40001/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp File core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp (right): https://codereview.chromium.org/1878803002/diff/40001/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp#newcode127 core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp:127: // Shallow copy of references means just creating ...
4 years, 8 months ago (2016-04-12 16:34:44 UTC) #9
Wei Li
https://codereview.chromium.org/1878803002/diff/40001/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp File core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp (right): https://codereview.chromium.org/1878803002/diff/40001/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp#newcode127 core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp:127: // Shallow copy of references means just creating new ...
4 years, 8 months ago (2016-04-13 19:57:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878803002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878803002/60001
4 years, 8 months ago (2016-04-13 21:28:48 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 21:40:14 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/cdce75706de7e76e73550a0582e1fd28af32...

Powered by Google App Engine
This is Rietveld 408576698