Home
last modified time | relevance | path

Searched refs:FlickerTestData (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/
DFlickerTestData.kt25 interface FlickerTestData { interface
35 val transitionSetup: List<FlickerTestData.() -> Any>
37 val transitions: List<FlickerTestData.() -> Any>
39 val transitionTeardown: List<FlickerTestData.() -> Any>
56 fun withTag(tag: String, commands: FlickerTestData.() -> Any)
DFlickerTestDataImpl.kt43 override val transitionSetup: List<FlickerTestData.() -> Any>,
45 override val transitions: List<FlickerTestData.() -> Any>,
47 override val transitionTeardown: List<FlickerTestData.() -> Any>,
DFlickerBuilder.kt37 private val setupCommands: MutableList<FlickerTestData.() -> Any> = mutableListOf(),
38 private val transitionCommands: MutableList<FlickerTestData.() -> Any> = mutableListOf(),
39 private val teardownCommands: MutableList<FlickerTestData.() -> Any> = mutableListOf(),
60 fun setup(commands: FlickerTestData.() -> Unit): FlickerBuilder = apply { in <lambda>()
65 fun teardown(commands: FlickerTestData.() -> Unit): FlickerBuilder = apply { in <lambda>()
70 fun transitions(command: FlickerTestData.() -> Unit): FlickerBuilder = apply { in <lambda>()
111 fun build(): FlickerTestData { in build()
DAbstractFlickerTestData.kt19 abstract class AbstractFlickerTestData : FlickerTestData {
23 final override fun withTag(tag: String, commands: FlickerTestData.() -> Any) { in withTag()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DSetupTeardownRule.kt22 import android.tools.flicker.legacy.FlickerTestData
42 private val flicker: FlickerTestData,
46 private val setupCommands: List<FlickerTestData.() -> Any> = flicker.transitionSetup,
47 private val teardownCommands: List<FlickerTestData.() -> Any> = flicker.transitionTeardown,
DTransitionRunner.kt25 import android.tools.flicker.legacy.FlickerTestData
47 fun execute(flicker: FlickerTestData, description: Description?): IResultData { in execute()
75 private fun buildTestRuleChain(flicker: FlickerTestData): RuleChain { in buildTestRuleChain()
DTransitionExecutionRule.kt23 import android.tools.flicker.legacy.FlickerTestData
49 private val flicker: FlickerTestData,
53 private val commands: List<FlickerTestData.() -> Any> = flicker.transitions,
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DSetupTeardownRuleTest.kt21 import android.tools.flicker.legacy.FlickerTestData
42 private val runSetup: FlickerTestData.() -> Unit = { setupExecuted = true } in <lambda>()
43 private val runTeardown: FlickerTestData.() -> Unit = { teardownExecuted = true } in <lambda>()
44 private val throwError: FlickerTestData.() -> Unit = { error(Consts.FAILURE) } in <lambda>()
86 setupCommands: List<FlickerTestData.() -> Unit>, in createRule()
87 teardownCommands: List<FlickerTestData.() -> Unit> in createRule()
DTransitionExecutionRuleTest.kt23 import android.tools.flicker.legacy.FlickerTestData
49 private val runTransition: FlickerTestData.() -> Unit = { in <lambda>()
53 private val runCreateValidTags: FlickerTestData.() -> Unit = { in <lambda>()
57 private val runInvalidTagSpace: FlickerTestData.() -> Unit = { createTag(INVALID_TAG_SPACE) } in <lambda>()
58 private val runInvalidTagUnderscore: FlickerTestData.() -> Unit = { in <lambda>()
61 private val throwTransitionError: FlickerTestData.() -> Unit = { error(Consts.FAILURE) } in <lambda>()
62 private val throwAssertionError: FlickerTestData.() -> Unit = { in <lambda>()
191 commands: List<FlickerTestData.() -> Unit>, in createRule()
DTransitionRunnerTest.kt23 import android.tools.flicker.legacy.FlickerTestData
47 private val runSetup: FlickerTestData.() -> Unit = { in <lambda>()
51 private val runTeardown: FlickerTestData.() -> Unit = { in <lambda>()
55 private val runTransition: FlickerTestData.() -> Unit = { in <lambda>()
59 private val throwError: FlickerTestData.() -> Unit = { error(Consts.FAILURE) } in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt23 import android.tools.flicker.legacy.FlickerTestData in <lambda>()
109 setup: List<FlickerTestData.() -> Unit> = emptyList(), in createMockedFlicker()
110 teardown: List<FlickerTestData.() -> Unit> = emptyList(), in createMockedFlicker()
111 transitions: List<FlickerTestData.() -> Unit> = emptyList(), in createMockedFlicker()
113 ): FlickerTestData { in createMockedFlicker()