Home
last modified time | relevance | path

Searched refs:expectedSubjectClass (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DSubjectsParser.kt42 expectedSubjectClass: KClass<out FlickerSubject> in getSubjectOfType()
45 tag == Tag.ALL && expectedSubjectClass == WindowManagerTraceSubject::class -> in getSubjectOfType()
47 tag == Tag.ALL && expectedSubjectClass == LayersTraceSubject::class -> in getSubjectOfType()
49 expectedSubjectClass == EventLogSubject::class -> eventLogSubject in getSubjectOfType()
50 expectedSubjectClass == WindowManagerStateSubject::class -> getWmStateSubject(tag) in getSubjectOfType()
51 expectedSubjectClass == LayerTraceEntrySubject::class -> getLayerTraceEntrySubject(tag) in getSubjectOfType()
52 else -> error("Unknown expected subject type $expectedSubjectClass") in getSubjectOfType()
DAssertionStateDataFactory.kt37 expectedSubjectClass = stateSubject,
47 AssertionDataImpl(tag = Tag.END, expectedSubjectClass = stateSubject, assertion = assertion)
55 AssertionDataImpl(tag = tag, expectedSubjectClass = stateSubject, assertion = assertion)
DAssertionDataImpl.kt27 val expectedSubjectClass: KClass<out FlickerSubject>, constant in android.tools.flicker.assertions.AssertionDataImpl
32 val subject = run.getSubjectOfType(tag, expectedSubjectClass) in checkAssertion()
DAssertionDataFactory.kt50 expectedSubjectClass = traceSubject, in createTraceAssertion()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DAssertionStateDataFactoryTest.kt97 .that(assertionData.expectedSubjectClass) in validate()