Home
last modified time | relevance | path

Searched refs:expectedMappings (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DPackageInfoResolverTest.cpp176 std::unordered_map<uid_t, PackageInfo> expectedMappings{ in TEST_F() local
199 EXPECT_THAT(actualMappings, UnorderedElementsAreArray(expectedMappings)) in TEST_F()
200 << "Expected: " << toString(expectedMappings) in TEST_F()
219 std::unordered_map<uid_t, PackageInfo> expectedMappings{ in TEST_F() local
244 std::vector<PackageInfo> injectPackageInfos = {expectedMappings.at(6100), in TEST_F()
245 expectedMappings.at(7700), in TEST_F()
246 expectedMappings.at(15100), in TEST_F()
247 expectedMappings.at(16700), in TEST_F()
248 expectedMappings.at(18100), in TEST_F()
249 expectedMappings.at(19100)}; in TEST_F()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeDataTest.java94 Map<String, String> expectedMappings = new HashMap<>(); in testGetMessageMappings() local
95 expectedMappings.put("S", AUTH_STRING); in testGetMessageMappings()
96 expectedMappings.put("M", MESSAGE); in testGetMessageMappings()
97 assertEquals(expectedMappings, EapMsChapV2TypeData.getMessageMappings(SUCCESS_REQUEST)); in testGetMessageMappings()
99 expectedMappings = new HashMap<>(); in testGetMessageMappings()
100 expectedMappings.put("S", AUTH_STRING); in testGetMessageMappings()
101 expectedMappings.put("M", EXTRA_M_MESSAGE); in testGetMessageMappings()
103 expectedMappings, EapMsChapV2TypeData.getMessageMappings(SUCCESS_REQUEST_EXTRA_M)); in testGetMessageMappings()
105 expectedMappings = new HashMap<>(); in testGetMessageMappings()
106 expectedMappings.put("S", AUTH_STRING); in testGetMessageMappings()
[all …]