|
Update webview and chrome instrumentation test to use PreTestHooks for policies
- Add utilities to set policies for tests using anotation and pre
test hooks
- Add AwInstrumentationTestRunner and update
ChromeInstrumentationTestRunner to register said hooks
- Add classes to simplify building policy bundles
BUG= 542859
Committed: https://crrev.com/738fa38d347a0f3f71a41c23cb4f03618e071d7c
Cr-Commit-Position: refs/heads/master@{#358829}
Total comments: 7
Total comments: 10
Total comments: 15
Total comments: 1
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+501 lines, -81 lines) |
Patch |
 |
M |
android_webview/android_webview_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/javatests/AndroidManifest.xml
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/javatests/DEPS
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+54 lines, -72 lines |
0 comments
|
Download
|
 |
M |
android_webview/test/shell/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/test/shell/src/org/chromium/android_webview/test/AwInstrumentationTestRunner.java
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/android/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeInstrumentationTestRunner.java
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/policy.gypi
|
View
|
1
2
3
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/policy/android/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/policy/android/java/src/org/chromium/policy/AbstractAppRestrictionsProvider.java
|
View
|
1
2
3
4
5
|
4 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/policy/android/javatests/src/org/chromium/policy/test/PolicyData.java
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+119 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/policy/android/javatests/src/org/chromium/policy/test/annotations/Policies.java
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+141 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/policy/android/junit/src/org/chromium/policy/test/annotations/PoliciesTest.java
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
Total messages: 43 (10 generated)
|