aosp12/packages/apps/DocumentsUI/tests
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
assets/archives init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
common/com/android/documentsui init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
functional/com/android/documentsui init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
unit/com/android/documentsui init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
AndroidManifest.xml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
AndroidTest.xml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
jarjar-rules.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README

Welcome to our tests!

unit tests are under the 'unit/' dir, function under 'functional/'.

Some of the test cases in functional/ check the file operation among the different storage media.
Therefore, insert SD Card media to the test device when running this instrumentation test if the
device has SD Card slot. If SD Card is not inserted or supported, the test creates virtual SD Card
and uses it instead.

To run just small tests"
adb shell am instrument -w -e debug false -e log false -e timeout_msec 300000 -e size small com.android.documentsui.tests/androidx.test.runner.AndroidJUnitRunner

Replace '-e size small' with '-e size large'.