diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2020-03-17 01:07:47 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2020-03-27 17:16:30 +0900 |
| commit | 4896e3200fddcaaea06ba157b486a9af59f38c41 (patch) | |
| tree | 0849deb4c1c248d079415caaa873ecf2e962cd15 /Tethering/common/TetheringLib/src/android/net/TetheringManager.java | |
| parent | ca071b79cd106f73c0780c8aa2e460fede914bd5 (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
