summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/IpSecAlgorithmTest.java
diff options
context:
space:
mode:
authorJunyu Lai <junyulai@google.com>2021-05-20 13:48:35 +0000
committerJunyu Lai <junyulai@google.com>2021-06-15 03:05:29 +0000
commit32634e9da3c0a59b14abf9b113c198147e7bb5cb (patch)
treef3f90cc3b61b365afbd9d4bb7331cc7c7ae7ce9b /tests/unit/java/android/net/IpSecAlgorithmTest.java
parent99e50a0fc92493943ea16477aca9864eaf6c6bd5 (diff)
No-op refactoring of NetworkAgentTest
This is a no-op refactoring of NetworkAgentTest, which makes the create*NetworkAgent helper functions easier to use, this includes: 1. Rename "name" field to specifier, since it is the only purpose of that field. 2. Make the callback generated with agent dedicated to the agent by adding specifier to support multiple agent cases. 3. Refactor some code flow to for readability and less duplicated code. Test: atest CtsNetTestCases:android.net.cts.NetworkAgentTest \ --rerun-until-failure 100 Test: atest CtsNetTestCasesLatestSdk:android.net.cts.NetworkAgentTest on R device Bug: 188657173 Change-Id: Id7948d218b78ae0abf253ca8925e787362ac463f
Diffstat (limited to 'tests/unit/java/android/net/IpSecAlgorithmTest.java')
0 files changed, 0 insertions, 0 deletions