summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-04-28 11:01:22 +0900
committerHugo Benichi <hugobenichi@google.com>2017-05-02 13:31:24 +0900
commit8c5eeb0afc5dad35ee8ce11b9e82f7219a1a609d (patch)
treecc7bd650e637235283a90bf56433d8ec37be9eee /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3cff7deecbdad5f30f7db23a9b21e9bc2cf767d6 (diff)
NsdManager: unit test coverage for servive registration
This patch adds test coverage for NsdManager#registerService() and NsdManager#unregisterService(). This test shows a potential defect in the api: if unregisterService() fails, the associated listener is always unregistered from NsdManager. If the service initially registered is still registered, this potentially make it impossible to unregister. Test: added new unit test Bug: 37013369, 33298084 Change-Id: Ia089b6d2f2a349907a8b29d9a3acd7f59e177887
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions