/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | StubsTest.kt | 46 vararg sourceFiles: TestFile in <lambda>() 49 sourceFiles = *sourceFiles, in <lambda>() 68 sourceFiles = *arrayOf( in <lambda>() 132 sourceFiles = in <lambda>() 198 sourceFiles = *arrayOf( in <lambda>() 227 sourceFiles = *arrayOf( in <lambda>() 253 sourceFiles = *arrayOf( in <lambda>() 278 sourceFiles = *arrayOf( in <lambda>() 310 sourceFiles = *arrayOf( in <lambda>() 341 sourceFiles = *arrayOf( in <lambda>() [all …]
|
D | ApiFileTest.kt | 64 sourceFiles = *arrayOf( in Basic class signature extraction() 88 sourceFiles = *arrayOf( in Parameter Names in Java() 120 sourceFiles = *arrayOf( in Default Values Names in Java() 157 sourceFiles = *arrayOf( in Default Values and Names in Kotlin() 228 sourceFiles = *arrayOf( in Default Values in Kotlin for expressions() 303 sourceFiles = *arrayOf( in Basic Kotlin class() 397 sourceFiles = *arrayOf( in Kotlin Reified Methods() 440 sourceFiles = *arrayOf( in Kotlin Reified Methods 2() 475 sourceFiles = *arrayOf( in Suspend functions() 499 sourceFiles = *arrayOf( in Kotlin Generics() [all …]
|
D | ApiLintTest.kt | 40 sourceFiles = *arrayOf( in Test names() 141 sourceFiles = *arrayOf( in Test names against previous API() 181 sourceFiles = *arrayOf( in Test constants() 208 sourceFiles = *arrayOf( in No enums() 233 sourceFiles = *arrayOf( in Test callbacks() 285 sourceFiles = *arrayOf( in Test listeners() 346 sourceFiles = *arrayOf( in Test actions() 374 sourceFiles = *arrayOf( in Test extras() 400 sourceFiles = *arrayOf( in Test equals and hashCode() 459 sourceFiles = *arrayOf( in Test Parcelable() [all …]
|
D | CompatibilityCheckTest.kt | 206 sourceFiles = *arrayOf( in Kotlin Nullness() 243 sourceFiles = *arrayOf( in Java Parameter Name Change() 279 sourceFiles = *arrayOf( in Kotlin Parameter Name Change() 334 sourceFiles = *arrayOf( in Add flag new methods but not overrides from platform() 367 sourceFiles = *arrayOf( in Remove operator() 397 sourceFiles = *arrayOf( in Remove vararg() 430 sourceFiles = *arrayOf( in Add final() 470 sourceFiles = *arrayOf( in Inherited final() 511 sourceFiles = *arrayOf( in Implicit concrete() 551 sourceFiles = *arrayOf( in Implicit modifiers from inherited super classes() [all …]
|
D | DocAnalyzerTest.kt | 19 sourceFiles = *arrayOf( in Basic documentation generation test() 78 sourceFiles = *arrayOf( in Fix first sentence handling() 122 sourceFiles = *arrayOf( in Fix typo replacement() 156 sourceFiles = *arrayOf( in Document Permissions() 263 sourceFiles = *arrayOf( in Conditional Permission() 310 sourceFiles = *arrayOf( in Document ranges() 365 sourceFiles = *arrayOf( in Merging in documentation snippets from annotation memberDoc and classDoc() 410 sourceFiles = *arrayOf( in Warn about multiple threading annotations() 454 sourceFiles = *arrayOf( in Merge Multiple sections() 532 sourceFiles = *arrayOf( in Typedefs() [all …]
|
D | NullnessMigrationTest.kt | 27 sourceFiles = *arrayOf( in Test Kotlin-style null signatures() 66 sourceFiles = *arrayOf( in Method which is now marked null should be marked as recently migrated null() 115 sourceFiles = *arrayOf( in Parameter which is now marked null should be marked as recently migrated null() 162 sourceFiles = *arrayOf( in Comprehensive check of migration() 231 sourceFiles = *arrayOf( in Comprehensive check of migration, Kotlin-style output() 283 sourceFiles = *arrayOf( in Convert libcore nullness annotations to support() 333 sourceFiles = *arrayOf( in Check type use annotations() 390 sourceFiles = *arrayOf( in Check androidx package annotation() 440 sourceFiles = *arrayOf( in Migrate nullness for type-use annotations() 510 sourceFiles = *arrayOf( in Do not migrate type-use annotations when not changed() [all …]
|
D | SystemServiceCheckTest.kt | 28 sourceFiles = *arrayOf( in SystemService OK, loaded from signature file() 65 sourceFiles = *arrayOf( in SystemService OK, loaded from source() 102 sourceFiles = *arrayOf( in Check SystemService -- no permission annotation() 127 sourceFiles = *arrayOf( in Check SystemService -- can miss a permission with anyOf() 164 sourceFiles = *arrayOf( in Check SystemService such that at least one permission must be defined with anyOf() 192 sourceFiles = *arrayOf( in Check SystemService -- missing one permission with allOf() 228 sourceFiles = *arrayOf( in Check SystemService -- must be system permission, not normal() 271 sourceFiles = *arrayOf( in Check SystemService -- missing manifest permissions() 302 sourceFiles = *arrayOf( in Invalid manifest() 330 sourceFiles = *arrayOf( in Warning suppressed via annotation()
|
D | ExtractAnnotationsTest.kt | 79 sourceFiles = *sourceFiles1, in Check java typedef extraction and warning about non-source retention of typedefs() 112 sourceFiles = *arrayOf( in Check Kotlin and referencing hidden constants from typedef() 190 sourceFiles = *arrayOf( in Check including only class retention annotations other than typedefs() 268 sourceFiles = *arrayOf( in Extract permission annotations() 342 sourceFiles = *arrayOf( in Include merged annotations in exported source annotations() 395 sourceFiles = in Only including class retention annotations in stubs() 445 sourceFiles = *arrayOf( in Check warning about unexpected returns from typedef method() 525 sourceFiles = *sourceFiles1, in No typedef signatures in api files() 561 sourceFiles = *sourceFiles1, in Inlining typedef signatures in api files() 597 sourceFiles = *sourceFiles1, in Referencing typedef signatures in api files()
|
D | AnnotationsMergerTest.kt | 35 sourceFiles = *arrayOf( in Signature files contain annotations() 79 sourceFiles = *arrayOf( in Merged class and method annotations with no arguments() 139 sourceFiles = *arrayOf( in Merge signature files() 179 sourceFiles = *arrayOf( in Merge qualifier annotations from Java stub files() 217 sourceFiles = *arrayOf( in Merge type use qualifier annotations from Java stub files() 256 sourceFiles = *arrayOf( in Merge inclusion annotations from Java stub files() 314 sourceFiles = *arrayOf( in Merge inclusion annotations from Java stub files using --show-single-annotation()
|
D | NullabilityAnnotationsValidatorTest.kt | 26 sourceFiles = *arrayOf( in Empty report when all expected annotations present() 72 sourceFiles = *arrayOf( in Missing parameter annotation() 114 sourceFiles = *arrayOf( in Missing return type annotations() 155 sourceFiles = *arrayOf( in Error from annotation on primitive() 198 sourceFiles = *arrayOf( in Error from NullFromTypeParam not on type param() 240 sourceFiles = *arrayOf( in Using class list()
|
D | AndroidApiChecksTest.kt | 29 sourceFiles = *arrayOf( in Flag TODO documentation() 72 sourceFiles = *arrayOf( in Document Permissions() 133 sourceFiles = *arrayOf( in Document Intent Actions() 185 sourceFiles = *arrayOf( in Check Warnings for missing nullness annotations() 229 sourceFiles = *arrayOf( in Check IntDef Warnings()
|
D | KotlinInteropChecksTest.kt | 31 sourceFiles = *arrayOf( in Hard Kotlin keywords() 57 sourceFiles = *arrayOf( in Sam-compatible parameters should be last() 97 sourceFiles = *arrayOf( in Companion object methods should be marked with JvmStatic() 131 sourceFiles = *arrayOf( in Methods with default parameters should specify JvmOverloads() 161 sourceFiles = *arrayOf( in Methods which throw exceptions should document them()
|
D | ShowAnnotationTest.kt | 14 sourceFiles = *arrayOf( in Basic showAnnotation test() 72 sourceFiles = *arrayOf( in Basic showAnnotation with showUnannotated test() 135 sourceFiles = *arrayOf( in Check @TestApi handling() 193 sourceFiles = *arrayOf( in Include interface-inherited fields in stubs() 262 sourceFiles = *arrayOf( in No UnhiddenSystemApi warning for --show-single-annotations()
|
D | UnhideApisTest.kt | 48 sourceFiles = *arrayOf( in Report hidden API access rather than opening up access() 126 sourceFiles = *arrayOf( in Do not warn about package private access when generating package private stubs() 187 sourceFiles = *arrayOf( in Including private interfaces from types()
|
D | CoreApiTest.kt | 30 sourceFiles = *arrayOf( in Hidden with hide annotation() 124 sourceFiles = *arrayOf( in Hidden with package javadoc and hiding default constructor explicitly() 218 sourceFiles = *arrayOf( in Complain if annotating a member and the surrounding class is not included()
|
D | BaselineTest.kt | 65 sourceFiles = *arrayOf( in <lambda>() 177 sourceFiles = *arrayOf( in <lambda>() 274 sourceFiles = *arrayOf( in <lambda>()
|
D | SdkFileWriterTest.kt | 30 sourceFiles = *arrayOf( in Test generating broadcast actions() 59 sourceFiles = *arrayOf( in Test generating widgets()
|
D | Java9LanguageFeaturesTest.kt | 30 sourceFiles = *arrayOf( in Private Interface Method() 61 sourceFiles = *arrayOf( in Basic class signature extraction()
|
D | AnnotationStatisticsTest.kt | 35 sourceFiles = *arrayOf( in Test emitting annotation statistics() 130 sourceFiles = *arrayOf( in Test counting annotation usages of missing APIs()
|
D | DriverTest.kt | 365 vararg sourceFiles: TestFile in <lambda>() 415 val project = createProject(*sourceFiles) in <lambda>() 417 …val packages = sourceFiles.asSequence().map { findPackage(it.getContents()!!) }.filterNotNull().to… in <lambda>() 427 if (sourceFiles.any { it.targetPath.startsWith("src2") }) { in <lambda>() 434 … assert(sourceFiles.isEmpty()) { "Shouldn't combine sources with signature file loads" } in <lambda>() 448 … assert(sourceFiles.isEmpty()) { "Shouldn't combine sources with API jar file loads" } in <lambda>() 451 … sourceFiles.asSequence().map { File(project, it.targetPath).path }.toList().toTypedArray() in <lambda>() 1266 val sourceFile = sourceFiles[i] in <lambda>() 1473 val firstFile = File(stubsDir, sourceFiles[0].targetPath.substring("src/".length)) in <lambda>()
|
D | SubtractApiTest.kt | 27 sourceFiles = *arrayOf( in Subtract APIs()
|
D | KeepFileTest.kt | 26 sourceFiles = *arrayOf( in Generate Keep file()
|
D | ArtifactTaggerTest.kt | 27 sourceFiles = *arrayOf( in Tag API()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | JavadocTest.kt | 37 vararg sourceFiles: TestFile in checkStubs() 40 sourceFiles = *sourceFiles, in checkStubs() 90 sourceFiles = in Relative documentation links in stubs() 191 sourceFiles = in Rewrite relative documentation links in doc-stubs() 293 sourceFiles = in Rewrite relative documentation links in doc-stubs 2() 374 sourceFiles = in Rewrite relative documentation links in doc-stubs 3() 441 sourceFiles = in Rewrite relative documentation links in doc-stubs 4() 571 sourceFiles = in Rewrite relative documentation links in doc-stubs 5() 618 sourceFiles = in Check references to inherited field constants() 716 sourceFiles = in Handle @attr references() [all …]
|
D | PsiTypePrinterTest.kt | 791 val sourceFiles = mutableListOf<File>() in <lambda>() constant 794 sourceFiles.add(file) in <lambda>() 813 sourceFiles, "test project", in <lambda>()
|