Home
last modified time | relevance | path

Searched refs:mapType (Results 1 – 3 of 3) sorted by relevance

/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt424 val mapType = p1.type() as ClassTypeItem in <lambda>() constant
425 assertThat(mapType.qualifiedName).isEqualTo("java.util.Map") in <lambda>()
426 assertThat(mapType.arguments).hasSize(2) in <lambda>()
427 assertThat(mapType.arguments[0].isString()).isTrue() in <lambda>()
428 assertThat(mapType.arguments[1].isJavaLangObject()).isTrue() in <lambda>()
466 val mapType = p1.type() as ClassTypeItem in <lambda>() constant
467 assertThat(mapType.qualifiedName).isEqualTo("java.util.Map") in <lambda>()
468 assertThat(mapType.arguments).hasSize(2) in <lambda>()
469 assertThat(mapType.arguments[0].isString()).isTrue() in <lambda>()
470 assertThat(mapType.arguments[1].isJavaLangObject()).isTrue() in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeItemTest.kt749 val mapType = paramTypes[3] in Test class types() constant
750 assertThat(mapType).isInstanceOf(ClassTypeItem::class.java) in Test class types()
751 assertThat((mapType as ClassTypeItem).qualifiedName).isEqualTo("java.util.Map") in Test class types()
752 assertThat(mapType.arguments).hasSize(2) in Test class types()
753 val mapKeyType = mapType.arguments.first() in Test class types()
756 val mapValueType = mapType.arguments.last() in Test class types()
DCommonTypeModifiersTest.kt332 val mapType = method.returnType() in <lambda>() constant
333 mapType.assertClassTypeItem { in <lambda>()