Searched refs:assertFail (Results 1 – 6 of 6) sorted by relevance
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/region/ |
D | RegionSubjectTest.kt | 23 import android.tools.utils.assertFail 33 assertFail(expectedMessage) { in expectAllFailPositionChange() 36 assertFail(expectedMessage) { in expectAllFailPositionChange() 39 assertFail(expectedMessage) { in expectAllFailPositionChange() 42 assertFail(expectedMessage) { in expectAllFailPositionChange() 53 assertFail(MSG_ERROR_TOP_POSITION) { in detectPositionChangeHigher() 56 assertFail(MSG_ERROR_TOP_POSITION) { in detectPositionChangeHigher() 67 assertFail(MSG_ERROR_TOP_POSITION) { in detectPositionChangeLower() 70 assertFail(MSG_ERROR_TOP_POSITION) { in detectPositionChangeLower() 81 assertFail(MSG_ERROR_TOP_POSITION) { in detectPositionChangeEqualHigherLower() [all …]
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/ |
D | WindowManagerStateSubjectTest.kt | 26 import android.tools.utils.assertFail 92 assertFail("pip-dismiss-overlay") { in canDetectAboveAppWindowVisibility_isInvisible() 98 assertFail("NavigationBar") { in canDetectAboveAppWindowVisibility_isInvisible() 129 assertFail("SkRegion((1440,0,1441,171))") { in canDetectWindowCoversAtLeastRegion_largerRegion() 135 assertFail("SkRegion((0,2960,1440,2961))") { in canDetectWindowCoversAtLeastRegion_largerRegion() 155 assertFail("SkRegion((0,0,1440,171)) should cover at most SkRegion((0,0,100,100))") { in canDetectWindowCoversExactlyRegion_smallerRegion() 161 assertFail("Out-of-bounds region: SkRegion((100,0,1440,100)(0,100,1440,2960))") { in canDetectWindowCoversExactlyRegion_smallerRegion() 171 assertFail("Uncovered region: SkRegion((1440,0,1441,171))") { in canDetectWindowCoversExactlyRegion_largerRegion() 177 assertFail("Uncovered region: SkRegion((0,2960,1440,2961))") { in canDetectWindowCoversExactlyRegion_largerRegion() 196 assertFail("SkRegion((0,0,1440,171)) should cover at most SkRegion((0,0,100,100))") { in canDetectWindowCoversAtMostRegion_smallerRegion() [all …]
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/ |
D | LayerTraceEntrySubjectTest.kt | 30 import android.tools.utils.assertFail 89 assertFail("SkRegion((0,0,1440,1440)) should cover at least SkRegion((0,0,1440,2960))") { in canDetectUncoveredRegion() 103 assertFail(TestComponents.IMAGINARY.toWindowIdentifier()) { in canTestLayerVisibleRegion_layerDoesNotExist() 116 assertFail("SkRegion() should cover exactly SkRegion((0,0,1,1))") { in canTestLayerVisibleRegion_layerDoesNotHaveExpectedVisibleRegion() 129 assertFail("SkRegion() should cover exactly SkRegion((0,0,1,1))") { in canTestLayerVisibleRegion_layerIsHiddenByParent() 142 assertFail("SkRegion((0,0,1440,171)) should cover exactly SkRegion((0,0,1440,99))") { in canTestLayerVisibleRegion_incorrectRegionSize() 166 assertFail("Bounds is 0x0") { in canTestLayerVisibleRegion_layerIsNotVisible() 299 assertFail("Found: com.simple.test.app1") { subject.notContains(component) } in canUseOrComponentMatcher_contains_withOneExists()
|
D | LayersTraceSubjectTest.kt | 31 import android.tools.utils.assertFail in <lambda>() 67 assertFail("SkRegion((0,0,1440,1440)) should cover at least SkRegion((0,0,1440,2880))") { in <lambda>() 313 assertFail("SimpleActivity# should be visible") { in <lambda>() 328 assertFail("SimpleActivity# should exist") { in <lambda>()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/ |
D | AssertionsCheckerTest.kt | 24 import android.tools.utils.assertFail 110 assertFail("data is 42") { checker.test(getTestEntries(0, 0, 0, 0, 0)) } in canFailCheckChangingAssertionsIfStartingAssertionFails() 127 assertFail("Assertion isData42 (block 0) never became false") { in canFailCheckChangingAssertionsIfStartingAssertionAlwaysPasses() 136 assertFail("data is 42") { checker.test(getTestEntries(0, 0, 0, 0, 0)) } in canFailCheckChangingAssertionsIfUsingCompoundAssertion()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | Utils.kt | 87 fun assertFail(expectedMessage: String, predicate: () -> Any) { in assertFail() method
|