Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeModifiersTest.kt841 val stringType = codebase.assertClass("test.pkg.Foo").methods().single().returnType() in <lambda>() constant
842 assertThat(stringType.annotationNames()).containsExactly("test.pkg.A", "test.pkg.B") in <lambda>()
845 val annotationA = stringType.modifiers.annotations().first() in <lambda>()
847 stringType.modifiers.removeAnnotation(annotationA) in <lambda>()
848 assertThat(stringType.annotationNames()).containsExactly("test.pkg.B") in <lambda>()
851 stringType.modifiers.addAnnotation(annotationA) in <lambda>()
852 assertThat(stringType.annotationNames()).containsExactly("test.pkg.B", "test.pkg.A") in <lambda>()
1588 val stringType = codebase.assertClass("test.pkg.Foo").methods().single().returnType() in <lambda>() constant
1590 stringType.assertHasNullableNullability(annotations) in <lambda>()
1593 stringType.modifiers.setNullability(PLATFORM) in <lambda>()
[all …]
DCommonTypeItemTest.kt725 val stringType = paramTypes[0] in Test class types() constant
726 assertThat(stringType).isInstanceOf(ClassTypeItem::class.java) in Test class types()
727 assertThat((stringType as ClassTypeItem).qualifiedName).isEqualTo("java.lang.String") in Test class types()
728 assertThat(stringType.className).isEqualTo("String") in Test class types()
729 assertThat(stringType.arguments).isEmpty() in Test class types()