Home
last modified time | relevance | path

Searched refs:LayersTraceSubject (Results 1 – 17 of 17) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayersTraceSubject.kt58 class LayersTraceSubject(val trace: LayersTrace, override val reader: Reader? = null) : in <lambda>() class
60 ILayerSubject<LayersTraceSubject, RegionTraceSubject> { in <lambda>()
67 override fun then(): LayersTraceSubject = apply { super.then() } in <lambda>()
70 override fun isEmpty(): LayersTraceSubject = apply { in <lambda>()
75 override fun isNotEmpty(): LayersTraceSubject = apply { in <lambda>()
108 ): LayersTraceSubject = apply { in <lambda>()
120 override fun notContains(componentMatcher: IComponentMatcher): LayersTraceSubject = in <lambda>()
124 fun notContains(componentMatcher: IComponentMatcher, isOptional: Boolean): LayersTraceSubject = in <lambda>()
132 override fun contains(componentMatcher: IComponentMatcher): LayersTraceSubject = in <lambda>()
136 fun contains(componentMatcher: IComponentMatcher, isOptional: Boolean): LayersTraceSubject = in <lambda>()
[all …]
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayersTraceSubjectTest.kt25 import android.tools.flicker.subject.layers.LayersTraceSubject in <lambda>()
59 val error = assertThrows<AssertionError> { LayersTraceSubject(trace, reader).isEmpty() } in <lambda>()
68 LayersTraceSubject(trace, reader) in <lambda>()
80 LayersTraceSubject(trace, reader) in <lambda>()
91 LayersTraceSubject(trace, reader) in <lambda>()
102 LayersTraceSubject(trace, reader) in <lambda>()
107 LayersTraceSubject(trace, reader) in <lambda>()
117 LayersTraceSubject(trace, reader) in <lambda>()
137 LayersTraceSubject(trace, reader) in <lambda>()
164 LayersTraceSubject(trace, reader) in <lambda>()
[all …]
DLayerSubjectTest.kt22 import android.tools.flicker.subject.layers.LayersTraceSubject
44 val foundLayer = LayersTraceSubject(trace, reader).first().layer("ImaginaryLayer", 0) in exceptionContainsDebugInfoImaginary()
52 LayersTraceSubject(trace, reader) in canTestAssertionsOnLayer()
DLayerTraceEntrySubjectTest.kt23 import android.tools.flicker.subject.layers.LayersTraceSubject
58 LayersTraceSubject(trace, reader).first().visibleRegion(TestComponents.IMAGINARY) in exceptionContainsDebugInfo()
90 LayersTraceSubject(trace, reader) in canDetectUncoveredRegion()
104 LayersTraceSubject(trace, reader) in canTestLayerVisibleRegion_layerDoesNotExist()
117 LayersTraceSubject(trace, reader) in canTestLayerVisibleRegion_layerDoesNotHaveExpectedVisibleRegion()
130 LayersTraceSubject(trace, reader) in canTestLayerVisibleRegion_layerIsHiddenByParent()
143 LayersTraceSubject(trace, reader) in canTestLayerVisibleRegion_incorrectRegionSize()
155 LayersTraceSubject(trace, reader) in canTestLayerVisibleRegion()
167 LayersTraceSubject(trace, reader) in canTestLayerVisibleRegion_layerIsNotVisible()
360 LayersTraceSubject(trace, reader) in detectOccludedLayerBecauseOfRoundedCorners()
[all …]
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DAssertionDataFactoryTest.kt21 import android.tools.flicker.subject.layers.LayersTraceSubject
32 get() = AssertionDataFactory(LayerTraceEntrySubject::class, LayersTraceSubject::class)
45 LayersTraceSubject::class, in checkBuildsTraceAssertion()
DSubjectsParserTest.kt20 import android.tools.flicker.subject.layers.LayersTraceSubject
39 parser.getSubjectOfType(Tag.ALL, LayersTraceSubject::class) in failFileNotFound()
DTestSubjectsParser.kt21 import android.tools.flicker.subject.layers.LayersTraceSubject
33 public override fun doGetLayersTraceSubject(): LayersTraceSubject? =
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DSubjectsParser.kt23 import android.tools.flicker.subject.layers.LayersTraceSubject
47 tag == Tag.ALL && expectedSubjectClass == LayersTraceSubject::class -> in getSubjectOfType()
66 private val layersTraceSubject: LayersTraceSubject?
69 protected open fun doGetLayersTraceSubject(): LayersTraceSubject? { in doGetLayersTraceSubject()
71 return LayersTraceSubject(trace, resultReader) in doGetLayersTraceSubject()
99 return LayersTraceSubject(trace, resultReader).first() in getLayerTraceEntrySubject()
DAssertionFactory.kt24 import android.tools.flicker.subject.layers.LayersTraceSubject
35 AssertionDataFactory(LayerTraceEntrySubject::class, LayersTraceSubject::class)
134 fun createLayersAssertion(assertion: LayersTraceSubject.() -> Unit): AssertionData = in createLayersAssertion()
170 val closedAssertion: LayersTraceSubject.() -> Unit = { in createLayersVisibleRegionAssertion()
DFlickerTest.kt21 import android.tools.flicker.subject.layers.LayersTraceSubject
80 fun assertLayers(assertion: LayersTraceSubject.() -> Unit)
DBaseFlickerTest.kt21 import android.tools.flicker.subject.layers.LayersTraceSubject
86 override fun assertLayers(assertion: LayersTraceSubject.() -> Unit) { in assertLayers()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/surfaceflinger/
DLayerTraceSubjectTest.kt19 import android.tools.flicker.subject.layers.LayersTraceSubject
30 val error = assertThrows<AssertionError> { LayersTraceSubject(trace, reader).isEmpty() } in exceptionContainsDebugInfo()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DSplitAppLayerBoundsBecomesVisible.kt25 import android.tools.flicker.subject.layers.LayersTraceSubject
62 fun LayersTraceSubject.splitAppLayerBoundsSnapToDivider( in splitAppLayerBoundsSnapToDivider() method
67 ): LayersTraceSubject { in splitAppLayerBoundsSnapToDivider()
DVisibleLayersShownMoreThanOneConsecutiveEntry.kt22 import android.tools.flicker.subject.layers.LayersTraceSubject.Companion.VISIBLE_FOR_MORE_THAN_ONE_…
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt31 import android.tools.flicker.subject.layers.LayersTraceSubject
115 var trace: LayersTraceSubject? = null in internalLayersCheck()
DFullTestRun.kt38 import android.tools.flicker.subject.layers.LayersTraceSubject
147 var trace: LayersTraceSubject? = null in doEvaluate()
/platform_testing/libraries/flicker/
DREADME.md57 …lt` can be tested using an extension of the Google Truth library, `LayersTraceSubject` and `WmTrac…
144 Then add a function to the trace subject `LayersTraceSubject` or `WmTraceSubject` which will add th…
147 public LayersTraceSubject isHiddenByParent(String layerName) {