Skip to content

Commit

Permalink
Fix ShaderTest to fetch both of it's docs (#1956)
Browse files Browse the repository at this point in the history
<!-- start git-machete generated -->

# Based on PR #1886

## Chain of upstream PRs as of 2024-12-30

* PR #1886:
  `main` ← `feature/protoconv`

  * **PR #1956 (THIS ONE)**:
    `feature/protoconv` ← `wb/froeht/fix-shader`

<!-- end git-machete generated -->
  • Loading branch information
timothyfroehlich authored Jan 6, 2025
1 parent 1e9471a commit eb66b13
Show file tree
Hide file tree
Showing 24 changed files with 4 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.android.designcompose.test.internal.designComposeRoborazziRule
import com.android.designcompose.test.waitForContent
import com.android.designcompose.testapp.common.InterFontTestRule
import com.android.designcompose.testapp.validation.examples.BrushFromShaderPluginTest
import com.android.designcompose.testapp.validation.examples.BrushFromShaderPluginTestDoc
import com.android.designcompose.testapp.validation.examples.CustomBrushTest
import com.android.designcompose.testapp.validation.examples.CustomBrushTestDoc
import org.junit.Before
Expand Down Expand Up @@ -70,6 +71,9 @@ class ShaderTest {
fun shaderPluginBrush() {
with(composeTestRule) {
setContent { BrushFromShaderPluginTest() }
liveUpdateTestRule.performLiveFetch()
composeTestRule.waitForContent(BrushFromShaderPluginTestDoc.javaClass.name)

captureRootRoboImage("ShaderPluginBrush_${Build.VERSION.SDK_INT}")
}
}
Expand Down

0 comments on commit eb66b13

Please sign in to comment.