diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-03-25 10:50:15 +0000 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2020-03-26 05:33:23 +0000 |
commit | bc5ce1bfc887f51c7ccbf7b81f7ecd65684813a0 (patch) | |
tree | af1f77307a2e77a8415aa88e07916044680a88f1 /src/android/net/util/NetworkStackUtils.java | |
parent | 01673425dd29f7b589debc2f5c865d718600f8a7 (diff) |
Add TestNetworkTracker to test utils.
The tracker allows easily creating valid Network objects that are based
on test (TUN) interfaces.
It is taken from GTS NetworkStack test code and adapted to Kotlin.
Test: tests based on this class (e.g. CaptivePortalLoginTests)
Bug: 131401028
Merged-In: I6f8d1e36670c46ebcbca01e0a64ce579bcdcc1f9
Change-Id: I6f8d1e36670c46ebcbca01e0a64ce579bcdcc1f9
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions