summaryrefslogtreecommitdiff
path: root/Tethering/common/TetheringLib/src/android/net/TetheringManager.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-03-17 01:07:47 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-03-27 17:16:30 +0900
commit4896e3200fddcaaea06ba157b486a9af59f38c41 (patch)
tree0849deb4c1c248d079415caaa873ecf2e962cd15 /Tethering/common/TetheringLib/src/android/net/TetheringManager.java
parentca071b79cd106f73c0780c8aa2e460fede914bd5 (diff)
Add an Ethernet tethering test.
This test uses EthernetManager's ability to use test network interfaces to test tethering. This provides a fairly realistic integration test for Tethering and its callbacks, IpServer and DhcpServer, and so on. It is in a new integration/ directory under Tethering because I didn't really know where to put it. It's fast enough to run in presubmit, but it didn't seem to be appropriate to call it a unit test, and in the future we could also use this test to do some limited testing of real Ethernet tethering as well. Bug: 150644681 Test: atest TetheringIntegrationTests:EthernetTetheringTest --rerun-until-failure 100 Change-Id: Ifcda70b73848b1fd4c26b031e53f0a6500cc93d4
Diffstat (limited to 'Tethering/common/TetheringLib/src/android/net/TetheringManager.java')
0 files changed, 0 insertions, 0 deletions