/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | ApiFromTextTest.kt | 38 check( in Loading a signature file and writing the API back out() 57 check( in Handle lambdas as default values() 78 check( in Invoking function with multiple parameters as parameter default value() 113 check( in Handle enum constants as default values() 147 check( in Handle complex expressions as default values() 168 check( in Annotation signatures requiring more complicated token matching() 187 check( in Multiple extends() 197 check( in Native and strictfp keywords() 221 check( in Type use annotations() 261 check( in Vararg modifier() [all …]
|
D | CompatibilityCheckBaselineTest.kt | 23 fun `Test released-API check, with error message`() { in Test released-API check, with error message() 25 check( in Test released-API check, with error message() 48 fun `Test current-API check, with error message`() { in Test current-API check, with error message() 50 check( in Test current-API check, with error message() 73 fun `Test released-API check, with global baseline`() { in Test released-API check, with global baseline() 75 check( in Test released-API check, with global baseline() 100 fun `Test current-API check, with global baseline`() { in Test current-API check, with global baseline() 102 check( in Test current-API check, with global baseline() 127 fun `Test released-API check, with compatibility-released baseline`() { in Test released-API check, with compatibility-released baseline() 129 check( in Test released-API check, with compatibility-released baseline() [all …]
|
D | JDiffXmlTest.kt | 25 check( in Loading a signature file and writing the API back out() 116 check( in Abstract interfaces() 193 check( in Test generics, superclasses and interfaces() 390 check( in Test enums() 495 check( in Test enums compat mode() 590 check( in Throws Lists() 659 check( in Generics in interfaces() 695 check( in Type Parameter Mapping() 746 check( in Half float short from signature file() 797 check( in Half float short from source() [all …]
|
D | DocAnalyzerTest.kt | 18 check( in Basic documentation generation test() 76 check( in Fix first sentence handling() 121 check( in Fix typo replacement() 154 check( in Document Permissions() 261 check( in Conditional Permission() 307 check( in Document ranges() 362 check( in Merging in documentation snippets from annotation memberDoc and classDoc() 407 check( in Warn about multiple threading annotations() 450 check( in Merge Multiple sections() 529 check( in Typedefs() [all …]
|
D | SystemServiceCheckTest.kt | 24 check( in SystemService OK, loaded from signature file() 61 check( in SystemService OK, loaded from source() 98 check( in Check SystemService -- no permission annotation() 123 check( in Check SystemService -- can miss a permission with anyOf() 157 check( in Check SystemService such that at least one permission must be defined with anyOf() 188 check( in Check SystemService -- missing one permission with allOf() 222 check( in Check SystemService -- must be system permission, not normal() 263 check( in Check SystemService -- missing manifest permissions() 294 check( in Invalid manifest() 326 check( in Warning suppressed via annotation()
|
D | KeepFileTest.kt | 24 check( in Generate Keep file() 87 check( in Primitive types() 118 check( in Primitive array types() 147 check( in Object Array parameters() 174 check( in Arrays with Inner class() 205 check( in Conflicting Class Names in parameters() 261 check( in Multi dimensional arrays() 303 check( in Methods with arrays as the return type()
|
D | ConvertTest.kt | 25 check( in Test conversion flag() 94 check( in Test convert new with compat mode and api strip() 231 check( in Test convert new without compat mode and no strip() 381 check( in Test convert nothing new() 437 check( in Test doclava compat() 519 check( in Test convert new to v2 without compat mode and no strip() 590 check( in Test convert new to v1 signatures with compat mode and no strip() 657 check( in Test convert v2 to v1() 719 check( in Test convert v1 to v2() 781 check( in Test convert v2 to v2()
|
D | ShowAnnotationTest.kt | 11 check( in Basic showAnnotation test() 67 check( in Basic showAnnotation with showUnannotated test() 131 check( in Check @TestApi handling() 189 check( in Include interface-inherited fields in stubs() 256 check( in No UnhiddenSystemApi warning for --show-single-annotations() 312 check( in showAnnotation with parameters() 364 check( in showAnnotation with default parameters() 422 check( in Testing parsing an annotation whose attribute references the annotated class() 454 check( in Testing that file order does not affect output() 531 check( in new class in the same package while parsing a class()
|
D | ExtractAnnotationsTest.kt | 76 check( in Check java typedef extraction and warning about non-source retention of typedefs() 110 check( in Check Kotlin and referencing hidden constants from typedef() 188 check( in Check including only class retention annotations other than typedefs() 266 check( in Extract permission annotations() 335 check( in Include merged annotations in exported source annotations() 389 check( in Only including class retention annotations in stubs() 438 check( in Check warning about unexpected returns from typedef method() 514 check( in No typedef signatures in api files() 550 check( in Inlining typedef signatures in api files() 586 check( in Referencing typedef signatures in api files()
|
D | AnnotationsMergerTest.kt | 30 check( in Signature files contain annotations() 78 check( in Merged class and method annotations with no arguments() 138 check( in Merge signature files() 178 check( in Merge qualifier annotations from Java stub files() 215 check( in Merge qualifier annotations from Java stub files onto stubs that are not in the API signature file() 283 check( in Merge type use qualifier annotations from Java stub files() 321 check( in Merge qualifier annotations from Java stub files making sure they apply to public members of hidden superclasses() 366 check( in Merge inclusion annotations from Java stub files() 425 check( in Merge inclusion annotations from Java stub files using --show-single-annotation()
|
D | ApiLintBaselineTest.kt | 27 check( in Test with global baseline() 51 check( in Test with api-lint specific baseline() 75 check( in Test with api-lint specific baseline with update() 101 check( in Test with non-api-lint specific baseline() 132 check( in Test api-lint error message() 165 check( in Test no api-lint error message()
|
D | AndroidApiChecksTest.kt | 24 check( in Flag TODO documentation() 67 check( in Document Permissions() 126 check( in Document Intent Actions() 176 check( in Check Warnings for missing nullness annotations() 221 check( in Check IntDef Warnings()
|
D | NullabilityAnnotationsValidatorTest.kt | 25 check( in Empty report when all expected annotations present() 71 check( in Missing parameter annotation() 113 check( in Missing return type annotations() 154 check( in Error from annotation on primitive() 197 check( in Error from NullFromTypeParam not on type param() 239 check( in Using class list()
|
D | KotlinInteropChecksTest.kt | 24 check( in Hard Kotlin keywords() 51 check( in Sam-compatible parameters should be last() 106 check( in Companion object methods should be marked with JvmStatic() 144 check( in Methods with default parameters should specify JvmOverloads() 175 check( in Methods which throw exceptions should document them()
|
D | OptionsTest.kt | 488 check( in Test issue severity options() 508 check( in Test multiple issue severity options() 518 check( in Test issue severity options with inheriting issues() 527 check( in Test issue severity options by numeric id() 536 check( in Test issue severity options with case insensitive names() 545 check( in Test issue severity options with non-existing issue() 562 check( in Test for --strict-input-files-exempt()
|
D | SdkFileWriterTest.kt | 26 check( in Test generating broadcast actions() 58 check( in Test generating activity actions() 83 check( in Test generating widgets()
|
D | AnnotationStatisticsTest.kt | 26 check( in Test emitting annotation statistics() 60 check( in Static final initialized fields are not nullable() 87 check( in Test counting annotation usages of missing APIs()
|
D | CoreApiTest.kt | 29 check( in Hidden with --hide-annotation() 122 check( in Hidden with package javadoc and hiding default constructor explicitly() 214 check( in Complain if annotating a member and the surrounding class is not included() 275 check( in Hidden with --hide-meta-annotation()
|
D | UnhideApisTest.kt | 26 check( in Report hidden API access rather than opening up access() 107 check( in Do not warn about package private access when generating package private stubs() 184 check( in Including private interfaces from types()
|
D | BaselineTest.kt | 26 check( in <lambda>() 160 check( in <lambda>() 241 check( in <lambda>()
|
D | Java9LanguageFeaturesTest.kt | 27 check( in Private Interface Method() 57 check( in Basic class signature extraction()
|
D | MarkPackagesAsRecentTest.kt | 13 check( in Basic MarkPackagesAsRecentTest test() 47 check( in MarkPackagesAsRecent test with showAnnotation arguments()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | BugreportCollector.java | 313 boolean check(Relation relation, Noun noun) { in check() method in BugreportCollector 314 return check(relation, noun, null); in check() 317 boolean check(Relation relation, Noun noun, TestDescription test) { in check() method in BugreportCollector 439 check(Relation.AFTER, Noun.TESTCASE, test); in testEnded() 448 check(Relation.AFTER, Noun.FAILED_TESTCASE, test); in testFailed() 457 check(Relation.AFTER, Noun.FAILED_TESTCASE, test); in testAssumptionFailure() 466 check(Relation.AFTER, Noun.TESTRUN); in testRunEnded() 476 check(Relation.AFTER, Noun.FAILED_TESTRUN); in testRunFailed() 486 check(Relation.AT_START_OF, Noun.TESTRUN); in testRunStarted() 504 check(Relation.AT_START_OF, Noun.TESTCASE, test); in testStarted() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | DefaultModifierList.kt | 285 check(PRIVATE == VisibilityLevel.PRIVATE.ordinal) in <lambda>() 286 check(INTERNAL == VisibilityLevel.INTERNAL.ordinal) in <lambda>() 287 check(PACKAGE_PRIVATE == VisibilityLevel.PACKAGE_PRIVATE.ordinal) in <lambda>() 288 check(PROTECTED == VisibilityLevel.PROTECTED.ordinal) in <lambda>() 289 check(PUBLIC == VisibilityLevel.PUBLIC.ordinal) in <lambda>() 296 check(VISIBILITY_MASK == expectedMask) in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeItemTest.kt | 66 fun `check erasure`() { in check erasure() 106 fun `check erasure from object`() { in check erasure from object() 137 fun `check erasure from enums`() { in check erasure from enums()
|