Home
last modified time | relevance | path

Searched refs:LayerTraceEntrySubject (Results 1 – 12 of 12) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DAssertionStateDataFactoryTest.kt21 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
34 get() = AssertionStateDataFactory(LayerTraceEntrySubject::class)
47 LayerTraceEntrySubject::class, in checkBuildsStartAssertion()
66 LayerTraceEntrySubject::class, in checkBuildsEndAssertion()
85 LayerTraceEntrySubject::class, in checkBuildsTagAssertion()
DAssertionDataFactoryTest.kt20 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
32 get() = AssertionDataFactory(LayerTraceEntrySubject::class, LayersTraceSubject::class)
DTestSubjectsParser.kt20 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
36 public override fun doGetLayerTraceEntrySubject(tag: String): LayerTraceEntrySubject? =
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DFlickerTest.kt20 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
66 fun assertLayersStart(assertion: LayerTraceEntrySubject.() -> Unit)
73 fun assertLayersEnd(assertion: LayerTraceEntrySubject.() -> Unit)
87 fun assertLayersTag(tag: String, assertion: LayerTraceEntrySubject.() -> Unit)
DAssertionFactory.kt23 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
35 AssertionDataFactory(LayerTraceEntrySubject::class, LayersTraceSubject::class)
114 fun createLayersStartAssertion(assertion: LayerTraceEntrySubject.() -> Unit): AssertionData = in createLayersStartAssertion()
124 fun createLayersEndAssertion(assertion: LayerTraceEntrySubject.() -> Unit): AssertionData = in createLayersEndAssertion()
148 assertion: LayerTraceEntrySubject.() -> Unit in createLayersTagAssertion()
DBaseFlickerTest.kt20 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
72 override fun assertLayersStart(assertion: LayerTraceEntrySubject.() -> Unit) { in assertLayersStart()
79 override fun assertLayersEnd(assertion: LayerTraceEntrySubject.() -> Unit) { in assertLayersEnd()
93 override fun assertLayersTag(tag: String, assertion: LayerTraceEntrySubject.() -> Unit) { in assertLayersTag()
DSubjectsParser.kt22 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
51 expectedSubjectClass == LayerTraceEntrySubject::class -> getLayerTraceEntrySubject(tag) in getSubjectOfType()
90 private fun getLayerTraceEntrySubject(tag: String): LayerTraceEntrySubject? = in getLayerTraceEntrySubject()
93 protected open fun doGetLayerTraceEntrySubject(tag: String): LayerTraceEntrySubject? { in getLayerTraceEntrySubject()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayerTraceEntrySubject.kt64 class LayerTraceEntrySubject( in <lambda>() class
68 ) : FlickerSubject(), ILayerSubject<LayerTraceEntrySubject, RegionSubject> { in <lambda>()
74 operator fun invoke(assertion: (LayerTraceEntry) -> Unit): LayerTraceEntrySubject = apply { in <lambda>()
79 override fun isEmpty(): LayerTraceEntrySubject = apply { in <lambda>()
84 override fun isNotEmpty(): LayerTraceEntrySubject = apply { in <lambda>()
136 override fun contains(componentMatcher: IComponentMatcher): LayerTraceEntrySubject = apply { in <lambda>()
150 override fun notContains(componentMatcher: IComponentMatcher): LayerTraceEntrySubject = apply { in <lambda>()
168 override fun isVisible(componentMatcher: IComponentMatcher): LayerTraceEntrySubject = apply { in <lambda>()
192 override fun isInvisible(componentMatcher: IComponentMatcher): LayerTraceEntrySubject = apply { in <lambda>()
224 ): LayerTraceEntrySubject = apply { in <lambda>()
[all …]
DLayersTraceSubject.kt59 FlickerTraceSubject<LayerTraceEntrySubject>(), in <lambda>()
63 trace.entries.map { LayerTraceEntrySubject(it, reader, trace) } in <lambda>()
254 assertion: (LayerTraceEntrySubject) -> Unit in <lambda>()
314 ): LayerTraceEntrySubject { in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayerTraceEntrySubjectTest.kt22 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
68 LayerTraceEntrySubject(trace.entries.first(), reader) in testCanInspectBeginning()
78 LayerTraceEntrySubject(trace.entries.last(), reader) in testCanInspectEnd()
193 val subject = LayerTraceEntrySubject(layerTraceEntry) in orComponentMatcher_visibility_oneVisibleOtherInvisible()
223 val subject = LayerTraceEntrySubject(layerTraceEntry) in orComponentMatcher_visibility_oneVisibleOtherMissing()
258 val subject = LayerTraceEntrySubject(layerTraceEntry) in canUseOrComponentMatcher_visibility_allVisible()
288 val subject = LayerTraceEntrySubject(layerTraceEntry) in canUseOrComponentMatcher_contains_withOneExists()
309 val subject = LayerTraceEntrySubject(layerTraceEntry) in canUseOrComponentMatcher_contains_withNoneExists()
342 val subject = LayerTraceEntrySubject(layerTraceEntry) in canUseOrComponentMatcher_contains_withBothExists()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DSplitAppLayerBoundsBecomesVisible.kt24 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
78 private fun LayerTraceEntrySubject.splitAppLayerBoundsSnapToDivider( in LayerTraceEntrySubject() method
83 ): LayerTraceEntrySubject { in LayerTraceEntrySubject()
DSplitAppLayerBoundsSnapToDivider.kt24 import android.tools.flicker.subject.layers.LayerTraceEntrySubject
42 private fun LayerTraceEntrySubject.calculateExpectedDisplaySize( in calculateExpectedDisplaySize() method