Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29680720: Issue 6221 - Add native tests. (Closed)

Created:
Jan. 26, 2018, 8:49 p.m. by hub
Modified:
Jan. 30, 2018, 1:54 p.m.
Reviewers:
sergei
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Description

Issue 6221 - Add native tests.

Patch Set 1 #

Total comments: 10

Patch Set 2 : Changes from review. #

Total comments: 8

Patch Set 3 : Review comments addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -0 lines) Patch
M dependencies View 1 chunk +1 line, -0 lines 0 comments Download
M meson.build View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A test/compiled/RegExp.cpp View 1 2 1 chunk +32 lines, -0 lines 1 comment Download
A test/compiled/String.cpp View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A test/compiled/StringMap.cpp View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
A test/compiled/abptest.cpp View 1 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 7
hub
Jan. 26, 2018, 8:49 p.m. (2018-01-26 20:49:38 UTC) #1
hub
This is a "draft". I added google test as a dependency (the exact same as ...
Jan. 26, 2018, 8:50 p.m. (2018-01-26 20:50:41 UTC) #2
sergei
IMO it's fine if we simply brush it a bit and land and grow the ...
Jan. 26, 2018, 10:13 p.m. (2018-01-26 22:13:36 UTC) #3
hub
https://codereview.adblockplus.org/29680720/diff/29680721/meson.build File meson.build (right): https://codereview.adblockplus.org/29680720/diff/29680721/meson.build#newcode212 meson.build:212: cpp_args: [ '-isystem', join_paths(GTEST_DIR, 'include'), On 2018/01/26 22:13:36, sergei ...
Jan. 27, 2018, 3:33 a.m. (2018-01-27 03:33:38 UTC) #4
sergei
https://codereview.adblockplus.org/29680720/diff/29680727/test/compiled/RegExp.cpp File test/compiled/RegExp.cpp (right): https://codereview.adblockplus.org/29680720/diff/29680727/test/compiled/RegExp.cpp#newcode26 test/compiled/RegExp.cpp:26: EXPECT_TRUE(TestRegExp(id, u"1234"_str)); I think, formally we should delete the ...
Jan. 29, 2018, 1:38 p.m. (2018-01-29 13:38:44 UTC) #5
hub
Updated patch https://codereview.adblockplus.org/29680720/diff/29680727/test/compiled/RegExp.cpp File test/compiled/RegExp.cpp (right): https://codereview.adblockplus.org/29680720/diff/29680727/test/compiled/RegExp.cpp#newcode26 test/compiled/RegExp.cpp:26: EXPECT_TRUE(TestRegExp(id, u"1234"_str)); On 2018/01/29 13:38:44, sergei wrote: ...
Jan. 29, 2018, 4:57 p.m. (2018-01-29 16:57:46 UTC) #6
sergei
Jan. 30, 2018, 1:05 p.m. (2018-01-30 13:05:37 UTC) #7
LGTM

https://codereview.adblockplus.org/29680720/diff/29683682/test/compiled/RegEx...
File test/compiled/RegExp.cpp (right):

https://codereview.adblockplus.org/29680720/diff/29683682/test/compiled/RegEx...
test/compiled/RegExp.cpp:30: EXPECT_FALSE(TestRegExp(id, u"abcd"_str));
I'm not sure that it should work this way, but OK, I guess it will be changes
later anyway.

Powered by Google App Engine
This is Rietveld