Home
last modified time | relevance | path

Searched refs:setMessage (Results 1 – 15 of 15) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/subject/
DCheckSubject.kt47 .setMessage(lazyMessage.invoke()) in isEqual()
58 .setMessage(lazyMessage.invoke()) in isNotEqual()
69 .setMessage(lazyMessage.invoke()) in isNull()
80 .setMessage(lazyMessage.invoke()) in isNotNull()
95 .setMessage(lazyMessage.invoke()) in isLower()
110 .setMessage(lazyMessage.invoke()) in isLowerOrEqual()
125 .setMessage(lazyMessage.invoke()) in isGreater()
140 .setMessage(lazyMessage.invoke()) in isGreaterOrEqual()
151 .setMessage(lazyMessage.invoke()) in contains()
DFlickerTraceSubject.kt145 .setMessage("$lastNew is not visible for 2 entries") in <lambda>()
156 .setMessage("$lastNew is not visible for 2 entries") in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/exceptions/
DExceptionMessageBuilder.kt43 setMessage("$elementName should ${if (expectElementExists) "" else "not "}exist") in forInvalidElement()
47 setMessage("$elementName should ${if (expectElementVisible) "" else "not "}be visible") in forInvalidElement()
50 fun forInvalidProperty(propertyName: String) = setMessage("Incorrect value for $propertyName") in forInvalidElement()
52 fun forIncorrectRegion(propertyName: String) = setMessage("Incorrect $propertyName") in forInvalidElement()
56 fun setMessage(value: String) = apply { headerDescription = value } in <lambda>() method
DSimpleFlickerAssertionError.kt4 override val messageBuilder = ExceptionMessageBuilder().setMessage(message)
DFlickerAssertionWrapperError.kt25 ExceptionMessageBuilder().setMessage(throwable.message ?: "<NO MESSAGE>")
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/events/
DEventLogSubject.kt52 val errorMsgBuilder = builder.setMessage("Focus did not change") in <lambda>()
66 val errorMsgBuilder = builder.setMessage("Incorrect focus change") in <lambda>()
77 .setMessage("Focus changes") in <lambda>()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DSuspendUnsuspendAppRule.java45 new SuspendDialogInfo.Builder().setMessage("Package Suspended").build();
49 new SuspendDialogInfo.Builder().setMessage("Package Unsuspended").build();
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DTestResult.java92 public void setMessage(String message) { in setMessage() method in TestResult
186 setMessage(trace); in failed()
188 setMessage(trace.substring(0, index)); in failed()
DITestResult.java56 void setMessage(String message); in setMessage() method
DResultHandler.java283 test.setMessage(parser.getAttributeValue(NS, MESSAGE_ATTR)); in getResultFromDir()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DAssertionsChecker.kt109 .setMessage("Assertion never passed ${assertions.first()}") in <lambda>()
126 .setMessage( in <lambda>()
/platform_testing/tests/microbenchmarks/accessibility/src/android/accessibility/microbenchmark/
DAccessibilityTestActivity.java42 .setMessage("Message") in onCreate()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DDialogView.java45 dialog = builder.setMessage("My message") in init()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubject.kt177 .setMessage("Above and below windows should be different") in <lambda>()
189 .setMessage("${aboveWindow.title} should be above ${belowWindow.title}") in <lambda>()
294 .setMessage("$componentNames should not overlap") in <lambda>()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java231 moduleBTest3.setMessage(MESSAGE); in testSerialization()
316 moduleBTest3.setMessage(MESSAGE); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()