/tools/metalava/src/test/java/com/android/tools/metalava/stub/ |
D | StubsTest.kt | 66 sourceFiles: Array<TestFile> in <lambda>() 69 sourceFiles = sourceFiles, in <lambda>() 87 sourceFiles = arrayOf( in <lambda>() 150 sourceFiles = arrayOf( in <lambda>() 221 sourceFiles = arrayOf( in <lambda>() 250 sourceFiles = arrayOf( in <lambda>() 276 sourceFiles = arrayOf( in <lambda>() 301 sourceFiles = arrayOf( in <lambda>() 330 sourceFiles = arrayOf( in <lambda>() 361 sourceFiles = arrayOf( in <lambda>() [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | ApiFileTest.kt | 65 sourceFiles = arrayOf( in Basic class signature extraction() 89 sourceFiles = arrayOf( in Parameter Names in Java() 120 sourceFiles = arrayOf( in Default Values Names in Java() 156 sourceFiles = arrayOf( in Default Values and Names in Kotlin() 226 sourceFiles = arrayOf( in Default Values in Kotlin for expressions() 299 sourceFiles = arrayOf( in Basic Kotlin class() 371 sourceFiles = arrayOf( in Kotlin Reified Methods() 412 sourceFiles = arrayOf( in Kotlin Reified Methods 2() 445 sourceFiles = arrayOf( in Suspend functions() 471 sourceFiles = arrayOf( in Var properties with private setters() [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() 396 sourceFiles = arrayOf( in Remove vararg() 429 sourceFiles = arrayOf( in Add final() 469 sourceFiles = arrayOf( in Inherited final() 510 sourceFiles = arrayOf( in Implicit concrete() 550 sourceFiles = arrayOf( in Implicit modifiers from inherited super classes() [all …]
|
D | ApiLintTest.kt | 49 sourceFiles = arrayOf( in Test names() 186 sourceFiles = arrayOf( in Test names against previous API() 227 sourceFiles = arrayOf( in Test constants() 262 sourceFiles = arrayOf( in No enums() 288 sourceFiles = arrayOf( in Test callbacks() 355 sourceFiles = arrayOf( in Test listeners() 421 sourceFiles = arrayOf( in Test actions() 450 sourceFiles = arrayOf( in Test extras() 477 sourceFiles = arrayOf( in Test equals and hashCode() 544 sourceFiles = arrayOf( in Test Parcelable() [all …]
|
D | DocAnalyzerTest.kt | 19 sourceFiles = arrayOf( in Basic documentation generation test() 79 sourceFiles = arrayOf( in Fix first sentence handling() 126 sourceFiles = arrayOf( in Fix typo replacement() 162 sourceFiles = arrayOf( in Document Permissions() 270 sourceFiles = arrayOf( in Conditional Permission() 318 sourceFiles = arrayOf( in Document ranges() 375 sourceFiles = arrayOf( in Merging in documentation snippets from annotation memberDoc and classDoc() 422 sourceFiles = arrayOf( in Warn about multiple threading annotations() 468 sourceFiles = arrayOf( in Merge Multiple sections() 548 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() 117 sourceFiles = arrayOf( in Parameter which is now marked null should be marked as recently migrated null() 166 sourceFiles = arrayOf( in Comprehensive check of migration() 237 sourceFiles = arrayOf( in Comprehensive check of migration, Kotlin-style output() 289 sourceFiles = arrayOf( in Convert libcore nullness annotations to support() 339 sourceFiles = arrayOf( in Check type use annotations() 396 sourceFiles = arrayOf( in Check androidx package annotation() 446 sourceFiles = arrayOf( in Migrate nullness for type-use annotations() 520 sourceFiles = arrayOf( in Do not migrate type-use annotations when not changed() [all …]
|
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() 184 sourceFiles = arrayOf( in Merge qualifier annotations from Java stub files() 227 sourceFiles = arrayOf( in Merge qualifier annotations from Java stub files onto stubs that are not in the API signature file() 303 sourceFiles = arrayOf( in Merge type use qualifier annotations from Java stub files() 341 sourceFiles = arrayOf( in Merge qualifier annotations from Java stub files making sure they apply to public members of hidden superclasses() 390 sourceFiles = arrayOf( in Merge inclusion annotations from Java stub files() 448 sourceFiles = arrayOf( in Merge inclusion annotations from Java stub files using --show-single-annotation() 492 sourceFiles = arrayOf( in Merge inclusion annotations on api in java namespace() [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 = arrayOf( in Only including class retention annotations in stubs() 443 sourceFiles = arrayOf( in Check warning about unexpected returns from typedef method() 524 sourceFiles = sourceFiles1, in No typedef signatures in api files() 560 sourceFiles = sourceFiles1, in Inlining typedef signatures in api files() 596 sourceFiles = sourceFiles1, in Referencing typedef signatures in api files()
|
D | KeepFileTest.kt | 25 sourceFiles = arrayOf( in Generate Keep file() 88 sourceFiles = arrayOf( in Primitive types() 119 sourceFiles = arrayOf( in Primitive array types() 148 sourceFiles = arrayOf( in Object Array parameters() 175 sourceFiles = arrayOf( in Arrays with Inner class() 206 sourceFiles = arrayOf( in Conflicting Class Names in parameters() 262 sourceFiles = arrayOf( in Multi dimensional arrays() 304 sourceFiles = arrayOf( in Methods with arrays as the return type()
|
D | ShowAnnotationTest.kt | 14 sourceFiles = arrayOf( in Basic showAnnotation test() 71 sourceFiles = arrayOf( in Basic showAnnotation with showUnannotated test() 133 sourceFiles = arrayOf( in Check @TestApi handling() 190 sourceFiles = arrayOf( in Include interface-inherited fields in stubs() 262 sourceFiles = arrayOf( in No UnhiddenSystemApi warning for --show-single-annotations() 657 sourceFiles = arrayOf( in Check @PublishedApi handling() 695 sourceFiles = arrayOf(
|
D | ReporterTest.kt | 34 sourceFiles = arrayOf( in Errors are sent to stderr() 57 sourceFiles = arrayOf( in Test suppression annotations() 94 sourceFiles = arrayOf( in Test suppressing infos() 122 sourceFiles = arrayOf( in Test repeat errors with 1 error() 156 sourceFiles = arrayOf( in Test repeat errors with 5 errors() 196 sourceFiles = arrayOf( in Test repeat errors with 6 errors()
|
D | ApiLintBaselineTest.kt | 35 sourceFiles = arrayOf( in Test with global baseline() 59 sourceFiles = arrayOf( in Test with api-lint specific baseline() 85 sourceFiles = arrayOf( in Test with api-lint specific baseline with update() 113 sourceFiles = arrayOf( in Test with non-api-lint specific baseline() 137 sourceFiles = arrayOf( in Test api-lint error message() 165 sourceFiles = arrayOf( in Test no api-lint error message()
|
D | NullabilityAnnotationsValidatorTest.kt | 26 sourceFiles = arrayOf( in Empty report when all expected annotations present() 75 sourceFiles = arrayOf( in Missing parameter annotation() 119 sourceFiles = arrayOf( in Missing return type annotations() 161 sourceFiles = arrayOf( in Error from annotation on primitive() 207 sourceFiles = arrayOf( in Error from NullFromTypeParam not on type param() 251 sourceFiles = arrayOf( in Using class list()
|
D | AndroidApiChecksTest.kt | 29 sourceFiles = arrayOf( in Flag TODO documentation() 72 sourceFiles = arrayOf( in Document Permissions() 132 sourceFiles = arrayOf( in Document Intent Actions() 183 sourceFiles = arrayOf( in Check Warnings for missing nullness annotations() 226 sourceFiles = arrayOf( in Check IntDef Warnings()
|
D | KotlinInteropChecksTest.kt | 32 sourceFiles = arrayOf( in Hard Kotlin keywords() 63 sourceFiles = arrayOf( in Sam-compatible parameters should be last() 128 sourceFiles = arrayOf( in Companion object methods should be marked with JvmStatic() 164 sourceFiles = arrayOf( in Methods with default parameters should specify JvmOverloads() 200 sourceFiles = arrayOf( in Methods which throw exceptions should document them()
|
D | Java9LanguageFeaturesTest.kt | 30 sourceFiles = arrayOf( in Private Interface Method() 59 sourceFiles = arrayOf( in Kotlin language level() 100 sourceFiles = arrayOf( in Basic class signature extraction() 195 sourceFiles = arrayOf( in Using JDK APIs()
|
D | CoreApiTest.kt | 30 sourceFiles = arrayOf( in Hidden with --hide-annotation() 124 sourceFiles = arrayOf( in Hidden with package javadoc and hiding default constructor explicitly() 217 sourceFiles = arrayOf( in Complain if annotating a member and the surrounding class is not included() 278 sourceFiles = arrayOf( in Hidden with --hide-meta-annotation()
|
D | SdkFileWriterTest.kt | 30 sourceFiles = arrayOf( in Test generating broadcast actions() 59 sourceFiles = arrayOf( in Test generating activity actions() 84 sourceFiles = arrayOf( in Test generating widgets()
|
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() 186 sourceFiles = arrayOf( in Including private interfaces from types()
|
D | BaselineTest.kt | 64 sourceFiles = arrayOf( in <lambda>() 176 sourceFiles = arrayOf( in <lambda>() 273 sourceFiles = arrayOf( in <lambda>()
|
D | ShowForStubPurposesAnnotationTest.kt | 231 sourceFiles = SOURCE_FILES_1_2_3_4_5, in Hierarchy test - SystemApi + ModuleApi() 287 sourceFiles = SOURCE_FILES_1_2_3_4_5, in Hierarchy test - SystemApi only() 324 sourceFiles = SOURCE_FILES_1_2_3_4_5, in Hierarchy test - ModuleApi Only, also check the stub files()
|
D | ApiAnalyzerTest.kt | 31 sourceFiles = arrayOf( in Hidden abstract method with show @SystemApi() 99 sourceFiles = arrayOf( in Hidden abstract method for public API()
|
D | MarkPackagesAsRecentTest.kt | 14 sourceFiles = arrayOf( in Basic MarkPackagesAsRecentTest test() 51 sourceFiles = arrayOf( in MarkPackagesAsRecent test with showAnnotation arguments()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | JavadocTest.kt | 36 sourceFiles: Array<TestFile> in checkStubs() 39 sourceFiles = sourceFiles, in checkStubs() 87 sourceFiles = arrayOf( in Relative documentation links in stubs() 186 sourceFiles = arrayOf( in Rewrite relative documentation links in doc-stubs() 286 sourceFiles = arrayOf( in Rewrite relative documentation links in doc-stubs 2() 364 sourceFiles = arrayOf( in Rewrite relative documentation links in doc-stubs 3() 435 sourceFiles = arrayOf( in Rewrite relative documentation links in doc-stubs but preserve custom link text() 506 sourceFiles = arrayOf( in Rewrite relative documentation links in doc-stubs 4() 634 sourceFiles = arrayOf( in Rewrite relative documentation links in doc-stubs 5() 679 sourceFiles = arrayOf( in Check references to inherited field constants() [all …]
|