chore(benchmark): remove test filter annotations

This commit is contained in:
Harsh Shandilya 2022-12-21 13:55:15 +05:30
parent 78f050f115
commit 1fe559ff04
No known key found for this signature in database
2 changed files with 1 additions and 5 deletions

View file

@ -11,14 +11,12 @@ import androidx.benchmark.macro.CompilationMode
import androidx.benchmark.macro.StartupMode import androidx.benchmark.macro.StartupMode
import androidx.benchmark.macro.StartupTimingMetric import androidx.benchmark.macro.StartupTimingMetric
import androidx.benchmark.macro.junit4.MacrobenchmarkRule import androidx.benchmark.macro.junit4.MacrobenchmarkRule
import androidx.test.filters.LargeTest
import androidx.test.platform.app.InstrumentationRegistry import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.UiDevice import androidx.test.uiautomator.UiDevice
import org.junit.Before import org.junit.Before
import org.junit.Rule import org.junit.Rule
import org.junit.Test import org.junit.Test
@LargeTest
class BaselineProfileBenchmark { class BaselineProfileBenchmark {
@get:Rule val benchmarkRule = MacrobenchmarkRule() @get:Rule val benchmarkRule = MacrobenchmarkRule()
private lateinit var device: UiDevice private lateinit var device: UiDevice

View file

@ -8,15 +8,13 @@ package dev.msfjarvis.claw.benchmark
import androidx.benchmark.macro.ExperimentalStableBaselineProfilesApi import androidx.benchmark.macro.ExperimentalStableBaselineProfilesApi
import androidx.benchmark.macro.junit4.BaselineProfileRule import androidx.benchmark.macro.junit4.BaselineProfileRule
import androidx.test.filters.LargeTest
import androidx.test.platform.app.InstrumentationRegistry import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.uiautomator.UiDevice import androidx.test.uiautomator.UiDevice
import org.junit.Before import org.junit.Before
import org.junit.Rule import org.junit.Rule
import org.junit.Test import org.junit.Test
@ExperimentalStableBaselineProfilesApi @OptIn(ExperimentalStableBaselineProfilesApi::class)
@LargeTest
class BaselineProfileGenerator { class BaselineProfileGenerator {
@get:Rule val baselineProfileRule = BaselineProfileRule() @get:Rule val baselineProfileRule = BaselineProfileRule()
private lateinit var device: UiDevice private lateinit var device: UiDevice