Update baseline profile

This commit is contained in:
arkon 2022-10-28 11:15:06 -04:00
parent d869a13ef9
commit 0288abb66e
3 changed files with 4360 additions and 1562 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" /> <manifest />

View File

@ -2,11 +2,13 @@ package tachiyomi.macrobenchmark
import androidx.benchmark.macro.ExperimentalBaselineProfilesApi import androidx.benchmark.macro.ExperimentalBaselineProfilesApi
import androidx.benchmark.macro.junit4.BaselineProfileRule import androidx.benchmark.macro.junit4.BaselineProfileRule
import androidx.test.uiautomator.By
import org.junit.Rule import org.junit.Rule
import org.junit.Test import org.junit.Test
@OptIn(ExperimentalBaselineProfilesApi::class) @OptIn(ExperimentalBaselineProfilesApi::class)
class BaselineProfileGenerator { class BaselineProfileGenerator {
@get:Rule @get:Rule
val baselineProfileRule = BaselineProfileRule() val baselineProfileRule = BaselineProfileRule()
@ -17,8 +19,13 @@ class BaselineProfileGenerator {
pressHome() pressHome()
startActivityAndWait() startActivityAndWait()
device.findObject(By.text("Updates")).click()
device.findObject(By.text("History")).click()
device.findObject(By.text("More")).click()
// TODO: Navigate to browse-extensions screen when storage permission // TODO: Navigate to browse-extensions screen when storage permission
// in sources screen moved. Possibly open manga details screen too? // in sources screen moved. Possibly open manga details screen too?
// device.findObject(By.text("Browse")).click()
}, },
) )
} }