summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKen Chen <cken@google.com>2021-05-12 17:13:46 +0800
committerKen Chen <cken@google.com>2021-05-12 17:34:34 +0800
commitbf8bf735d6bd7b80a32d549cc23552538207d40b (patch)
treeff963da4958baa4813635256ee15611acd30e7e6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf9183a71641d2140d36f063dbffb478b6f82cca3 (diff)
Add testVpnTypesEqual to verify consistency
VPN types are defined in both VpnManager.java and NativeVpnType.aidl. The definitions on both sides should match (except TYPE_VPN_NONE). VpnManager.java: TYPE_VPN_NONE = -1 TYPE_VPN_SERVICE = 1 TYPE_VPN_PLATFORM = 2 TYPE_VPN_LEGACY = 3 TYPE_VPN_OEM = 4 NativeVpnType.aidl: SERVICE = 1 PLATFORM = 2 LEGACY = 3 OEM = 4 Bug: N/A Test: atest android.net.VpnManagerTest#testVpnTypesEqual Change-Id: Ie618e227d861100c5318da696140e486af1093a0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions