From 1fe559ff04f620459da117fecf5de97813e910ee Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 21 Dec 2022 13:55:15 +0530 Subject: [PATCH] chore(benchmark): remove test filter annotations --- .../dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt | 2 -- .../dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt index 567d2c84..7188491b 100644 --- a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt +++ b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileBenchmark.kt @@ -11,14 +11,12 @@ import androidx.benchmark.macro.CompilationMode import androidx.benchmark.macro.StartupMode import androidx.benchmark.macro.StartupTimingMetric import androidx.benchmark.macro.junit4.MacrobenchmarkRule -import androidx.test.filters.LargeTest import androidx.test.platform.app.InstrumentationRegistry import androidx.test.uiautomator.UiDevice import org.junit.Before import org.junit.Rule import org.junit.Test -@LargeTest class BaselineProfileBenchmark { @get:Rule val benchmarkRule = MacrobenchmarkRule() private lateinit var device: UiDevice diff --git a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt index 5207c514..230151a8 100644 --- a/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt +++ b/benchmark/src/main/kotlin/dev/msfjarvis/claw/benchmark/BaselineProfileGenerator.kt @@ -8,15 +8,13 @@ package dev.msfjarvis.claw.benchmark import androidx.benchmark.macro.ExperimentalStableBaselineProfilesApi import androidx.benchmark.macro.junit4.BaselineProfileRule -import androidx.test.filters.LargeTest import androidx.test.platform.app.InstrumentationRegistry import androidx.test.uiautomator.UiDevice import org.junit.Before import org.junit.Rule import org.junit.Test -@ExperimentalStableBaselineProfilesApi -@LargeTest +@OptIn(ExperimentalStableBaselineProfilesApi::class) class BaselineProfileGenerator { @get:Rule val baselineProfileRule = BaselineProfileRule() private lateinit var device: UiDevice