Steve McKay | ae84a18 | 2016-09-16 09:36:50 -0700 | [diff] [blame] | 1 | Welcome to our tests! |
| 2 | |
| 3 | unit tests are under the 'unit/' dir, function under 'functional/'. |
| 4 | |
Jun Ono | 6b69cbb | 2017-12-08 19:07:55 +0900 | [diff] [blame] | 5 | Some of the test cases in functional/ check the file operation among the different storage media. |
| 6 | Therefore, insert SD Card media to the test device when running this instrumentation test if the |
| 7 | device has SD Card slot. If SD Card is not inserted or supported, the test creates virtual SD Card |
| 8 | and uses it instead. |
| 9 | |
Steve McKay | ae84a18 | 2016-09-16 09:36:50 -0700 | [diff] [blame] | 10 | To run just small tests" |
Brett Chabot | 2027ca0 | 2018-12-13 19:06:31 -0800 | [diff] [blame] | 11 | 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 |
Steve McKay | ae84a18 | 2016-09-16 09:36:50 -0700 | [diff] [blame] | 12 | |
| 13 | Replace '-e size small' with '-e size large'. |