Merge lp:~thomir-deactivatedaccount/autopilot/fix-pick-variant into lp:autopilot
- fix-pick-variant
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Christopher Lee |
Approved revision: | 160 |
Merged at revision: | 159 |
Proposed branch: | lp:~thomir-deactivatedaccount/autopilot/fix-pick-variant |
Merge into: | lp:autopilot |
Diff against target: |
422 lines (+173/-65) 18 files modified
autopilot/__init__.py (+14/-4) autopilot/display/__init__.py (+17/-7) autopilot/input/__init__.py (+51/-19) autopilot/process/__init__.py (+15/-5) autopilot/tests/test_custom_exceptions.py (+31/-0) autopilot/utilities.py (+9/-2) docs/_templates/indexcontent.html (+1/-1) docs/api/autopilot.rst (+8/-10) docs/api/display.rst (+2/-2) docs/api/emulators.rst (+2/-2) docs/api/gestures.rst (+2/-2) docs/api/index.rst (+10/-0) docs/api/input.rst (+2/-2) docs/api/introspection.rst (+2/-2) docs/api/matchers.rst (+2/-2) docs/api/platform.rst (+2/-2) docs/api/testcase.rst (+2/-2) docs/conf.py (+1/-1) |
To merge this branch: | bzr merge lp:~thomir-deactivatedaccount/autopilot/fix-pick-variant |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christopher Lee (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email:
|
Commit message
_pick_variant now raises an exception when requested backend was not available.
Description of the change
When asking for a specific stack backend, we now either return the requested backend, or raise an exception. This had a number of knock-on changes, including:
* A new exception in the autopilot module.
* Changes to the documentation in the input, process, and display packages.
* A few other documentation changes.
There are extra tests around the BackendException class.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
- 160. By Thomi Richards
-
fixed typo, and re-introduced the version string.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:160
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Preview Diff
1 | === modified file 'autopilot/__init__.py' | |||
2 | --- autopilot/__init__.py 2012-05-07 17:38:00 +0000 | |||
3 | +++ autopilot/__init__.py 2013-04-16 05:01:27 +0000 | |||
4 | @@ -6,7 +6,17 @@ | |||
5 | 6 | # under the terms of the GNU General Public License version 3, as published | 6 | # under the terms of the GNU General Public License version 3, as published |
6 | 7 | # by the Free Software Foundation. | 7 | # by the Free Software Foundation. |
7 | 8 | 8 | ||
12 | 9 | """An automated test runner and driver for Unity""" | 9 | |
13 | 10 | 10 | version = '1.3' | |
14 | 11 | 11 | ||
15 | 12 | version = "1.0" | 12 | |
16 | 13 | class BackendException(RuntimeError): | ||
17 | 14 | |||
18 | 15 | """An error occured while trying to initialise an autopilot backend.""" | ||
19 | 16 | |||
20 | 17 | def __init__(self, original_exception): | ||
21 | 18 | super(BackendException, self).__init__( | ||
22 | 19 | "Error while initialising backend. Original exception was: " \ | ||
23 | 20 | + original_exception.message | ||
24 | 21 | ) | ||
25 | 22 | self.original_exception = original_exception | ||
26 | 13 | 23 | ||
27 | === modified file 'autopilot/display/__init__.py' | |||
28 | --- autopilot/display/__init__.py 2013-04-08 03:46:47 +0000 | |||
29 | +++ autopilot/display/__init__.py 2013-04-16 05:01:27 +0000 | |||
30 | @@ -90,13 +90,23 @@ | |||
31 | 90 | def create(preferred_variant=''): | 90 | def create(preferred_variant=''): |
32 | 91 | """Get an instance of the Display class. | 91 | """Get an instance of the Display class. |
33 | 92 | 92 | ||
41 | 93 | If variant is specified, it should be a string that specifies a backend to | 93 | :param preferred_variant: A string containing a hint as to which variant you |
42 | 94 | use. However, this hint can be ignored - autopilot will prefer to return a | 94 | would like. If left blank, autopilot will pick a suitable |
43 | 95 | variant other than the one requested, rather than fail to return anything at | 95 | variant for you. Specifying a variant will guarantee that either that |
44 | 96 | all. | 96 | variant is returned, or an exception is raised. |
45 | 97 | 97 | ||
46 | 98 | If autopilot cannot instantate any of the possible backends, a RuntimeError | 98 | possible variants are: |
47 | 99 | will be raised. | 99 | |
48 | 100 | * ``X11`` - Get display information from X11. | ||
49 | 101 | * ``UPA`` - Get display information from the ubuntu platform API. | ||
50 | 102 | |||
51 | 103 | :raises: RuntimeError if autopilot cannot instantate any of the possible | ||
52 | 104 | backends. | ||
53 | 105 | :raises: RuntimeError if the preferred_variant is specified and is not | ||
54 | 106 | one of the possible backends for this device class. | ||
55 | 107 | :raises: :class:`~autopilot.BackendException` if the preferred_variant is | ||
56 | 108 | set, but that variant could not be instantiated. | ||
57 | 109 | |||
58 | 100 | """ | 110 | """ |
59 | 101 | def get_x11_display(): | 111 | def get_x11_display(): |
60 | 102 | from autopilot.display._X11 import Display | 112 | from autopilot.display._X11 import Display |
61 | 103 | 113 | ||
62 | === modified file 'autopilot/input/__init__.py' | |||
63 | --- autopilot/input/__init__.py 2013-04-08 03:46:47 +0000 | |||
64 | +++ autopilot/input/__init__.py 2013-04-16 05:01:27 +0000 | |||
65 | @@ -17,9 +17,11 @@ | |||
66 | 17 | events (possibly UInput). | 17 | events (possibly UInput). |
67 | 18 | 18 | ||
68 | 19 | Test authors should instantiate the appropriate class using the ``create`` method | 19 | Test authors should instantiate the appropriate class using the ``create`` method |
72 | 20 | on each class. Tests can provide a hint to this method to suggest that a particular | 20 | on each class. Calling ``create()`` with no arguments will get an instance of the |
73 | 21 | subsystem be used. However, autopilot will prefer to return a subsystem other than | 21 | specified class that suits the current platform. In this case, autopilot will |
74 | 22 | the one specified, if the requested subsystem is unavailable. | 22 | do it's best to pick a suitable variant. Calling ``create`` with a variant name |
75 | 23 | will result in that specific variant type being returned, or, if it cannot be created, | ||
76 | 24 | an exception will be raised. The exception type varies from variant to variant. | ||
77 | 23 | 25 | ||
78 | 24 | There are three basic input types available: | 26 | There are three basic input types available: |
79 | 25 | 27 | ||
80 | @@ -49,12 +51,23 @@ | |||
81 | 49 | def create(preferred_variant=''): | 51 | def create(preferred_variant=''): |
82 | 50 | """Get an instance of the :py:class:`Keyboard` class. | 52 | """Get an instance of the :py:class:`Keyboard` class. |
83 | 51 | 53 | ||
90 | 52 | :param preferred_variant: A string containing a hint as to which variant you | 54 | :param preferred_variant: A string containing a hint as to which variant |
91 | 53 | would like. However, this hint can be ignored - autopilot will prefer to | 55 | you would like. If left blank, autopilot will pick a suitable |
92 | 54 | return a keyboard variant other than the one requested, rather than fail | 56 | variant for you. Specifying a variant will guarantee that either that |
93 | 55 | to return anything at all. | 57 | variant is returned, or an exception is raised. |
94 | 56 | :raises: a RuntimeError will be raised if autopilot cannot instantate any of | 58 | |
95 | 57 | the possible backends. | 59 | possible variants are: |
96 | 60 | |||
97 | 61 | * ``X11`` - Generate keyboard events using the X11 client libraries. | ||
98 | 62 | * ``UInput`` - Use UInput kernel-level device driver. | ||
99 | 63 | |||
100 | 64 | :raises: RuntimeError if autopilot cannot instantate any of the possible | ||
101 | 65 | backends. | ||
102 | 66 | :raises: RuntimeError if the preferred_variant is specified and is not | ||
103 | 67 | one of the possible backends for this device class. | ||
104 | 68 | :raises: :class:`~autopilot.BackendException` if the preferred_variant is | ||
105 | 69 | set, but that variant could not be instantiated. | ||
106 | 70 | |||
107 | 58 | 71 | ||
108 | 59 | """ | 72 | """ |
109 | 60 | def get_x11_kb(): | 73 | def get_x11_kb(): |
110 | @@ -167,11 +180,20 @@ | |||
111 | 167 | """Get an instance of the :py:class:`Mouse` class. | 180 | """Get an instance of the :py:class:`Mouse` class. |
112 | 168 | 181 | ||
113 | 169 | :param preferred_variant: A string containing a hint as to which variant you | 182 | :param preferred_variant: A string containing a hint as to which variant you |
119 | 170 | would like. However, this hint can be ignored - autopilot will prefer to | 183 | would like. If left blank, autopilot will pick a suitable |
120 | 171 | return a mouse variant other than the one requested, rather than fail | 184 | variant for you. Specifying a variant will guarantee that either that |
121 | 172 | to return anything at all. | 185 | variant is returned, or an exception is raised. |
122 | 173 | :raises: a RuntimeError will be raised if autopilot cannot instantate any of | 186 | |
123 | 174 | the possible backends. | 187 | possible variants are: |
124 | 188 | |||
125 | 189 | * ``X11`` - Generate mouse events using the X11 client libraries. | ||
126 | 190 | |||
127 | 191 | :raises: RuntimeError if autopilot cannot instantate any of the possible | ||
128 | 192 | backends. | ||
129 | 193 | :raises: RuntimeError if the preferred_variant is specified and is not | ||
130 | 194 | one of the possible backends for this device class. | ||
131 | 195 | :raises: :class:`~autopilot.BackendException` if the preferred_variant is | ||
132 | 196 | set, but that variant could not be instantiated. | ||
133 | 175 | 197 | ||
134 | 176 | """ | 198 | """ |
135 | 177 | def get_x11_mouse(): | 199 | def get_x11_mouse(): |
136 | @@ -262,11 +284,21 @@ | |||
137 | 262 | """Get an instance of the :py:class:`Touch` class. | 284 | """Get an instance of the :py:class:`Touch` class. |
138 | 263 | 285 | ||
139 | 264 | :param preferred_variant: A string containing a hint as to which variant you | 286 | :param preferred_variant: A string containing a hint as to which variant you |
145 | 265 | would like. However, this hint can be ignored - autopilot will prefer to | 287 | would like. If left blank, autopilot will pick a suitable |
146 | 266 | return a touch variant other than the one requested, rather than fail | 288 | variant for you. Specifying a variant will guarantee that either that |
147 | 267 | to return anything at all. | 289 | variant is returned, or an exception is raised. |
148 | 268 | :raises: a RuntimeError will be raised if autopilot cannot instantate any of | 290 | |
149 | 269 | the possible backends. | 291 | possible variants are: |
150 | 292 | |||
151 | 293 | * ``UInput`` - Use UInput kernel-level device driver. | ||
152 | 294 | |||
153 | 295 | :raises: RuntimeError if autopilot cannot instantate any of the possible | ||
154 | 296 | backends. | ||
155 | 297 | :raises: RuntimeError if the preferred_variant is specified and is not | ||
156 | 298 | one of the possible backends for this device class. | ||
157 | 299 | :raises: :class:`~autopilot.BackendException` if the preferred_variant is | ||
158 | 300 | set, but that variant could not be instantiated. | ||
159 | 301 | |||
160 | 270 | 302 | ||
161 | 271 | """ | 303 | """ |
162 | 272 | def get_uinput_touch(): | 304 | def get_uinput_touch(): |
163 | 273 | 305 | ||
164 | === modified file 'autopilot/process/__init__.py' | |||
165 | --- autopilot/process/__init__.py 2013-04-15 03:39:09 +0000 | |||
166 | +++ autopilot/process/__init__.py 2013-04-16 05:01:27 +0000 | |||
167 | @@ -58,11 +58,21 @@ | |||
168 | 58 | """Get an instance of the :py:class:`ProcessManager` class. | 58 | """Get an instance of the :py:class:`ProcessManager` class. |
169 | 59 | 59 | ||
170 | 60 | :param preferred_variant: A string containing a hint as to which variant you | 60 | :param preferred_variant: A string containing a hint as to which variant you |
176 | 61 | would like. However, this hint can be ignored - autopilot will prefer to | 61 | would like. If left blank, autopilot will pick a suitable |
177 | 62 | return a keyboard variant other than the one requested, rather than fail | 62 | variant for you. Specifying a variant will guarantee that either that |
178 | 63 | to return anything at all. | 63 | variant is returned, or an exception is raised. |
179 | 64 | :raises: a RuntimeError will be raised if autopilot cannot instantate any of | 64 | |
180 | 65 | the possible backends. | 65 | possible variants are: |
181 | 66 | |||
182 | 67 | * ``BAMF`` - Get process information using the BAMF Application Matching Framework. | ||
183 | 68 | |||
184 | 69 | :raises: RuntimeError if autopilot cannot instantate any of the possible | ||
185 | 70 | backends. | ||
186 | 71 | :raises: RuntimeError if the preferred_variant is specified and is not | ||
187 | 72 | one of the possible backends for this device class. | ||
188 | 73 | :raises: :class:`~autopilot.BackendException` if the preferred_variant is | ||
189 | 74 | set, but that variant could not be instantiated. | ||
190 | 75 | |||
191 | 66 | """ | 76 | """ |
192 | 67 | def get_bamf_pm(): | 77 | def get_bamf_pm(): |
193 | 68 | from autopilot.process._bamf import ProcessManager | 78 | from autopilot.process._bamf import ProcessManager |
194 | 69 | 79 | ||
195 | === added file 'autopilot/tests/test_custom_exceptions.py' | |||
196 | --- autopilot/tests/test_custom_exceptions.py 1970-01-01 00:00:00 +0000 | |||
197 | +++ autopilot/tests/test_custom_exceptions.py 2013-04-16 05:01:27 +0000 | |||
198 | @@ -0,0 +1,31 @@ | |||
199 | 1 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- | ||
200 | 2 | # Copyright 2013 Canonical | ||
201 | 3 | # Author: Thomi Richards | ||
202 | 4 | # | ||
203 | 5 | # This program is free software: you can redistribute it and/or modify it | ||
204 | 6 | # under the terms of the GNU General Public License version 3, as published | ||
205 | 7 | # by the Free Software Foundation. | ||
206 | 8 | |||
207 | 9 | |||
208 | 10 | from testtools import TestCase | ||
209 | 11 | from testtools.matchers import Equals, IsInstance | ||
210 | 12 | |||
211 | 13 | from autopilot import BackendException | ||
212 | 14 | |||
213 | 15 | class BackendExceptionTests(TestCase): | ||
214 | 16 | |||
215 | 17 | def test_must_wrap_exception(self): | ||
216 | 18 | """BackendException must be able to wrap another exception instance.""" | ||
217 | 19 | err = BackendException(RuntimeError("Hello World")) | ||
218 | 20 | self.assertThat(err.original_exception, IsInstance(RuntimeError)) | ||
219 | 21 | self.assertThat(err.original_exception.message, Equals("Hello World")) | ||
220 | 22 | |||
221 | 23 | def test_dunder_str(self): | ||
222 | 24 | err = BackendException(RuntimeError("Hello World")) | ||
223 | 25 | self.assertThat(str(err), | ||
224 | 26 | Equals("Error while initialising backend. Original exception was: Hello World")) | ||
225 | 27 | |||
226 | 28 | def test_dunder_repr(self): | ||
227 | 29 | err = BackendException(RuntimeError("Hello World")) | ||
228 | 30 | self.assertThat(repr(err), | ||
229 | 31 | Equals("BackendException('Error while initialising backend. Original exception was: Hello World',)")) | ||
230 | 0 | 32 | ||
231 | === modified file 'autopilot/utilities.py' | |||
232 | --- autopilot/utilities.py 2013-04-08 01:05:45 +0000 | |||
233 | +++ autopilot/utilities.py 2013-04-16 05:01:27 +0000 | |||
234 | @@ -20,12 +20,17 @@ | |||
235 | 20 | import time | 20 | import time |
236 | 21 | from functools import wraps | 21 | from functools import wraps |
237 | 22 | 22 | ||
238 | 23 | from autopilot import BackendException | ||
239 | 24 | |||
240 | 23 | 25 | ||
241 | 24 | def _pick_variant(variants, preferred_variant): | 26 | def _pick_variant(variants, preferred_variant): |
242 | 25 | possible_backends = variants.keys() | 27 | possible_backends = variants.keys() |
243 | 26 | get_debug_logger().debug("Possible variants: %s", ','.join(possible_backends)) | 28 | get_debug_logger().debug("Possible variants: %s", ','.join(possible_backends)) |
246 | 27 | if preferred_variant in possible_backends: | 29 | if preferred_variant: |
247 | 28 | possible_backends.sort(lambda a,b: -1 if a == preferred_variant else 0) | 30 | if preferred_variant in possible_backends: |
248 | 31 | possible_backends.sort(lambda a,b: -1 if a == preferred_variant else 0) | ||
249 | 32 | else: | ||
250 | 33 | raise RuntimeError("Unknown backend '%s'" % (preferred_variant)) | ||
251 | 29 | failure_reasons = [] | 34 | failure_reasons = [] |
252 | 30 | for be in possible_backends: | 35 | for be in possible_backends: |
253 | 31 | try: | 36 | try: |
254 | @@ -33,6 +38,8 @@ | |||
255 | 33 | except Exception as e: | 38 | except Exception as e: |
256 | 34 | get_debug_logger().warning("Can't create variant %s: %r", be, e) | 39 | get_debug_logger().warning("Can't create variant %s: %r", be, e) |
257 | 35 | failure_reasons.append('%s: %r' % (be, e)) | 40 | failure_reasons.append('%s: %r' % (be, e)) |
258 | 41 | if preferred_variant != '': | ||
259 | 42 | raise BackendException(e) | ||
260 | 36 | raise RuntimeError("Unable to instantiate any backends\n%s" % '\n'.join(failure_reasons)) | 43 | raise RuntimeError("Unable to instantiate any backends\n%s" % '\n'.join(failure_reasons)) |
261 | 37 | 44 | ||
262 | 38 | 45 | ||
263 | 39 | 46 | ||
264 | === modified file 'docs/_templates/indexcontent.html' | |||
265 | --- docs/_templates/indexcontent.html 2013-04-15 03:33:21 +0000 | |||
266 | +++ docs/_templates/indexcontent.html 2013-04-16 05:01:27 +0000 | |||
267 | @@ -12,7 +12,7 @@ | |||
268 | 12 | </td> | 12 | </td> |
269 | 13 | <td width="50%"> | 13 | <td width="50%"> |
270 | 14 | <p class="biglink"> | 14 | <p class="biglink"> |
272 | 15 | <a class="biglink" href="{{ pathto("api/autopilot") }}">API Reference</a><br/> | 15 | <a class="biglink" href="{{ pathto("api/index") }}">API Reference</a><br/> |
273 | 16 | <span class="linkdescr">API reference documentation for Autopilot.</span> | 16 | <span class="linkdescr">API reference documentation for Autopilot.</span> |
274 | 17 | </p> | 17 | </p> |
275 | 18 | </td> | 18 | </td> |
276 | 19 | 19 | ||
277 | === modified file 'docs/api/autopilot.rst' | |||
278 | --- docs/api/autopilot.rst 2013-04-14 21:56:27 +0000 | |||
279 | +++ docs/api/autopilot.rst 2013-04-16 05:01:27 +0000 | |||
280 | @@ -1,10 +1,8 @@ | |||
291 | 1 | :orphan: | 1 | ``autopilot`` - Global stuff |
292 | 2 | 2 | ++++++++++++++++++++++++++++ | |
293 | 3 | Autopilot API Documentation | 3 | |
294 | 4 | =========================== | 4 | |
295 | 5 | 5 | .. automodule:: autopilot | |
296 | 6 | .. toctree:: | 6 | :members: |
297 | 7 | :maxdepth: 1 | 7 | :undoc-members: |
298 | 8 | :glob: | 8 | |
289 | 9 | |||
290 | 10 | * | ||
299 | 11 | 9 | ||
300 | === modified file 'docs/api/display.rst' | |||
301 | --- docs/api/display.rst 2013-04-05 05:26:23 +0000 | |||
302 | +++ docs/api/display.rst 2013-04-16 05:01:27 +0000 | |||
303 | @@ -1,5 +1,5 @@ | |||
306 | 1 | ``display`` - Get information about the current display(s) | 1 | ``autopilot.display`` - Get information about the current display(s) |
307 | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
308 | 3 | 3 | ||
309 | 4 | 4 | ||
310 | 5 | .. automodule:: autopilot.display | 5 | .. automodule:: autopilot.display |
311 | 6 | 6 | ||
312 | === modified file 'docs/api/emulators.rst' | |||
313 | --- docs/api/emulators.rst 2013-04-15 01:15:52 +0000 | |||
314 | +++ docs/api/emulators.rst 2013-04-16 05:01:27 +0000 | |||
315 | @@ -1,5 +1,5 @@ | |||
318 | 1 | ``emulators`` - Backwards compatibility for autopilot v1.2 | 1 | ``autopilot.emulators`` - Backwards compatibility for autopilot v1.2 |
319 | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
320 | 3 | 3 | ||
321 | 4 | 4 | ||
322 | 5 | .. module autopilot.emulators | 5 | .. module autopilot.emulators |
323 | 6 | 6 | ||
324 | === modified file 'docs/api/gestures.rst' | |||
325 | --- docs/api/gestures.rst 2013-04-05 04:57:25 +0000 | |||
326 | +++ docs/api/gestures.rst 2013-04-16 05:01:27 +0000 | |||
327 | @@ -1,5 +1,5 @@ | |||
330 | 1 | ``gestures`` - Gestural and multi-touch support | 1 | ``autopilot.gestures`` - Gestural and multi-touch support |
331 | 2 | +++++++++++++++++++++++++++++++++++++++++++++++ | 2 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
332 | 3 | 3 | ||
333 | 4 | 4 | ||
334 | 5 | .. automodule:: autopilot.gestures | 5 | .. automodule:: autopilot.gestures |
335 | 6 | 6 | ||
336 | === added file 'docs/api/index.rst' | |||
337 | --- docs/api/index.rst 1970-01-01 00:00:00 +0000 | |||
338 | +++ docs/api/index.rst 2013-04-16 05:01:27 +0000 | |||
339 | @@ -0,0 +1,10 @@ | |||
340 | 1 | :orphan: | ||
341 | 2 | |||
342 | 3 | Autopilot API Documentation | ||
343 | 4 | =========================== | ||
344 | 5 | |||
345 | 6 | .. toctree:: | ||
346 | 7 | :maxdepth: 1 | ||
347 | 8 | :glob: | ||
348 | 9 | |||
349 | 10 | * | ||
350 | 0 | 11 | ||
351 | === modified file 'docs/api/input.rst' | |||
352 | --- docs/api/input.rst 2013-04-05 05:26:23 +0000 | |||
353 | +++ docs/api/input.rst 2013-04-16 05:01:27 +0000 | |||
354 | @@ -1,5 +1,5 @@ | |||
357 | 1 | ``input`` - Generate keyboard, mouse, and touch input events | 1 | ``autopilot.input`` - Generate keyboard, mouse, and touch input events |
358 | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
359 | 3 | 3 | ||
360 | 4 | 4 | ||
361 | 5 | .. automodule:: autopilot.input | 5 | .. automodule:: autopilot.input |
362 | 6 | 6 | ||
363 | === modified file 'docs/api/introspection.rst' | |||
364 | --- docs/api/introspection.rst 2013-04-15 01:00:21 +0000 | |||
365 | +++ docs/api/introspection.rst 2013-04-16 05:01:27 +0000 | |||
366 | @@ -1,5 +1,5 @@ | |||
369 | 1 | ``introspection`` - Autopilot introspection internals | 1 | ``autopilot.introspection`` - Autopilot introspection internals |
370 | 2 | +++++++++++++++++++++++++++++++++++++++++++++++++++++ | 2 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
371 | 3 | 3 | ||
372 | 4 | 4 | ||
373 | 5 | .. automodule:: autopilot.introspection | 5 | .. automodule:: autopilot.introspection |
374 | 6 | 6 | ||
375 | === modified file 'docs/api/matchers.rst' | |||
376 | --- docs/api/matchers.rst 2013-04-05 04:15:17 +0000 | |||
377 | +++ docs/api/matchers.rst 2013-04-16 05:01:27 +0000 | |||
378 | @@ -1,5 +1,5 @@ | |||
381 | 1 | ``matchers`` - Custom matchers for test assertions | 1 | ``autopilot.matchers`` - Custom matchers for test assertions |
382 | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++ | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
383 | 3 | 3 | ||
384 | 4 | 4 | ||
385 | 5 | .. automodule:: autopilot.matchers | 5 | .. automodule:: autopilot.matchers |
386 | 6 | 6 | ||
387 | === modified file 'docs/api/platform.rst' | |||
388 | --- docs/api/platform.rst 2013-04-05 04:15:17 +0000 | |||
389 | +++ docs/api/platform.rst 2013-04-16 05:01:27 +0000 | |||
390 | @@ -1,5 +1,5 @@ | |||
393 | 1 | ``Platform`` - Functions for platform detection | 1 | ``autopilot.Platform`` - Functions for platform detection |
394 | 2 | +++++++++++++++++++++++++++++++++++++++++++++++ | 2 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
395 | 3 | 3 | ||
396 | 4 | 4 | ||
397 | 5 | .. automodule:: autopilot.platform | 5 | .. automodule:: autopilot.platform |
398 | 6 | 6 | ||
399 | === modified file 'docs/api/testcase.rst' | |||
400 | --- docs/api/testcase.rst 2013-04-05 04:15:17 +0000 | |||
401 | +++ docs/api/testcase.rst 2013-04-16 05:01:27 +0000 | |||
402 | @@ -1,5 +1,5 @@ | |||
405 | 1 | ``testcase`` - Base class for all Autopilot Test Cases | 1 | ``autopilot.testcase`` - Base class for all Autopilot Test Cases |
406 | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++ | 2 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
407 | 3 | 3 | ||
408 | 4 | 4 | ||
409 | 5 | .. automodule:: autopilot.testcase | 5 | .. automodule:: autopilot.testcase |
410 | 6 | 6 | ||
411 | === modified file 'docs/conf.py' | |||
412 | --- docs/conf.py 2013-04-15 20:42:55 +0000 | |||
413 | +++ docs/conf.py 2013-04-16 05:01:27 +0000 | |||
414 | @@ -101,7 +101,7 @@ | |||
415 | 101 | pygments_style = 'sphinx' | 101 | pygments_style = 'sphinx' |
416 | 102 | 102 | ||
417 | 103 | # A list of ignored prefixes for module index sorting. | 103 | # A list of ignored prefixes for module index sorting. |
419 | 104 | modindex_common_prefix = ['autopilot.'] | 104 | # modindex_common_prefix = [''] |
420 | 105 | 105 | ||
421 | 106 | # nitpicky = True | 106 | # nitpicky = True |
422 | 107 | # -- Options for HTML output --------------------------------------------------- | 107 | # -- Options for HTML output --------------------------------------------------- |
PASSED: Continuous integration, rev:159 jenkins. qa.ubuntu. com/job/ autopilot- ci/20/ jenkins. qa.ubuntu. com/job/ autopilot- raring- amd64-ci/ 20 jenkins. qa.ubuntu. com/job/ autopilot- raring- armhf-ci/ 19
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ autopilot- ci/20/rebuild
http://