diff options
author | Gustav Sennton <gsennton@google.com> | 2016-04-07 15:56:10 +0100 |
---|---|---|
committer | Gustav Sennton <gsennton@google.com> | 2016-04-12 14:25:38 +0100 |
commit | 53b78241ffc32e61d12afc6245633266e592db88 (patch) | |
tree | c27256bf63b9dcbe167dec74db513a7ec254f3d1 /rs/java/android/renderscript/ScriptGroup.java | |
parent | b026b6a40f69d8068e4f9fd6324c81607191995d (diff) |
Add initial unit tests for WebViewUpdateService.
The logic in the WebViewUpdateService is now more complex and there
are lots of edge cases that should be tested to make sure we don't
regress anything.
Also refrain from running fallback logic on boot if fallback logic not
enabled (bug found through a failing test, yeeah buddy!).
Catch uncaught MissingWebViewException (very timing-dependent!) and add
test for this.
Add tests for:
Some package setups (single package, non-default vs. default packages,
valid vs. invalid packages).
Ensure correct error codes used
Switching provider through settings-method
Switching provider through adding more prioritized provider
Switching provider in the middle of already running webview preparation
Ensure fallback logic is run when enabled and not run when disabled (at
boot, packageStateChanged, and when adding a new user).
Bug: 27635535
Change-Id: I275ecb0f6129f71258da0fa053e7f7b36a675886
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions