/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/ |
D | WindowManagerTraceSubject.kt | 115 notContains(componentMatcher, isOptional = false) in <lambda>() 120 isOptional: Boolean in <lambda>() 122 addAssertion("notContains(${componentMatcher.toWindowIdentifier()})", isOptional) { in <lambda>() 130 ): WindowManagerTraceSubject = isAboveAppWindowVisible(componentMatcher, isOptional = false) in <lambda>() 135 isOptional: Boolean in <lambda>() 139 isOptional in <lambda>() 148 ): WindowManagerTraceSubject = isAboveAppWindowInvisible(componentMatcher, isOptional = false) in <lambda>() 153 isOptional: Boolean in <lambda>() 157 isOptional in <lambda>() 166 ): WindowManagerTraceSubject = isBelowAppWindowVisible(componentMatcher, isOptional = false) in <lambda>() [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | NamedAssertion.kt | 30 override val isOptional: Boolean = false constant in android.tools.flicker.assertions.NamedAssertion 47 if (isOptional != other.isOptional) { in invoke() 56 result = 31 * result + isOptional.hashCode() in hashCode()
|
D | AssertionsChecker.kt | 38 fun add(name: String, isOptional: Boolean = false, assertion: (T) -> Unit) { in <lambda>() 39 assertions.add(CompoundAssertion(assertion, name, isOptional)) in <lambda>() 43 fun append(name: String, isOptional: Boolean = false, assertion: (T) -> Unit) { in <lambda>() 44 assertions.last().add(assertion, name, isOptional) in <lambda>() 90 if (currentAssertion.isOptional) { in <lambda>() 119 if (untestedAssertions.any { !it.isOptional }) { in <lambda>()
|
D | CompoundAssertion.kt | 27 override val isOptional in <lambda>() constant 28 get() = assertions.all { it.isOptional } in <lambda>() 49 val nonOptionalFailure = failures.firstOrNull { !it.first.isOptional } in <lambda>() 60 if (firstFailure != null && isOptional) { in <lambda>()
|
D | Assertion.kt | 25 val isOptional: Boolean constant
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayersTraceSubject.kt | 121 notContains(componentMatcher, isOptional = false) in <lambda>() 124 fun notContains(componentMatcher: IComponentMatcher, isOptional: Boolean): LayersTraceSubject = in <lambda>() 126 addAssertion("notContains(${componentMatcher.toLayerIdentifier()})", isOptional) { in <lambda>() 133 contains(componentMatcher, isOptional = false) in <lambda>() 136 fun contains(componentMatcher: IComponentMatcher, isOptional: Boolean): LayersTraceSubject = in <lambda>() 138 addAssertion("contains(${componentMatcher.toLayerIdentifier()})", isOptional) { in <lambda>() 145 isVisible(componentMatcher, isOptional = false) in <lambda>() 148 fun isVisible(componentMatcher: IComponentMatcher, isOptional: Boolean): LayersTraceSubject = in <lambda>() 150 addAssertion("isVisible(${componentMatcher.toLayerIdentifier()})", isOptional) { in <lambda>() 157 isInvisible(componentMatcher, isOptional = false) in <lambda>() [all …]
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/ |
D | AssertionsCheckerTest.kt | 54 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalStart() 65 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalEnd() 73 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalMiddle() 81 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalMultiple() 82 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalMultiple() 84 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalMultiple() 85 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalMultiple() 87 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalMultiple() 88 checker.add("isData1", isOptional = true) { it.isData1() } in canCheckChangingAssertionsIgnoreOptionalMultiple()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | AppLayerBecomesVisible.kt | 37 .isVisible(ComponentNameMatcher.SNAPSHOT, isOptional = true) in doEvaluate() 39 .isVisible(ComponentNameMatcher.SPLASH_SCREEN, isOptional = true) in doEvaluate() 41 .isVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate()
|
D | AppWindowBecomesVisible.kt | 37 .isAppWindowVisible(ComponentNameMatcher.SNAPSHOT, isOptional = true) in doEvaluate() 39 .isAppWindowVisible(ComponentNameMatcher.SPLASH_SCREEN, isOptional = true) in doEvaluate() 41 .isAppWindowVisible(component.build(scenarioInstance), isOptional = true) in doEvaluate()
|
D | SplitAppLayerBoundsBecomesVisible.kt | 48 notContains(splitScreenDivider.or(app), isOptional = true) in doEvaluate()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/inputmethod/ |
D | InputMethodManagerServiceTraceSubject.kt | 64 isOptional: Boolean = false, in invoke() 66 ): InputMethodManagerServiceTraceSubject = apply { addAssertion(name, isOptional, assertion) } in invoke()
|
D | ImeClientTraceSubject.kt | 59 isOptional: Boolean = false, in invoke() 61 ): ImeClientTraceSubject = apply { addAssertion(name, isOptional, assertion) } in invoke()
|
D | InputMethodServiceTraceSubject.kt | 59 isOptional: Boolean = false, in invoke() 61 ): InputMethodServiceTraceSubject = apply { addAssertion(name, isOptional, assertion) } in invoke()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/ |
D | FlickerTraceSubject.kt | 45 isOptional: Boolean = false, in <lambda>() 49 assertionsChecker.add(name, isOptional, assertion) in <lambda>() 51 assertionsChecker.append(name, isOptional, assertion) in <lambda>()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/validators/ |
D | ValidateScrollConfig.java | 147 private String validateAndGetValue(String key, JsonObject jsonObject, boolean isOptional) { in validateAndGetValue() argument 155 if (!isOptional) { in validateAndGetValue()
|
D | ValidateWorkflowTask.java | 164 String key, JsonObject jsonObject, boolean isOptional) { in validateAndGetStringValue() argument 172 if (!isOptional) { in validateAndGetStringValue()
|
D | ValidateUiElement.java | 151 private String validateAndGetValue(String key, JsonObject jsonObject, boolean isOptional) { in validateAndGetValue() argument 159 if (!isOptional) { in validateAndGetValue()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/ |
D | WindowManagerTraceSubjectTest.kt | 247 .isAppSnapshotStartingWindowVisibleFor(app2, isOptional = true) in <lambda>() 251 .isAppSnapshotStartingWindowVisibleFor(app1, isOptional = true) in <lambda>()
|
D | WindowManagerStateSubjectTest.kt | 415 .isAppWindowVisible(ComponentNameMatcher.SNAPSHOT, isOptional = true) in canDetectWindowVisibilityWhen2WindowsHaveSameName() 417 .isAppWindowVisible(ComponentNameMatcher.SPLASH_SCREEN, isOptional = true) in canDetectWindowVisibilityWhen2WindowsHaveSameName()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/ |
D | WorkflowTask.java | 269 boolean isOptional) { in validateAndClickUiElement() argument 347 if (isOptional && !isValidUiObject(uiObject)) { in validateAndClickUiElement()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/ |
D | LayersTraceSubjectTest.kt | 308 .isSplashScreenVisibleFor(TestComponents.SIMPLE_APP, isOptional = false) in <lambda>()
|