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
60
61
|
unit: packaging meta-data
os-id: debian
Depends: gir1.2-cheese-3.0
plugin: shell
category_id: 2013.com.canonical.plainbox::camera
id: camera/detect
estimated_duration: 1.2
requires:
device.category == 'CAPTURE'
command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy detect; else camera_test detect; fi
_description: This Automated test attempts to detect a camera.
plugin: user-interact-verify
category_id: 2013.com.canonical.plainbox::camera
id: camera/display
estimated_duration: 120.0
depends: camera/detect
requires:
device.category == 'CAPTURE'
command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy display; else camera_test display; fi
_description:
PURPOSE:
This test will check that the built-in camera works
STEPS:
1. Click on Test to display a video capture from the camera for ten seconds.
VERIFICATION:
Did you see the video capture?
plugin: user-interact-verify
category_id: 2013.com.canonical.plainbox::camera
id: camera/still
estimated_duration: 120.0
depends: camera/detect
requires:
package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
package.name == 'eog'
package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
device.category == 'CAPTURE'
command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy still; else camera_test still; fi
_description:
PURPOSE:
This test will check that the built-in camera works
STEPS:
1. Click on Test to display a still image from the camera for ten seconds.
VERIFICATION:
Did you see the image?
plugin: shell
category_id: 2013.com.canonical.plainbox::camera
id: camera/multiple-resolution-images
estimated_duration: 1.2
depends: camera/detect
requires:
package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
device.category == 'CAPTURE'
command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy resolutions; else camera_test resolutions; fi
_description:
Takes multiple pictures based on the resolutions supported by the camera and
validates their size and that they are of a valid format.
|