Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 7 of 7) sorted by relevance

/test/uiautomator/uiautomator/src/androidTest/java/androidx/test/uiautomator/
DBySelectorTest.java45 @Test(expected = IllegalStateException.class)
59 @Test(expected = IllegalStateException.class)
70 @Test(expected = IllegalStateException.class)
83 @Test(expected = IllegalStateException.class)
97 @Test(expected = IllegalStateException.class)
112 @Test(expected = IllegalStateException.class)
118 @Test(expected = IllegalStateException.class)
123 @Test(expected = IllegalStateException.class)
128 @Test(expected = IllegalStateException.class)
133 @Test(expected = IllegalStateException.class)
[all …]
/test/screenshot/screenshot/src/main/java/androidx/test/screenshot/
DScreenshotTestRule.kt181 val expected = fetchExpectedImage(goldenIdentifier) in assertBitmapAgainstGolden() constant
182 if (expected == null) { in assertBitmapAgainstGolden()
195 if (actual.width != expected.width || actual.height != expected.height) { in assertBitmapAgainstGolden()
200 expected = expected in assertBitmapAgainstGolden()
210 expected = expected.toIntArray(), in assertBitmapAgainstGolden()
227 expected = expected, in assertBitmapAgainstGolden()
243 expected: Bitmap? = null, in reportResult()
277 expected?.run { in reportResult()
/test/screenshot/screenshot/src/main/java/androidx/test/screenshot/matchers/
DPixelPerfectMatcher.kt26 expected: IntArray, in compareBitmaps()
31 check(expected.size == given.size) in compareBitmaps()
41 val referenceColor = expected[index] in compareBitmaps()
DBitmapMatcher.kt33 fun compareBitmaps(expected: IntArray, given: IntArray, width: Int, height: Int): MatchResult
DMSSIMMatcher.kt42 expected: IntArray, in compareBitmaps()
47 val SSIMTotal = calculateSSIM(expected, given, width, height) in compareBitmaps()
57 val result = PixelPerfectMatcher().compareBitmaps(expected, given, width, height) in compareBitmaps()
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DUiAutomatorTestScopeTest.kt102 @Test(expected = ViewNotFoundException::class)
/test/screenshot/screenshot/src/androidTest/java/androidx/test/screenshot/
DScreenshotTestRuleTest.kt112 @Test(expected = IllegalArgumentException::class) in <lambda>()