Skip to content

Commit

Permalink
Fix scanningHandlesLazyLists test
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart committed Oct 18, 2023
1 parent fd21c07 commit 9f4fac0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,14 +597,14 @@ class ComposeUiTest {
"""
|CompositionLocalProvider:
|${BLANK}CompositionLocalProvider { test-tag:"parent" }
|${BLANK}╰─LazyColumn { test-tag:"list", vertical-scroll-axis-range:"ScrollAxisRange(value=0.0, maxValue=Infinity)" }
|${BLANK}╰─LazyColumn { test-tag:"list", vertical-scroll-axis-range:"ScrollAxisRange(value=0.0, maxValue=0.0)" }
|${BLANK} ├─<subcomposition of LazyColumn>
|${BLANK} │ ╰─SaveableStateProvider { test-tag:"child:1" }
|${BLANK} │ ╰─SkippableItem { test-tag:"child:1" }
|${BLANK} ├─<subcomposition of LazyColumn>
|${BLANK} │ ├─SaveableStateProvider { test-tag:"child:2" }
|${BLANK} │ ╰─SaveableStateProvider { test-tag:"child:2 (even)" }
|${BLANK} │ ├─SkippableItem { test-tag:"child:2" }
|${BLANK} │ ╰─SkippableItem { test-tag:"child:2 (even)" }
|${BLANK} ╰─<subcomposition of LazyColumn>
|${BLANK} ╰─SaveableStateProvider { test-tag:"child:3" }
|${BLANK} ╰─SkippableItem { test-tag:"child:3" }
|
""".trimMargin()
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import androidx.compose.runtime.Composition
import androidx.compose.ui.node.RootForTest
import androidx.compose.ui.tooling.data.UiToolingDataApi
import androidx.compose.ui.tooling.data.asTree
import radiography.ExperimentalRadiographyComposeApi
import radiography.ScannableView
import radiography.ScannableView.ChildRenderingError
import radiography.ScannableView.ComposeView
Expand Down

0 comments on commit 9f4fac0

Please sign in to comment.