OPP: Enable/disable only necessary activities in tests
When running OPP activity related tests, the tests enabled/disabled unnecessary activities including which should always be enabled. As a result, device could not send a file via Bluetooth until reboot since BluetoothOppLauncherActivity was disabled after any of those tests. This CL makes only nessceary activities be enabled/disabled during the tests. Bug: 324185238 Test: atest BluetoothOppBtEnableActivityTest \ BluetoothOppBtEnablingActivityTest \ BluetoothOppLauncherActivityTest \ BluetoothOppReceiverTest \ BluetoothOppTransferActivityTest \ BluetoothOppTransferHistoryTest \ BluetoothOppUtilityTest \ IncomingFileConfirmActivityTest Change-Id: If2930858d122ee20b8ebf5c1c381018182478f93
Showing
- android/app/tests/unit/src/com/android/bluetooth/opp/BluetoothOppBtEnableActivityTest.java 0 additions, 2 deletions...droid/bluetooth/opp/BluetoothOppBtEnableActivityTest.java
- android/app/tests/unit/src/com/android/bluetooth/opp/BluetoothOppBtEnablingActivityTest.java 0 additions, 2 deletions...oid/bluetooth/opp/BluetoothOppBtEnablingActivityTest.java
- android/app/tests/unit/src/com/android/bluetooth/opp/BluetoothOppLauncherActivityTest.java 0 additions, 2 deletions...droid/bluetooth/opp/BluetoothOppLauncherActivityTest.java
- android/app/tests/unit/src/com/android/bluetooth/opp/BluetoothOppReceiverTest.java 62 additions, 31 deletions...c/com/android/bluetooth/opp/BluetoothOppReceiverTest.java
- android/app/tests/unit/src/com/android/bluetooth/opp/BluetoothOppTestUtils.java 15 additions, 26 deletions.../src/com/android/bluetooth/opp/BluetoothOppTestUtils.java
- android/app/tests/unit/src/com/android/bluetooth/opp/BluetoothOppTransferActivityTest.java 4 additions, 2 deletions...droid/bluetooth/opp/BluetoothOppTransferActivityTest.java
- android/app/tests/unit/src/com/android/bluetooth/opp/BluetoothOppTransferHistoryTest.java 4 additions, 2 deletions...ndroid/bluetooth/opp/BluetoothOppTransferHistoryTest.java
- android/app/tests/unit/src/com/android/bluetooth/opp/BluetoothOppUtilityTest.java 0 additions, 2 deletions...rc/com/android/bluetooth/opp/BluetoothOppUtilityTest.java
- android/app/tests/unit/src/com/android/bluetooth/opp/IncomingFileConfirmActivityTest.java 4 additions, 2 deletions...ndroid/bluetooth/opp/IncomingFileConfirmActivityTest.java
Loading
Please register or sign in to comment