/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 | NullnessMigrationTest.kt | 25 check( in Test Kotlin-style null signatures() 63 check( in Method which is now marked null should be marked as recently migrated null() 114 check( in Parameter which is now marked null should be marked as recently migrated null() 162 fun `Comprehensive check of migration`() { in Comprehensive check of migration() 163 check( in Comprehensive check of migration() 233 fun `Comprehensive check of migration, Kotlin-style output`() { in Comprehensive check of migration, Kotlin-style output() 234 check( in Comprehensive check of migration, Kotlin-style output() 286 check( in Convert libcore nullness annotations to support() 337 check( in Check type use annotations() 393 check( in Check androidx package annotation() [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 | 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 | 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() 183 check( in Merge qualifier annotations from Java stub files() 225 check( in Merge qualifier annotations from Java stub files onto stubs that are not in the API signature file() 302 check( in Merge type use qualifier annotations from Java stub files() 340 check( in Merge qualifier annotations from Java stub files making sure they apply to public members of hidden superclasses() 388 check( in Merge inclusion annotations from Java stub files() 447 check( in Merge inclusion annotations from Java stub files using --show-single-annotation() 491 check( in Merge inclusion annotations on api in java namespace() [all …]
|
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 | 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() 440 check( in Check warning about unexpected returns from typedef method() 517 check( in No typedef signatures in api files() 553 check( in Inlining typedef signatures in api files() 589 check( in Referencing typedef signatures in api files()
|
D | ReporterTest.kt | 24 check( in Errors are sent to stderr() 50 check( in Test suppression annotations() 91 check( in Test suppressing infos() 111 check( in Test repeat errors with 1 error() 137 check( in Test repeat errors with 5 errors() 175 check( in Test repeat errors with 6 errors()
|
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() 129 check( in Test api-lint error message() 158 check( in Test no api-lint error message()
|
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() 260 check( in No UnhiddenSystemApi warning for --show-single-annotations() 655 check( in Check @PublishedApi handling() 694 check(
|
D | NullabilityAnnotationsValidatorTest.kt | 25 check( in Empty report when all expected annotations present() 74 check( in Missing parameter annotation() 118 check( in Missing return type annotations() 160 check( in Error from annotation on primitive() 206 check( in Error from NullFromTypeParam not on type param() 250 check( in Using class list()
|
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 | KotlinInteropChecksTest.kt | 24 check( in Hard Kotlin keywords() 56 check( in Sam-compatible parameters should be last() 115 check( in Companion object methods should be marked with JvmStatic() 159 check( in Methods with default parameters should specify JvmOverloads() 190 check( in Methods which throw exceptions should document them()
|
D | Java9LanguageFeaturesTest.kt | 28 check( in Private Interface Method() 58 check( in Kotlin language level() 98 check( in Basic class signature extraction() 194 check( in Using JDK APIs()
|
D | CoreApiTest.kt | 29 check( in Hidden with --hide-annotation() 123 check( in Hidden with package javadoc and hiding default constructor explicitly() 216 check( in Complain if annotating a member and the surrounding class is not included() 277 check( in Hidden with --hide-meta-annotation()
|
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 | BaselineTest.kt | 26 check( in <lambda>() 160 check( in <lambda>() 242 check( in <lambda>()
|
D | MarkPackagesAsRecentTest.kt | 13 check( in Basic MarkPackagesAsRecentTest test() 50 check( in MarkPackagesAsRecent test with showAnnotation arguments()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/ |
D | TypeItemTest.kt | 57 fun check(typeName: String, expected: String = typeName) { in testToLambdaFormat() method 62 check("androidx.pkg.Foo") in testToLambdaFormat() 63 check("kotlin.jvm.functions<<>") in testToLambdaFormat() 65 check("kotlin.jvm.functions.Function0<kotlin.Unit>", "() -> kotlin.Unit") in testToLambdaFormat() 66 check("kotlin.jvm.functions.Function1<pkg.Foo, pkg.Bar>", "(pkg.Foo) -> pkg.Bar") in testToLambdaFormat() 67 check( in testToLambdaFormat() 71 check("kotlin.jvm.functions<<>") in testToLambdaFormat()
|
/tools/repohooks/rh/ |
D | utils_unittest.py | 166 ret = rh.utils.run(['false'], check=False) 170 ret = rh.utils.run(['true'], check=False) 177 rh.utils.run(['false'], check=True) 182 ret = rh.utils.run(['true'], check=True) 190 check=True, capture_output=True) 198 rh.utils.run(['./!~a/b/c/d/'], check=True, capture_output=True) 205 ret = rh.utils.run(['./!~a/b/c/d/'], check=False, capture_output=True) 212 rh.utils.run(['./!~a/b/c/d/'], check=True,
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/ |
D | bt_test_utils.py | 170 check = str(hex(int(item)))[2:] 171 if len(check) == 1: 172 check = "0{}".format(check) 173 str_list += check
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/ |
D | WlanWmmTest.py | 302 for check in stream['validation']: 303 operator_str = check['operator'] 304 rel_tolerance = check.get('rel_tolerance', 0) 305 abs_tolerance = check.get('abs_tolerance', 0) 306 max_bw_rel_tolerance = check.get('max_bw_rel_tolerance', 0) 307 expected_bw_percentage = check.get('bandwidth_percentage', 310 if 'bandwidth' in check: 311 comp_bw = check['bandwidth'] 320 elif 'phase' in check and 'stream' in check: 321 comp_phase_id = check['phase'] [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeItemTest.kt | 65 fun `check erasure`() { in check erasure() 105 fun `check erasure from object`() { in check erasure from object() 136 fun `check erasure from enums`() { in check erasure from enums()
|