Home
last modified time | relevance | path

Searched refs:assertExceptionMessage (Results 1 – 10 of 10) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/datastore/
DCachedResultWriterTest.kt23 import android.tools.utils.assertExceptionMessage
56 assertExceptionMessage(failure, TEST_SCENARIO.toString()) in writeToStoreFailsWhenWriteTwice()
57 assertExceptionMessage(failure, "already in data store") in writeToStoreFailsWhenWriteTwice()
DDataStoreTest.kt22 import android.tools.utils.assertExceptionMessage
54 assertExceptionMessage(failure, TEST_SCENARIO.toString()) in throwsErrorAddElementTwice()
67 assertExceptionMessage(failure, TEST_SCENARIO.toString()) in getsElementThrowErrorDoesNotExist()
84 assertExceptionMessage(failure, TEST_SCENARIO.toString()) in replacesElementThrowErrorDoesNotExist()
DCachedAssertionRunnerTest.kt29 import android.tools.utils.assertExceptionMessage
90 assertExceptionMessage(firstAssertionResult, android.tools.flicker.datastore.Consts.FAILURE) in executesFailure()
91 assertExceptionMessage(lastAssertionResult, android.tools.flicker.datastore.Consts.FAILURE) in executesFailure()
106 assertExceptionMessage(firstAssertionResult, android.tools.flicker.datastore.Consts.FAILURE) in updatesRunStatusFailureFirst()
122 assertExceptionMessage(lastAssertionResult, android.tools.flicker.datastore.Consts.FAILURE) in updatesRunStatusFailureLast()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTransitionExecutionRuleTest.kt31 import android.tools.utils.assertExceptionMessage
94 assertExceptionMessage(failure, Consts.FAILURE) in throwsTransitionFailure()
105 assertExceptionMessage(failure, EMPTY_TRANSITIONS_ERROR) in throwsTransitionFailureEmptyTransitions()
159 assertExceptionMessage(failure, INVALID_TAG_SPACE) in throwErrorCreateInvalidTagWithSpace()
170 assertExceptionMessage(failure, VALID_TAG_1) in throwErrorCreateInvalidTagDuplicate()
181 assertExceptionMessage(failure, INVALID_TAG_UNDERSCORE) in throwErrorCreateInvalidTagWithUnderscore()
DTransitionRunnerTest.kt31 import android.tools.utils.assertExceptionMessage
110 assertExceptionMessage(result.executionError, EMPTY_TRANSITIONS_ERROR) in failsWithNoTransitions()
131 assertExceptionMessage(result.executionError, Consts.FAILURE) in failsWithTransitionError()
152 assertExceptionMessage(result.executionError, Consts.FAILURE) in failsWithSetupErrorAndHasTraces()
173 assertExceptionMessage(result.executionError, Consts.FAILURE) in failsWithTeardownErrorAndHasTraces()
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DBaseResultReaderTestParseTrace.kt28 import android.tools.utils.assertExceptionMessage in <lambda>()
115 assertExceptionMessage(exception, invalidSizeMessage) in <lambda>()
DResultWriterTest.kt29 import android.tools.utils.assertExceptionMessage
55 assertExceptionMessage(exception, "Scenario shouldn't be empty") in cannotWriteFileWithoutScenario()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DArtifactAssertionRunnerTest.kt25 import android.tools.utils.assertExceptionMessage
122 assertExceptionMessage(actual, Consts.FAILURE) in verifyExceptionMessage()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/
DLegacyFlickerTestTest.kt31 import android.tools.utils.assertExceptionMessage
56 assertExceptionMessage(failure, "Scenario shouldn't be empty") in failsWithoutScenario()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DUtils.kt204 fun assertExceptionMessage(error: Throwable?, expectedValue: String) { in newTestResultWriter() method