diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-10-23 17:43:35 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2017-10-23 17:43:35 +0200 |
commit | 8799229314922b371c55ffd161bce9af518e335e (patch) | |
tree | 4b37b2eb7d4768a0ad4642449c830cc2f589ab59 /units | |
parent | f40c74a8a7f8d85e63995005ae561c91be912898 (diff) |
Import plainbox-provider-checkbox_0.40.0~rc4.orig.tar.gzupstream-0.40.0_rc4patched-0.40.0_rc4-1
Diffstat (limited to 'units')
-rw-r--r-- | units/bluetooth/test-plan.pxu | 10 | ||||
-rw-r--r-- | units/keys/jobs.pxu | 13 | ||||
-rw-r--r-- | units/keys/test-plan.pxu | 40 | ||||
-rw-r--r-- | units/miscellanea/test-plan.pxu | 4 | ||||
-rw-r--r-- | units/optical/test-plan.pxu | 6 | ||||
-rw-r--r-- | units/suspend/suspend.pxu | 169 |
6 files changed, 55 insertions, 187 deletions
diff --git a/units/bluetooth/test-plan.pxu b/units/bluetooth/test-plan.pxu index 844d8b1..7fa002e 100644 --- a/units/bluetooth/test-plan.pxu +++ b/units/bluetooth/test-plan.pxu @@ -5,11 +5,9 @@ _description: Bluetooth tests include: bluetooth/detect-output certification-status=blocker bluetooth/audio-a2dp certification-status=blocker - bluetooth/browse-files certification-status=blocker - bluetooth/file-transfer certification-status=blocker bluetooth/HID - bluetooth4/HOGP-mouse certification-status=blocker - bluetooth4/HOGP-keyboard certification-status=blocker + bluetooth4/HOGP-mouse certification-status=non-blocker + bluetooth4/HOGP-keyboard certification-status=non-blocker id: bluetooth-cert-automated unit: test plan @@ -25,7 +23,3 @@ _description: Bluetooth tests (certification blockers only) include: bluetooth/detect-output certification-status=blocker bluetooth/audio-a2dp certification-status=blocker - bluetooth/browse-files certification-status=blocker - bluetooth/file-transfer certification-status=blocker - bluetooth4/HOGP-mouse certification-status=blocker - bluetooth4/HOGP-keyboard certification-status=blocker diff --git a/units/keys/jobs.pxu b/units/keys/jobs.pxu index 891281f..6923941 100644 --- a/units/keys/jobs.pxu +++ b/units/keys/jobs.pxu @@ -4,6 +4,7 @@ id: keys/lock-screen estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend command: lock_screen_watcher _description: PURPOSE: @@ -23,6 +24,7 @@ id: keys/brightness estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend _description: PURPOSE: This test will test the brightness key @@ -37,6 +39,7 @@ id: keys/volume estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend user: root command: key_test -s '0xe02e,0xe0ae:Volume Down' '0xe030,0xe0b0:Volume Up' _description: @@ -55,6 +58,7 @@ id: keys/mute estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend user: root command: key_test -s '0xe020,0xe0a0:Mute' _description: @@ -72,6 +76,7 @@ id: keys/sleep estimated_duration: 90.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend _description: PURPOSE: This test will test the sleep key @@ -87,6 +92,7 @@ id: keys/battery-info estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend user: root command: key_test -s '0xe071,0xef1:Battery Info' _description: @@ -106,6 +112,7 @@ id: keys/wireless estimated_duration: 90.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend _description: PURPOSE: This test will test the wireless key @@ -127,6 +134,7 @@ id: keys/media-control estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend user: root command: key_test -s 0xe010,0xe090:Previous 0xe024,0xe0a4:Stop 0xe019,0xe099:Next 0xe022,0xe0a2:Play _description: @@ -145,6 +153,7 @@ id: keys/super estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend user: root command: key_test -s '0xe05b,0xe0db:Left Super Key' _description: @@ -162,6 +171,7 @@ id: keys/video-out estimated_duration: 120.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend _description: PURPOSE: Validate that the External Video hot key is working as expected @@ -177,6 +187,7 @@ id: keys/touchpad estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend _description: PURPOSE: Verify touchpad hotkey toggles touchpad functionality on and off @@ -193,6 +204,7 @@ id: keys/keyboard-backlight estimated_duration: 30.0 imports: from com.canonical.plainbox import manifest requires: manifest.has_special_keys == 'True' +flags: also-after-suspend _description: PURPOSE: Verify that the keyboard backlight toggle key works properly @@ -215,6 +227,7 @@ requires: package.name == 'alsa-base' package.name == 'pulseaudio-utils' package.name == 'gstreamer1.0-plugins-good' or package.name == 'gstreamer0.10-plugins-good' +flags: also-after-suspend command: audio_settings store --file=$PLAINBOX_SESSION_SHARE/pulseaudio_settings audio_settings set --device=pci --volume=50 diff --git a/units/keys/test-plan.pxu b/units/keys/test-plan.pxu index ebd1696..c258338 100644 --- a/units/keys/test-plan.pxu +++ b/units/keys/test-plan.pxu @@ -13,6 +13,26 @@ include: keys/volume certification-status=blocker keys/video-out certification-status=blocker keys/wireless certification-status=blocker + keys/keyboard-backlight certification-status=blocker + keys/microphone-mute certification-status=blocker + +id: after-suspend-keys-cert-full +unit: test plan +_name: Special keys tests (after suspend) +_description: + Special keys tests (after suspend) +include: + after-suspend-keys/lock-screen certification-status=blocker + after-suspend-keys/super certification-status=blocker + after-suspend-keys/battery-info certification-status=blocker + after-suspend-keys/brightness certification-status=blocker + after-suspend-keys/media-control certification-status=blocker + after-suspend-keys/mute certification-status=blocker + after-suspend-keys/volume certification-status=blocker + after-suspend-keys/video-out certification-status=blocker + after-suspend-keys/wireless certification-status=blocker + after-suspend-keys/keyboard-backlight certification-status=blocker + after-suspend-keys/microphone-mute certification-status=blocker id: keys-cert-blockers unit: test plan @@ -30,3 +50,23 @@ include: keys/volume certification-status=blocker keys/video-out certification-status=blocker keys/wireless certification-status=blocker + keys/keyboard-backlight certification-status=blocker + keys/microphone-mute certification-status=blocker + +id: after-suspend-keys-cert-blockers +unit: test plan +_name: Special keys tests (certification blockers only, after suspend) +_description: + Special keys tests (certification blockers only, after suspend) +include: + after-suspend-keys/lock-screen certification-status=blocker + after-suspend-keys/super certification-status=blocker + after-suspend-keys/battery-info certification-status=blocker + after-suspend-keys/brightness certification-status=blocker + after-suspend-keys/media-control certification-status=blocker + after-suspend-keys/mute certification-status=blocker + after-suspend-keys/volume certification-status=blocker + after-suspend-keys/video-out certification-status=blocker + after-suspend-keys/wireless certification-status=blocker + after-suspend-keys/keyboard-backlight certification-status=blocker + after-suspend-keys/microphone-mute certification-status=blocker diff --git a/units/miscellanea/test-plan.pxu b/units/miscellanea/test-plan.pxu index 86f502c..f8aa86b 100644 --- a/units/miscellanea/test-plan.pxu +++ b/units/miscellanea/test-plan.pxu @@ -14,11 +14,8 @@ _description: (automated) include: install/apt-get-gets-updates - memory/info certification-status=blocker firmware/fwts_desktop_diagnosis - firmware/fwts_desktop_diagnosis_hwe firmware/fwts_desktop_diagnosis_results.log.gz - firmware/fwts_desktop_diagnosis_results_hwe.log.gz firmware/fwts_wakealarm.* certification-status=blocker firmware/fwts_uefirtvariable.* certification-status=blocker firmware/no_ACPI_REV_interface @@ -35,7 +32,6 @@ _description: Miscellaneous client tests (fwts, dmi, oops) (certification blockers only) include: - memory/info certification-status=blocker firmware/fwts_wakealarm.* certification-status=blocker firmware/fwts_uefirtvariable.* certification-status=blocker miscellanea/oops certification-status=blocker diff --git a/units/optical/test-plan.pxu b/units/optical/test-plan.pxu index ba63c28..0cc6ab3 100644 --- a/units/optical/test-plan.pxu +++ b/units/optical/test-plan.pxu @@ -5,10 +5,7 @@ _description: Optical drive tests include: optical/detect certification-status=blocker optical/read_.* certification-status=blocker - optical/cdrom-write_.* certification-status=blocker - optical/dvd-write_.* certification-status=blocker optical/bluray-read_.* certification-status=blocker - optical/bluray-write_.* certification-status=blocker bootstrap_include: device @@ -19,9 +16,6 @@ _description: Optical drive tests (certification blockers only) include: optical/detect certification-status=blocker optical/read_.* certification-status=blocker - optical/cdrom-write_.* certification-status=blocker - optical/dvd-write_.* certification-status=blocker optical/bluray-read_.* certification-status=blocker - optical/bluray-write_.* certification-status=blocker bootstrap_include: device diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 287071a..136adfb 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -1910,175 +1910,6 @@ _description: VERIFICATION: Did the WLAN/Bluetooth LED light as expected after resuming from suspend? -plugin: manual -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/brightness -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: dmi.product in ['Notebook','Laptop','Portable','All In One','All-In-One','AIO'] -_description: - PURPOSE: - This test will test the brightness key after resuming from suspend - STEPS: - 1. Press the brightness buttons on the keyboard - VERIFICATION: - Did the brightness change following to your key presses after resuming from suspend? - -plugin: user-interact-verify -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/volume -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: - device.category == 'KEYBOARD' -user: root -command: key_test -s '0xe02e,0xe0ae:Volume Up' '0xe030,0xe0b0:Volume Down' -_description: - PURPOSE: - This test will test the volume keys of your keyboard after resuming from suspend - STEPS: - Skip this test if your computer has no volume keys. - 1. Click test to open a window on which to test the volume keys. - 2. If all the keys work, the test will be marked as passed. - VERIFICATION: - Did the volume change following to your key presses? - -plugin: user-interact-verify -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/mute -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: - device.category == 'KEYBOARD' -user: root -command: key_test -s '0xe020,0xe0a0:Mute' -_description: - PURPOSE: - This test will test the mute key of your keyboard after resuming from suspend - STEPS: - 1. Click test to open a window on which to test the mute key. - 2. If the key works, the test will pass and the window will close. - VERIFICATION: - Did the volume mute following your key presses? - -plugin: manual -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/sleep -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: - device.category == 'KEYBOARD' -_description: - PURPOSE: - This test will test the sleep key after resuming from suspend - STEPS: - 1. Press the sleep key on the keyboard - 2. Wake your system up by pressing the power button - VERIFICATION: - Did the system go to sleep after pressing the sleep key after resuming from suspend? - -plugin: user-interact-verify -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/battery-info -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: dmi.product in ['Notebook','Laptop','Portable'] -user: root -command: key_test -s '0xe071,0xef1:Battery Info' -_description: - PURPOSE: - This test will test the battery information key after resuming from suspend - STEPS: - Skip this test if you do not have a Battery Button. - 1. Click Test to begin - 2. Press the Battery Info button (or combo like Fn+F3) - 3: Close the Power Statistics tool if it opens - VERIFICATION: - Did the Battery Info key work as expected after resuming from suspend? - -plugin: manual -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/wireless -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: dmi.product in ['Notebook','Laptop','Portable'] -_description: - PURPOSE: - This test will test the wireless key after resuming from suspend - STEPS: - 1. Press the wireless key on the keyboard - 2. Press the same key again - VERIFICATION: - Did the wireless go off on the first press and on again on the second after resuming from suspend? - -plugin: user-interact-verify -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/media-control -estimated_duration: 120.0 -depends: suspend/suspend_advanced -requires: - device.category == 'KEYBOARD' -user: root -command: key_test -s 0xe010,0xe090:Previous 0xe024,0xe0a4:Stop 0xe019,0xe099:Next 0xe022,0xe0a2:Play -_description: - PURPOSE: - This test will test the media keys of your keyboard after resuming from suspend - STEPS: - Skip this test if your computer has no media keys. - 1. Click test to open a window on which to test the media keys. - 2. If all the keys work, the test will be marked as passed. - VERIFICATION: - Do the keys work as expected after resuming from suspend? - -plugin: user-interact-verify -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/super -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: - device.category == 'KEYBOARD' -user: root -command: key_test -s '0xe05b,0xe0db:Left Super Key' -_description: - PURPOSE: - This test will test the super key of your keyboard after resuming from suspend - STEPS: - 1. Click test to open a window on which to test the super key. - 2. If the key works, the test will pass and the window will close. - VERIFICATION: - Does the super key work as expected after resuming from suspend? - -plugin: manual -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/video-out -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: dmi.product in ['Notebook','Laptop','Portable'] -_description: - PURPOSE: - Validate that the External Video hot key is working as expected after resuming from suspend - STEPS: - 1. Plug in an external monitor - 2. Press the display hot key to change the monitors configuration - VERIFICATION: - Check that the video signal can be mirrored, extended, displayed on external or onboard only, after resuming from suspend. - -plugin: manual -category_id: com.canonical.plainbox::suspend -id: suspend/keys_after_suspend/touchpad -depends: suspend/suspend_advanced -estimated_duration: 120.0 -requires: dmi.product in ['Notebook','Laptop','Portable'] -_description: - PURPOSE: - Verify touchpad hotkey toggles touchpad functionality on and off after resuming from suspend - STEPS: - 1. Verify the touchpad is functional - 2. Tap the touchpad toggle hotkey - 3. Tap the touchpad toggle hotkey again - VERIFICATION: - Verify the touchpad has been disabled and re-enabled. - plugin: user-interact category_id: com.canonical.plainbox::suspend id: suspend/usb_insert_after_suspend |