Fix TARGET_PACKAGE in compose startup benchmarks Test: TrivialStartupBenchmark Fixes: 184551500 Also renames package / file, to be in line with view macro target. Change-Id: Ie0d798a5a2b80e707c54f33d2e91f698eba6c074
diff --git a/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/StartupUtils.kt b/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/MacrobenchUtils.kt similarity index 95% rename from compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/StartupUtils.kt rename to compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/MacrobenchUtils.kt index 5f26ee6..f893da1 100644 --- a/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/StartupUtils.kt +++ b/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/MacrobenchUtils.kt
@@ -14,7 +14,7 @@ * limitations under the License. */ -package androidx.benchmark.integration.macrobenchmark +package androidx.compose.integration.macrobenchmark import android.content.Intent import androidx.benchmark.macro.CompilationMode @@ -23,7 +23,7 @@ import androidx.benchmark.macro.isSupportedWithVmSettings import androidx.benchmark.macro.junit4.MacrobenchmarkRule -const val TARGET_PACKAGE = "androidx.benchmark.integration.compose.target" +const val TARGET_PACKAGE = "androidx.compose.integration.macrobenchmark.target" fun MacrobenchmarkRule.measureStartup( compilationMode: CompilationMode,
diff --git a/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/SmallListStartupBenchmark.kt b/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/SmallListStartupBenchmark.kt index 56696de..0fe6f16 100644 --- a/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/SmallListStartupBenchmark.kt +++ b/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/SmallListStartupBenchmark.kt
@@ -16,8 +16,6 @@ package androidx.compose.integration.macrobenchmark -import androidx.benchmark.integration.macrobenchmark.createStartupCompilationParams -import androidx.benchmark.integration.macrobenchmark.measureStartup import androidx.benchmark.macro.CompilationMode import androidx.benchmark.macro.StartupMode import androidx.benchmark.macro.junit4.MacrobenchmarkRule
diff --git a/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/TrivialListScrollBenchmark.kt b/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/TrivialListScrollBenchmark.kt index 0e97a25..1be3b5c 100644 --- a/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/TrivialListScrollBenchmark.kt +++ b/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/TrivialListScrollBenchmark.kt
@@ -18,7 +18,6 @@ import android.content.Intent import android.graphics.Point -import androidx.benchmark.integration.macrobenchmark.createCompilationParams import androidx.benchmark.macro.CompilationMode import androidx.benchmark.macro.FrameTimingMetric import androidx.benchmark.macro.junit4.MacrobenchmarkRule
diff --git a/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/TrivialStartupBenchmark.kt b/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/TrivialStartupBenchmark.kt index 3b0e076..45167ff 100644 --- a/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/TrivialStartupBenchmark.kt +++ b/compose/integration-tests/macrobenchmark/src/androidTest/java/androidx/compose/integration/macrobenchmark/TrivialStartupBenchmark.kt
@@ -16,8 +16,6 @@ package androidx.compose.integration.macrobenchmark -import androidx.benchmark.integration.macrobenchmark.createStartupCompilationParams -import androidx.benchmark.integration.macrobenchmark.measureStartup import androidx.benchmark.macro.CompilationMode import androidx.benchmark.macro.StartupMode import androidx.benchmark.macro.junit4.MacrobenchmarkRule