OLD | NEW |
1 Adblock Plus Library for Android | 1 Adblock Plus Library for Android |
2 ======================== | 2 ======================== |
3 | 3 |
4 An Android library project that runs a proxy to block ads. | 4 An Android library project that runs a proxy to block ads. |
5 | 5 |
6 Updating the dependencies | 6 Updating the dependencies |
7 ------------------------- | 7 ------------------------- |
8 | 8 |
9 Adblock Plus Library for Android has dependencies that aren't in this repository
. | 9 Adblock Plus Library for Android has dependencies that aren't in this repository
. |
10 To update those, call: | 10 To update those, call: |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 1. Connect an Android device or start the Android Emulator. | 71 1. Connect an Android device or start the Android Emulator. |
72 2. In the 'libadblockplus-android-tests' directory run: | 72 2. In the 'libadblockplus-android-tests' directory run: |
73 | 73 |
74 ant instrument install test | 74 ant instrument install test |
75 | 75 |
76 to build instrumentation tests app and perform testing or run: | 76 to build instrumentation tests app and perform testing or run: |
77 | 77 |
78 ant test | 78 ant test |
79 | 79 |
80 to run installed instrumentation tests app | 80 to run installed instrumentation tests app. |
| 81 |
| 82 To run specific **test** run: |
| 83 |
| 84 ant testOnly -DtestClass=full.test.class.name |
| 85 |
| 86 For example: |
| 87 |
| 88 ant testOnly -DtestClass=org.adblockplus.libadblockplus.tests.NotificationTe
st |
| 89 |
| 90 To run specific **test method** run: |
| 91 |
| 92 ant testOnly -DtestClass=full.test.class.name#testMethod |
| 93 |
| 94 For example: |
| 95 |
| 96 ant testOnly -DtestClass=org.adblockplus.libadblockplus.tests.NotificationTe
st#testAddNotification |
OLD | NEW |