/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayersTraceSubject.kt | 58 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/ |
D | LayersTraceSubjectTest.kt | 25 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 …]
|
D | LayerSubjectTest.kt | 22 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()
|
D | LayerTraceEntrySubjectTest.kt | 23 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/ |
D | AssertionDataFactoryTest.kt | 21 import android.tools.flicker.subject.layers.LayersTraceSubject 32 get() = AssertionDataFactory(LayerTraceEntrySubject::class, LayersTraceSubject::class) 45 LayersTraceSubject::class, in checkBuildsTraceAssertion()
|
D | SubjectsParserTest.kt | 20 import android.tools.flicker.subject.layers.LayersTraceSubject 39 parser.getSubjectOfType(Tag.ALL, LayersTraceSubject::class) in failFileNotFound()
|
D | TestSubjectsParser.kt | 21 import android.tools.flicker.subject.layers.LayersTraceSubject 33 public override fun doGetLayersTraceSubject(): LayersTraceSubject? =
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | SubjectsParser.kt | 23 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()
|
D | AssertionFactory.kt | 24 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()
|
D | FlickerTest.kt | 21 import android.tools.flicker.subject.layers.LayersTraceSubject 80 fun assertLayers(assertion: LayersTraceSubject.() -> Unit)
|
D | BaseFlickerTest.kt | 21 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/ |
D | LayerTraceSubjectTest.kt | 19 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/ |
D | SplitAppLayerBoundsBecomesVisible.kt | 25 import android.tools.flicker.subject.layers.LayersTraceSubject 62 fun LayersTraceSubject.splitAppLayerBoundsSnapToDivider( in splitAppLayerBoundsSnapToDivider() method 67 ): LayersTraceSubject { in splitAppLayerBoundsSnapToDivider()
|
D | VisibleLayersShownMoreThanOneConsecutiveEntry.kt | 22 import android.tools.flicker.subject.layers.LayersTraceSubject.Companion.VISIBLE_FOR_MORE_THAN_ONE_…
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | FullLegacyTestRun.kt | 31 import android.tools.flicker.subject.layers.LayersTraceSubject 115 var trace: LayersTraceSubject? = null in internalLayersCheck()
|
D | FullTestRun.kt | 38 import android.tools.flicker.subject.layers.LayersTraceSubject 147 var trace: LayersTraceSubject? = null in doEvaluate()
|
/platform_testing/libraries/flicker/ |
D | README.md | 57 …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) {
|