Home
last modified time | relevance | path

Searched defs:CompositionTestScope (Results 1 – 4 of 4) sorted by relevance

/compose/runtime/runtime-test-utils/src/commonMain/kotlin/androidx/compose/runtime/mock/
DCompositionTest.kt122 interface CompositionTestScope : CoroutineScope { interface
163 fun CompositionTestScope.validate(block: MockViewValidator.() -> Unit) = in compose() method
167 fun CompositionTestScope.revalidate() = validate(validator ?: error("validate was not called")) in revalidate() method
170 fun CompositionTestScope.expectChanges() { in revalidate() method
176 fun CompositionTestScope.expectNoChanges() { in expectNoChanges() method
/compose/runtime/runtime/src/nonEmulatorCommonTest/kotlin/androidx/compose/runtime/
DCompoundHashKeyTests.kt234 private fun CompositionTestScope.composeTrace(content: @Composable () -> Unit): TraceResult { in newMarker() method
244 private fun CompositionTestScope.retrace(): TraceResult { in retrace() method
255 private fun CompositionTestScope.retraceConsistentWith( in CompositionTestScope() method
264 private fun CompositionTestScope.expectUniqueHashCodes(content: @Composable () -> Unit) = in CompositionTestScope() method
267 private fun CompositionTestScope.expectHashCodes( in CompositionTestScope() method
DGroupSizeValidationTests.kt378 private fun CompositionTestScope.slotExpect( in CompositionTestScope() method
DCompositionReusingTests.kt891 private fun CompositionTestScope.findTextWith(contains: String) = root.findTextWith(contains) in findTextWith() method