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

Issue 29344967: Issue 4031 - Implement tests for libadblockplus-android (Closed)

Created:
May 27, 2016, 1:38 p.m. by anton
Modified:
Sept. 16, 2016, 7:11 a.m.
CC:
René Jeschke
Visibility:
Public.

Description

Issue 4031 - Implement tests for libadblockplus-android

Patch Set 1 #

Patch Set 2 : Updated tests, also moved to libadblockplus-android repo #

Patch Set 3 : Applied Eyeo's codestyle #

Total comments: 1

Patch Set 4 : With fixed version #

Total comments: 20

Patch Set 5 : fixed "B" to "b" (Fhd) #

Patch Set 6 : fixed in README.md #

Patch Set 7 : fixing spaces #

Patch Set 8 : fix typo ".. file[s]" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2123 lines, -70 lines) Patch
M .hgignore View 1 1 chunk +3 lines, -0 lines 0 comments Download
M README.md View 1 2 3 4 5 3 chunks +33 lines, -4 lines 0 comments Download
A libadblockplus-android-tests/AndroidManifest.xml View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/ant.properties View 1 1 chunk +18 lines, -0 lines 0 comments Download
A + libadblockplus-android-tests/build.xml View 1 2 3 4 5 6 7 4 chunks +30 lines, -15 lines 0 comments Download
A libadblockplus-android-tests/libs/android-testing-support.jar View 1 Binary file 0 comments Download
A libadblockplus-android-tests/libs/junit-4.11.jar View 1 Binary file 0 comments Download
A libadblockplus-android-tests/proguard-project.txt View 1 1 chunk +20 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/project.properties View 1 1 chunk +18 lines, -0 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/LazyLogSystem.java View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/LazyWebRequest.java View 1 2 1 chunk +11 lines, -2 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockFilterChangeCallback.java View 1 2 1 chunk +18 lines, -2 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockLogSystem.java View 1 2 1 chunk +20 lines, -8 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockUpdateAvailableCallback.java View 1 2 1 chunk +18 lines, -2 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java View 1 2 1 chunk +9 lines, -2 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingLogSystem.java View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingWebRequest.java View 1 2 1 chunk +8 lines, -2 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java View 1 2 3 4 5 6 1 chunk +113 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AppInfoJsObjectTest.java View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/BaseJsTest.java View 1 2 1 chunk +17 lines, -14 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/ConsoleJsObjectTest.java View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
A + libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineGenericTest.java View 1 2 1 chunk +12 lines, -13 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineTest.java View 1 2 1 chunk +388 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/FilterEngineUpdaterTest.java View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/GlobalJsObjectTest.java View 1 2 1 chunk +77 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/JsEngineTest.java View 1 2 1 chunk +133 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/JsTest.java View 1 2 1 chunk +268 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/MockWebRequestTest.java View 1 2 1 chunk +149 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/NotificationTest.java View 1 2 1 chunk +170 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java View 1 2 1 chunk +267 lines, -0 lines 0 comments Download
A libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java View 1 2 1 chunk +50 lines, -0 lines 0 comments Download

Messages

Total messages: 13
anton
Subjects to discuss: 1) AndroidWebRequest seems to be the only (working) inheritor of WebRequest and ...
May 27, 2016, 1:46 p.m. (2016-05-27 13:46:36 UTC) #1
diegocarloslima
https://codereview.adblockplus.org/29344967/diff/29349147/libadblockplus-android-tests/AndroidManifest.xml File libadblockplus-android-tests/AndroidManifest.xml (right): https://codereview.adblockplus.org/29344967/diff/29349147/libadblockplus-android-tests/AndroidManifest.xml#newcode5 libadblockplus-android-tests/AndroidManifest.xml:5: android:versionName="1.3" > The versionCode/versionName for tests should follow the ...
Sept. 6, 2016, 10:30 p.m. (2016-09-06 22:30:39 UTC) #2
diegocarloslima
On 2016/09/06 22:30:39, diegocarloslima wrote: > https://codereview.adblockplus.org/29344967/diff/29349147/libadblockplus-android-tests/AndroidManifest.xml > File libadblockplus-android-tests/AndroidManifest.xml (right): > > https://codereview.adblockplus.org/29344967/diff/29349147/libadblockplus-android-tests/AndroidManifest.xml#newcode5 > ...
Sept. 8, 2016, 11:09 p.m. (2016-09-08 23:09:54 UTC) #3
Felix Dahlke
Looks about right, I did a high-level reviews and found a couple of nits. With ...
Sept. 12, 2016, 1:52 p.m. (2016-09-12 13:52:15 UTC) #4
anton
https://codereview.adblockplus.org/29344967/diff/29351815/README.md File README.md (right): https://codereview.adblockplus.org/29344967/diff/29351815/README.md#newcode65 README.md:65: In the 'libadblockplus-android-tests' run: On 2016/09/12 13:52:12, Felix Dahlke ...
Sept. 13, 2016, 5:49 a.m. (2016-09-13 05:49:09 UTC) #5
Felix Dahlke
https://codereview.adblockplus.org/29344967/diff/29351815/README.md File README.md (right): https://codereview.adblockplus.org/29344967/diff/29351815/README.md#newcode65 README.md:65: In the 'libadblockplus-android-tests' run: On 2016/09/13 05:49:08, anton wrote: ...
Sept. 13, 2016, 8:30 a.m. (2016-09-13 08:30:15 UTC) #6
anton
uploaded patch set #6 https://codereview.adblockplus.org/29344967/diff/29351815/README.md File README.md (right): https://codereview.adblockplus.org/29344967/diff/29351815/README.md#newcode65 README.md:65: In the 'libadblockplus-android-tests' run: On ...
Sept. 13, 2016, 10:44 a.m. (2016-09-13 10:44:38 UTC) #7
Felix Dahlke
There are still two comments which you didn't seem to have noticed so far. https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/build.xml ...
Sept. 13, 2016, 10:51 a.m. (2016-09-13 10:51:45 UTC) #8
anton
https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java File libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java (right): https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java#newcode72 libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/AndroidWebRequestTest.java:72: jsEngine.evaluate("foo.responseHeaders['Content-Type'].substr(0,10)").asString()); On 2016/09/13 10:51:44, Felix Dahlke wrote: > On ...
Sept. 13, 2016, 11 a.m. (2016-09-13 11:00:23 UTC) #9
Felix Dahlke
https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/build.xml File libadblockplus-android-tests/build.xml (right): https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/build.xml#newcode31 libadblockplus-android-tests/build.xml:31: <!-- if sdk.dir was not set from one of ...
Sept. 15, 2016, 8:54 a.m. (2016-09-15 08:54:39 UTC) #10
anton
https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/build.xml File libadblockplus-android-tests/build.xml (right): https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/build.xml#newcode31 libadblockplus-android-tests/build.xml:31: <!-- if sdk.dir was not set from one of ...
Sept. 15, 2016, 10:09 a.m. (2016-09-15 10:09:34 UTC) #11
Felix Dahlke
Almost there :D https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/build.xml File libadblockplus-android-tests/build.xml (right): https://codereview.adblockplus.org/29344967/diff/29351815/libadblockplus-android-tests/build.xml#newcode31 libadblockplus-android-tests/build.xml:31: <!-- if sdk.dir was not set ...
Sept. 15, 2016, 10:31 a.m. (2016-09-15 10:31:27 UTC) #12
Felix Dahlke
Sept. 15, 2016, 3:17 p.m. (2016-09-15 15:17:03 UTC) #13
LGTM!

Powered by Google App Engine
This is Rietveld