Home
last modified time | relevance | path

Searched refs:mockedFlicker (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt116 val mockedFlicker = Mockito.mock(AbstractFlickerTestData::class.java) in createMockedFlicker() constant
123 Mockito.`when`(mockedFlicker.wmHelper).thenReturn(WindowManagerStateHelper()) in createMockedFlicker()
124 Mockito.`when`(mockedFlicker.device).thenReturn(uiDevice) in createMockedFlicker()
125 Mockito.`when`(mockedFlicker.outputDir).thenReturn(createTempDirectory().toFile()) in createMockedFlicker()
126 Mockito.`when`(mockedFlicker.traceMonitors).thenReturn(monitors) in createMockedFlicker()
127 Mockito.`when`(mockedFlicker.transitionSetup).thenReturn(setup) in createMockedFlicker()
128 Mockito.`when`(mockedFlicker.transitionTeardown).thenReturn(teardown) in createMockedFlicker()
129 Mockito.`when`(mockedFlicker.transitions).thenReturn(transitions) in createMockedFlicker()
130 return mockedFlicker in createMockedFlicker()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTransitionRunnerTest.kt75 val mockedFlicker = in runsTransition() constant
82 val result = runner.execute(mockedFlicker, Consts.description(this)) in runsTransition()
97 val mockedFlicker = in failsWithNoTransitions() constant
103 val result = runner.execute(mockedFlicker, Consts.description(this)) in failsWithNoTransitions()
117 val mockedFlicker = in failsWithTransitionError() constant
124 val result = runner.execute(mockedFlicker, Consts.description(this)) in failsWithTransitionError()
138 val mockedFlicker = in failsWithSetupErrorAndHasTraces() constant
145 val result = runner.execute(mockedFlicker, Consts.description(this)) in failsWithSetupErrorAndHasTraces()
159 val mockedFlicker = in failsWithTeardownErrorAndHasTraces() constant
166 val result = runner.execute(mockedFlicker, Consts.description(this)) in failsWithTeardownErrorAndHasTraces()
DSetupTeardownRuleTest.kt90 val mockedFlicker = Mockito.mock(AbstractFlickerTestData::class.java) in createRule() constant
92 mockedFlicker, in createRule()
DTransitionExecutionRuleTest.kt195 val mockedFlicker = Mockito.mock(AbstractFlickerTestData::class.java) in createRule() constant
197 Mockito.`when`(mockedFlicker.traceMonitors).thenReturn(listOf(mockedMonitor)) in createRule()
199 mockedFlicker, in createRule()