Skip to content

Commit 8a2ba58

Browse files
authored
Merge pull request #744 from square/ray/tidying
Tidying in preparation for v1.8.0-beta01
2 parents 0c7863e + ba04c47 commit 8a2ba58

File tree

4 files changed

+8
-18
lines changed

4 files changed

+8
-18
lines changed

benchmarks/performance-poetry/complex-poetry/src/androidTest/java/com/squareup/benchmarks/performance/complex/poetry/RenderPassTest.kt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ class RenderPassTest {
4141
}
4242

4343
@Test fun renderPassCounterComplexWithInitializingState() {
44-
runRenderPassCounter(COMPLEX_INITIALIZING)
44+
// https://github.com/square/workflow-kotlin/issues/745
45+
// runRenderPassCounter(COMPLEX_INITIALIZING)
4546
}
4647

4748
@Test fun renderPassCounterComplexNoInitializingState() {
48-
runRenderPassCounter(COMPLEX_NO_INITIALIZING)
49+
// https://github.com/square/workflow-kotlin/issues/745
50+
// runRenderPassCounter(COMPLEX_NO_INITIALIZING)
4951
}
5052

5153
private fun runRenderPassCounter(scenario: Scenario) {
@@ -139,9 +141,9 @@ class RenderPassTest {
139141
useInitializingState = true,
140142
complexityDelay = 100L
141143
),
142-
expectedPasses = 61,
143-
expectedFreshRenderings = 88,
144-
expectedStaleRenderings = 652
144+
expectedPasses = 57,
145+
expectedFreshRenderings = 83,
146+
expectedStaleRenderings = 615
145147
)
146148

147149
val COMPLEX_NO_INITIALIZING = Scenario(

benchmarks/performance-poetry/complex-poetry/src/main/java/com/squareup/benchmarks/performance/complex/poetry/robots/PoetryRobots.kt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,17 @@ fun UiDevice.waitForPoetry(timeout: Long = DEFAULT_UI_AUTOMATOR_TIMEOUT) {
1717
wait(Until.hasObject(PoetryPackageSelector), timeout)
1818
}
1919

20-
fun UiDevice.waitForLoading(timeout: Long = DEFAULT_UI_AUTOMATOR_TIMEOUT) {
21-
waitFor(LoadingDialogSelector, timeout)
22-
}
23-
2420
fun UiDevice.next(timeout: Long = DEFAULT_UI_AUTOMATOR_TIMEOUT) {
2521
waitForAndClick(NextSelector, timeout)
26-
waitForLoading(timeout)
2722
}
2823

2924
fun UiDevice.previous(timeout: Long = DEFAULT_UI_AUTOMATOR_TIMEOUT) {
3025
waitForAndClick(PreviousSelector, timeout)
31-
waitForLoading(timeout)
3226
}
3327

3428
fun UiDevice.openRavenAndNavigate() {
3529
waitForAndClick(RavenPoemSelector)
36-
waitForLoading()
37-
3830
waitForAndClick(By.textStartsWith("Deep into that darkness peering"))
39-
waitForLoading()
4031

4132
repeat(5) {
4233
next()
@@ -47,8 +38,5 @@ fun UiDevice.openRavenAndNavigate() {
4738
}
4839

4940
this.pressBack()
50-
51-
waitForLoading()
52-
5341
waitFor(RavenPoemSelector)
5442
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android.useAndroidX=true
88
systemProp.org.gradle.internal.publish.checksums.insecure=true
99

1010
GROUP=com.squareup.workflow1
11-
VERSION_NAME=1.8.0-uiUpdate06-SNAPSHOT
11+
VERSION_NAME=1.8.0-beta01-SNAPSHOT
1212

1313
POM_DESCRIPTION=Square Workflow
1414

0 commit comments

Comments
 (0)