summaryrefslogtreecommitdiff
path: root/tests/net/java/com/android/server/NetIdManagerTest.kt
AgeCommit message (Collapse)Author
2021-05-13Move net unit tests to packages/ConnectivityRemi NGUYEN VAN
Move the tests together with packages/Connectivity code, so both can be moved to packages/modules/Connectivity together. Also reorganize unit tests in a unit/ directory, as other tests (integration/, common/ etc.) have been added in tests/net since they were created. This makes the directory structure consistent. Test: atest FrameworksNetTests Bug: 187814163 Ignore-AOSP-First: needs per-branch move for merge conflicts Change-Id: I254ffd1c08ec058d594b4ea55cbae5505f8497cc
2020-07-29Move utils from network stack to libs.Chalard Jean
This package is using some common utilities from a library that used to live in the network stack. A better home for these utilities is frameworks/libs, so this topic moves the files ther and also changes the package of some utilities. See aosp/1350222 and aosp/1350182 for a detailed description of the specific files that moved. Test: checkbuild Change-Id: I76a9b7790f3997e3e6b3c2f75ba6308286457cde
2019-09-04Add NetIdManagerTestRemi NGUYEN VAN
Add a simple test to verify that IDs loop correctly, that they skip used IDs correctly, and throw when there is no remaining ID. Test: atest com.android.server.NetIdManagerTest Change-Id: I4c9518c725156d743286e062fd2eec1423a0459e