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

Issue 4756164013195264: Issue 1376 - Add tests for SetFilterChangeCallback (Closed)

Created:
Sept. 16, 2014, 9:21 a.m. by Felix Dahlke
Modified:
Aug. 13, 2015, 5:23 p.m.
Reviewers:
sergei
CC:
Wladimir Palant
Visibility:
Public.

Description

Issue 1376 - Add tests for SetFilterChangeCallback

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Rebased, use GetFilter() #

Total comments: 4

Patch Set 3 : Rebased, use EXPECT instead of ASSERT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M dependencies View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/FilterEngine.cpp View 1 2 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Felix Dahlke
http://codereview.adblockplus.org/4756164013195264/diff/5649050225344512/test/FilterEngine.cpp File test/FilterEngine.cpp (right): http://codereview.adblockplus.org/4756164013195264/diff/5649050225344512/test/FilterEngine.cpp#newcode54 test/FilterEngine.cpp:54: MockFilterChangeCallback(int& timesCalled) : timesCalled(timesCalled) {} It's somewhat unintuitive that ...
Sept. 16, 2014, 9:37 a.m. (2014-09-16 09:37:18 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/4756164013195264/diff/5649050225344512/test/FilterEngine.cpp File test/FilterEngine.cpp (right): http://codereview.adblockplus.org/4756164013195264/diff/5649050225344512/test/FilterEngine.cpp#newcode54 test/FilterEngine.cpp:54: MockFilterChangeCallback(int& timesCalled) : timesCalled(timesCalled) {} On 2014/09/16 09:37:19, Felix ...
Dec. 9, 2014, 9:44 p.m. (2014-12-09 21:44:40 UTC) #2
Felix Dahlke
Didn't like this one bitrotting around :) New patch set is up. http://codereview.adblockplus.org/4756164013195264/diff/5649050225344512/test/FilterEngine.cpp File test/FilterEngine.cpp ...
May 29, 2015, 11:06 p.m. (2015-05-29 23:06:40 UTC) #3
Felix Dahlke
Starting to bit rot again, I've added Sergei as reviewer and moved Wladimir to CC ...
Aug. 6, 2015, 7:46 a.m. (2015-08-06 07:46:00 UTC) #4
sergei
A couple of NITs. https://codereview.adblockplus.org/4756164013195264/diff/5639274879778816/test/FilterEngine.cpp File test/FilterEngine.cpp (right): https://codereview.adblockplus.org/4756164013195264/diff/5639274879778816/test/FilterEngine.cpp#newcode384 test/FilterEngine.cpp:384: ASSERT_EQ(2, timesCalled); Nit: it could ...
Aug. 6, 2015, 8:09 a.m. (2015-08-06 08:09:38 UTC) #5
Felix Dahlke
New patch set is up. https://codereview.adblockplus.org/4756164013195264/diff/5639274879778816/test/FilterEngine.cpp File test/FilterEngine.cpp (right): https://codereview.adblockplus.org/4756164013195264/diff/5639274879778816/test/FilterEngine.cpp#newcode384 test/FilterEngine.cpp:384: ASSERT_EQ(2, timesCalled); On 2015/08/06 ...
Aug. 13, 2015, 2:17 p.m. (2015-08-13 14:17:50 UTC) #6
sergei
The last patch set is merely a new diff, not the whole change.
Aug. 13, 2015, 2:39 p.m. (2015-08-13 14:39:55 UTC) #7
sergei
Anyway, LGTM, especially since it's already pushed.
Aug. 13, 2015, 2:40 p.m. (2015-08-13 14:40:51 UTC) #8
Felix Dahlke
Aug. 13, 2015, 4:56 p.m. (2015-08-13 16:56:04 UTC) #9
On 2015/08/13 14:39:55, sergei wrote:
> The last patch set is merely a new diff, not the whole change.

Whoops, true, I've replaced it. Had to merge changes from master, however, those
are in the diff now.

On 2015/08/13 14:40:51, sergei wrote:
> Anyway, LGTM, especially since it's already pushed.

It's only in a pushed feature branch, not in master. But I'll push it to master
then :)

Powered by Google App Engine
This is Rietveld