-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_tests
executable file
·59 lines (55 loc) · 1.25 KB
/
run_tests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
set -e
printf "\nRunning all non-mutating (or easily reversible) commands:\n\n"
ax launch_app com.google.android.GoogleCamera # most likely app to have
ax layout_bounds show
ax layout_bounds hide
ax list_packages
ax max_bright
ax permissions com.android.settings
ax pull_apks com.android.settings ~/temp
ax screenshot
ax settings_app
ax version_name com.android.settings
ax disable_audio voice_call
ax disable_audio system
ax disable_audio ring
ax disable_audio music
ax disable_audio alarm
ax disable_audio notification
ax disable_audio dtmf
ax disable_audio accessibility
ax night_mode on
ax night_mode off
ax night_mode auto
ax display
ax processor
ax talkback on
sleep 3
ax talkback off
ax font_scale small
ax font_scale default
ax font_scale large
ax font_scale largest
ax font_scale default
ax display_scale small
ax display_scale default
ax display_scale large
ax display_scale larger
ax display_scale largest
ax display_scale default
printf "\n\n=== Testing animation_scale: ====== \n\n"
ax animation_scale off
ax animation_scale 0.5
ax animation_scale 1
ax animation_scale 1.5
ax animation_scale 2
ax animation_scale 5
ax animation_scale 10
ax animation_scale reset
# always do this last
ax airplane_mode on
sleep 3
ax airplane_mode off
sleep 3
ax reboot