commit | 9053e465088bf7e611db34eee36d8cd3b4092ddd | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Thu Nov 26 23:34:33 2020 +0800 |
committer | paulhu <paulhu@google.com> | Mon Nov 22 21:05:07 2021 +0800 |
tree | 230f8c4dcca54be2f7e2693f260214ec8caa2025 | |
parent | 891a3b9fb7465096e4f5db71b5375e0dd6618082 [diff] |
Add ContextUtils Some tests need to create a Context with assigned user and should delegate to orignal Context. Thus, add ContextUtils#mockContextAsUser to factorize the usage. Bug: 170593746 Test: atest FrameworksNetTests Change-Id: I93f64a141709e181276ed4b5195811c36100c1d0