From 712aa4bb51bf97e34f9cac478c154bfbe27efeac Mon Sep 17 00:00:00 2001 From: Po-Hsu Lin Date: Wed, 9 Sep 2015 15:25:52 +0800 Subject: provider:checkbox remove the outdated obex_send script and tests Remove the outdated obex_send script, which has already been replaced by bluetooth_test script, also remove those corresponding test cases. --- jobs/suspend.txt.in | 125 ---------------------------------------------------- 1 file changed, 125 deletions(-) (limited to 'jobs') diff --git a/jobs/suspend.txt.in b/jobs/suspend.txt.in index e450b9f6..3c6a45a2 100644 --- a/jobs/suspend.txt.in +++ b/jobs/suspend.txt.in @@ -132,35 +132,6 @@ command: _description: This test executes iperf connection performance/stability against the broadband device found on the system before suspend. - -plugin: shell -category_id: 2013.com.canonical.plainbox::suspend -id: suspend/bluetooth_obex_before_suspend -estimated_duration: 10.0 -requires: - package.name == 'bluez' - package.name == 'obexd-client' - device.category == 'BLUETOOTH' -command: - if [ -z "$BTDEVADDR" ] - then - echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini" - exit 1 - fi - if rfkill list bluetooth | grep -q 'Hard blocked: yes' - then - echo "rfkill shows BT is hard blocked" - fi - if rfkill list bluetooth | grep -q 'Soft blocked: yes' - then - echo "rfkill shows BT is soft blocked, removing before testing." - rfkill unblock bluetooth - sleep 3 - fi - obex_send $BTDEVADDR $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg -_description: - This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. - plugin: shell category_id: 2013.com.canonical.plainbox::suspend id: suspend/bluetooth_obex_send_before_suspend @@ -245,25 +216,6 @@ command: _description: This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable -plugin: user-interact-verify -category_id: 2013.com.canonical.plainbox::suspend -id: suspend/bluetooth_obex_before_suspend_manual -estimated_duration: 120.0 -requires: - package.name == 'bluez' - package.name == 'obexd-client' - device.category == 'BLUETOOTH' -command: rfkill unblock bluetooth; obex_send `bluetooth_scan` $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg -_description: - PURPOSE: - This test will send the image 'JPEG_Color_Image_Ubuntu.jpg' to a specified device - STEPS: - 1. Make sure Bluetooth is enabled by checking the Bluetooth indicator applet - 2. Click "Test" and you will be prompted to enter the Bluetooth device name of a device that can accept file transfers (It may take a few moments after entering the name for the file to begin sending) - 3. Accept any prompts that appear on both devices - VERIFICATION: - Was the data correctly transferred? - plugin: user-interact-verify category_id: 2013.com.canonical.plainbox::suspend id: suspend/suspend_advanced @@ -1293,64 +1245,6 @@ command: _description: This test grabs the hardware address of the bluetooth adapter after suspend and compares it to the address grabbed before suspend. -plugin: shell -category_id: 2013.com.canonical.plainbox::suspend -id: suspend/bluetooth_obex_after_suspend -depends: suspend/suspend_advanced suspend/bluetooth_obex_before_suspend -estimated_duration: 10.0 -requires: - package.name == 'bluez' - package.name == 'obexd-client' - device.category == 'BLUETOOTH' -command: - if [ -z "$BTDEVADDR" ] - then - echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini" - exit 1 - fi - if rfkill list bluetooth | grep -q 'Hard blocked: yes' - then - echo "rfkill shows BT is hard blocked" - fi - if rfkill list bluetooth | grep -q 'Soft blocked: yes' - then - echo "rfkill shows BT is soft blocked, removing before testing." - rfkill unblock bluetooth - sleep 3 - fi - obex_send $BTDEVADDR $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg -_description: - This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. - -plugin: shell -category_id: 2013.com.canonical.plainbox::suspend -id: suspend/bluetooth_obex_after_suspend_auto -depends: suspend/suspend_advanced_auto suspend/bluetooth_obex_before_suspend -estimated_duration: 10.0 -requires: - package.name == 'bluez' - package.name == 'obexd-client' - device.category == 'BLUETOOTH' -command: - if [ -z "$BTDEVADDR" ] - then - echo "btdevaddr option not set to device address of Bluetooth target in checkbox.ini" - exit 1 - fi - if rfkill list bluetooth | grep -q 'Hard blocked: yes' - then - echo "rfkill shows BT is hard blocked" - fi - if rfkill list bluetooth | grep -q 'Soft blocked: yes' - then - echo "rfkill shows BT is soft blocked, removing before testing." - rfkill unblock bluetooth - sleep 3 - fi - obex_send $BTDEVADDR $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg -_description: - This is an automated Bluetooth file transfer test. It sends an image to the device specified by the BTDEVADDR environment variable. - plugin: shell category_id: 2013.com.canonical.plainbox::suspend id: suspend/bluetooth_obex_send_after_suspend @@ -1525,25 +1419,6 @@ command: _description: This is an automated Bluetooth test. It receives the given file from a remote host specified by the BTDEVADDR environment variable -plugin: user-interact-verify -category_id: 2013.com.canonical.plainbox::suspend -id: suspend/bluetooth_obex_after_suspend_manual -depends: suspend/suspend_advanced suspend/bluetooth_obex_before_suspend_manual -estimated_duration: 120.0 -requires: - package.name == 'bluez' - package.name == 'obexd-client' - device.category == 'BLUETOOTH' -command: rfkill unblock bluetooth; obex_send `bluetooth_scan` $PLAINBOX_PROVIDER_DATA/images/JPEG_Color_Image_Ubuntu.jpg -_description: - PURPOSE: - This test will send the image 'JPEG_Color_Image_Ubuntu.jpg' to a specified device - STEPS: - 1. Click "Test" and you will be prompted to enter the Bluetooth device name of a device that can accept file transfers (It may take a few moments after entering the name for the file to begin sending) - 2. Accept any prompts that appear on both devices - VERIFICATION: - Was the data correctly transferred? - plugin: user-interact-verify category_id: 2013.com.canonical.plainbox::suspend id: suspend/cycle_resolutions_after_suspend -- cgit v1.2.3