small fixes

This commit is contained in:
Remi Hardy
2020-09-04 09:28:29 +02:00
parent cb650a1a6e
commit e3264917ce
3 changed files with 3 additions and 17 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
9283sdfas7: #oppo 9d690a12: #oppo
- adb shell input keyevent KEYCODE_POWER - adb shell input keyevent KEYCODE_POWER
- adb shell input swipe 300 700 300 0 - adb shell input swipe 300 700 300 0
- adb shell am start -a android.settings.AIRPLANE_MODE_SETTINGS - adb shell am start -a android.settings.AIRPLANE_MODE_SETTINGS
+1 -1
View File
@@ -292,7 +292,7 @@ class OaiCiTest():
if COTS_UE.Check_Exists(device_id): if COTS_UE.Check_Exists(device_id):
#switch device to Airplane mode ON (ie Radio OFF) #switch device to Airplane mode ON (ie Radio OFF)
COTS_UE.Set_Airplane(device_id, 'ON') COTS_UE.Set_Airplane(device_id, 'ON')
else else:
# enable data service # enable data service
SSH.command('stdbuf -o0 adb -s ' + device_id + ' shell "svc data enable"', '\$', 60) SSH.command('stdbuf -o0 adb -s ' + device_id + ' shell "svc data enable"', '\$', 60)
+1 -15
View File
@@ -59,13 +59,6 @@
</testCase> </testCase>
<testCase id="010000">
<class>COTS_UE_Airplane</class>
<desc>Toggle COTS Airplane mode ON</desc>
<cots_id>oppo</cots_id>
<cots_run_mode>ON</cots_run_mode>
</testCase>
<testCase id="030000"> <testCase id="030000">
<class>Initialize_eNB</class> <class>Initialize_eNB</class>
<desc>Initialize eNB</desc> <desc>Initialize eNB</desc>
@@ -85,17 +78,10 @@
<air_interface>nr</air_interface> <air_interface>nr</air_interface>
</testCase> </testCase>
<testCase id="020000">
<class>COTS_UE_Airplane</class>
<desc>Toggle COTS Airplane mode OFF</desc>
<cots_id>oppo</cots_id>
<cots_run_mode>OFF</cots_run_mode>
</testCase>
<testCase id="000001"> <testCase id="000001">
<class>IdleSleep</class> <class>IdleSleep</class>
<desc>Sleep</desc> <desc>Sleep</desc>
<idle_sleep_time_in_sec>100</idle_sleep_time_in_sec> <idle_sleep_time_in_sec>20</idle_sleep_time_in_sec>
</testCase> </testCase>
<testCase id="050000"> <testCase id="050000">