Merge lp:~dobey/ubuntuone-dev-tools/update-from-trunk into lp:ubuntuone-dev-tools/stable-3-0
- update-from-trunk
- Merge into stable-3-0
Proposed by
dobey
on 2012-04-03
| Status: | Merged |
|---|---|
| Approved by: | dobey on 2012-04-03 |
| Approved revision: | 61 |
| Merged at revision: | 61 |
| Proposed branch: | lp:~dobey/ubuntuone-dev-tools/update-from-trunk |
| Merge into: | lp:ubuntuone-dev-tools/stable-3-0 |
| Diff against target: |
1003 lines (+557/-34) 29 files modified
LICENSE (+28/-0) LICENSE.OpenSSL (+137/-0) MANIFEST.in (+1/-1) bin/u1lint (+14/-2) bin/u1lint.bat (+13/-0) bin/u1trial (+14/-2) bin/u1trial.bat (+13/-0) setup.py (+20/-7) ubuntuone/__init__.py (+14/-1) ubuntuone/devtools/handlers.py (+14/-2) ubuntuone/devtools/reactors/gi.py (+13/-0) ubuntuone/devtools/reactors/glib.py (+14/-1) ubuntuone/devtools/reactors/qt4.py (+14/-1) ubuntuone/devtools/reactors/twisted.py (+14/-1) ubuntuone/devtools/reactors/txnp.py (+14/-1) ubuntuone/devtools/services/__init__.py (+14/-1) ubuntuone/devtools/services/dbus.py (+14/-1) ubuntuone/devtools/services/squid.py (+14/-1) ubuntuone/devtools/services/tests/test_dbus.py (+27/-0) ubuntuone/devtools/services/tests/test_squid.py (+14/-1) ubuntuone/devtools/testcase.py (+14/-1) ubuntuone/devtools/testcases/__init__.py (+14/-2) ubuntuone/devtools/testcases/dbus.py (+14/-2) ubuntuone/devtools/testcases/squid.py (+14/-2) ubuntuone/devtools/testcases/tests/__init__.py (+13/-0) ubuntuone/devtools/testcases/tests/test_squid_testcase.py (+14/-1) ubuntuone/devtools/testing/txcheck.py (+14/-2) ubuntuone/devtools/tests/test_decorators.py (+14/-1) ubuntuone/devtools/tests/test_txcheck.py (+26/-0) |
| To merge this branch: | bzr merge lp:~dobey/ubuntuone-dev-tools/update-from-trunk |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Eric Casteleijn (community) | 2012-04-03 | Approve on 2012-04-03 | |
|
Review via email:
|
|||
Commit Message
License exception for linking to OpenSSL
Description of the Change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
| 1 | === added file 'LICENSE' |
| 2 | --- LICENSE 1970-01-01 00:00:00 +0000 |
| 3 | +++ LICENSE 2012-04-03 20:23:22 +0000 |
| 4 | @@ -0,0 +1,28 @@ |
| 5 | +# This is the Ubuntu One development tools package. |
| 6 | +# |
| 7 | +# Copyright (C) 2009-2012 Canonical Ltd. |
| 8 | +# |
| 9 | +# This program is free software: you can redistribute it and/or modify it |
| 10 | +# under the terms of the GNU General Public License version 3, as published |
| 11 | +# by the Free Software Foundation. |
| 12 | +# |
| 13 | +# This program is distributed in the hope that it will be useful, but |
| 14 | +# WITHOUT ANY WARRANTY; without even the implied warranties of |
| 15 | +# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 16 | +# PURPOSE. See the GNU General Public License for more details. |
| 17 | +# |
| 18 | +# You should have received a copy of the GNU General Public License along |
| 19 | +# with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | +# |
| 21 | +# In addition, as a special exception, the copyright holders give |
| 22 | +# permission to link the code of portions of this program with the |
| 23 | +# OpenSSL library under certain conditions as described in each |
| 24 | +# individual source file, and distribute linked combinations |
| 25 | +# including the two. |
| 26 | +# You must obey the GNU General Public License in all respects |
| 27 | +# for all of the code used other than OpenSSL. If you modify |
| 28 | +# file(s) with this exception, you may extend this exception to your |
| 29 | +# version of the file(s), but you are not obligated to do so. If you |
| 30 | +# do not wish to do so, delete this exception statement from your |
| 31 | +# version. If you delete this exception statement from all source |
| 32 | +# files in the program, then also delete it here. |
| 33 | |
| 34 | === added file 'LICENSE.OpenSSL' |
| 35 | --- LICENSE.OpenSSL 1970-01-01 00:00:00 +0000 |
| 36 | +++ LICENSE.OpenSSL 2012-04-03 20:23:22 +0000 |
| 37 | @@ -0,0 +1,137 @@ |
| 38 | +Certain source files in this program permit linking with the OpenSSL |
| 39 | +library (http://www.openssl.org), which otherwise wouldn't be allowed |
| 40 | +under the (A)GPL. For purposes of identifying OpenSSL, most source files |
| 41 | +giving this permission limit it to versions of OpenSSL having a license |
| 42 | +identical to that listed in this file (LICENSE.OpenSSL). It is not |
| 43 | +necessary for the copyright years to match between this file and the |
| 44 | +OpenSSL version in question. However, note that because this file is |
| 45 | +an extension of the license statements of these source files, this file |
| 46 | +may not be changed except with permission from all copyright holders |
| 47 | +of source files in this program which reference this file. |
| 48 | + |
| 49 | + LICENSE ISSUES |
| 50 | + ============== |
| 51 | + |
| 52 | + The OpenSSL toolkit stays under a dual license, i.e. both the conditions of |
| 53 | + the OpenSSL License and the original SSLeay license apply to the toolkit. |
| 54 | + See below for the actual license texts. Actually both licenses are BSD-style |
| 55 | + Open Source licenses. In case of any license issues related to OpenSSL |
| 56 | + please contact openssl-core@openssl.org. |
| 57 | + |
| 58 | + OpenSSL License |
| 59 | + --------------- |
| 60 | + |
| 61 | +/* ==================================================================== |
| 62 | + * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. |
| 63 | + * |
| 64 | + * Redistribution and use in source and binary forms, with or without |
| 65 | + * modification, are permitted provided that the following conditions |
| 66 | + * are met: |
| 67 | + * |
| 68 | + * 1. Redistributions of source code must retain the above copyright |
| 69 | + * notice, this list of conditions and the following disclaimer. |
| 70 | + * |
| 71 | + * 2. Redistributions in binary form must reproduce the above copyright |
| 72 | + * notice, this list of conditions and the following disclaimer in |
| 73 | + * the documentation and/or other materials provided with the |
| 74 | + * distribution. |
| 75 | + * |
| 76 | + * 3. All advertising materials mentioning features or use of this |
| 77 | + * software must display the following acknowledgment: |
| 78 | + * "This product includes software developed by the OpenSSL Project |
| 79 | + * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" |
| 80 | + * |
| 81 | + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to |
| 82 | + * endorse or promote products derived from this software without |
| 83 | + * prior written permission. For written permission, please contact |
| 84 | + * openssl-core@openssl.org. |
| 85 | + * |
| 86 | + * 5. Products derived from this software may not be called "OpenSSL" |
| 87 | + * nor may "OpenSSL" appear in their names without prior written |
| 88 | + * permission of the OpenSSL Project. |
| 89 | + * |
| 90 | + * 6. Redistributions of any form whatsoever must retain the following |
| 91 | + * acknowledgment: |
| 92 | + * "This product includes software developed by the OpenSSL Project |
| 93 | + * for use in the OpenSSL Toolkit (http://www.openssl.org/)" |
| 94 | + * |
| 95 | + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY |
| 96 | + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 97 | + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 98 | + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR |
| 99 | + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 100 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 101 | + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 102 | + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 103 | + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 104 | + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 105 | + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 106 | + * OF THE POSSIBILITY OF SUCH DAMAGE. |
| 107 | + * ==================================================================== |
| 108 | + * |
| 109 | + * This product includes cryptographic software written by Eric Young |
| 110 | + * (eay@cryptsoft.com). This product includes software written by Tim |
| 111 | + * Hudson (tjh@cryptsoft.com). |
| 112 | + * |
| 113 | + */ |
| 114 | + |
| 115 | + Original SSLeay License |
| 116 | + ----------------------- |
| 117 | + |
| 118 | +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 119 | + * All rights reserved. |
| 120 | + * |
| 121 | + * This package is an SSL implementation written |
| 122 | + * by Eric Young (eay@cryptsoft.com). |
| 123 | + * The implementation was written so as to conform with Netscapes SSL. |
| 124 | + * |
| 125 | + * This library is free for commercial and non-commercial use as long as |
| 126 | + * the following conditions are aheared to. The following conditions |
| 127 | + * apply to all code found in this distribution, be it the RC4, RSA, |
| 128 | + * lhash, DES, etc., code; not just the SSL code. The SSL documentation |
| 129 | + * included with this distribution is covered by the same copyright terms |
| 130 | + * except that the holder is Tim Hudson (tjh@cryptsoft.com). |
| 131 | + * |
| 132 | + * Copyright remains Eric Young's, and as such any Copyright notices in |
| 133 | + * the code are not to be removed. |
| 134 | + * If this package is used in a product, Eric Young should be given attribution |
| 135 | + * as the author of the parts of the library used. |
| 136 | + * This can be in the form of a textual message at program startup or |
| 137 | + * in documentation (online or textual) provided with the package. |
| 138 | + * |
| 139 | + * Redistribution and use in source and binary forms, with or without |
| 140 | + * modification, are permitted provided that the following conditions |
| 141 | + * are met: |
| 142 | + * 1. Redistributions of source code must retain the copyright |
| 143 | + * notice, this list of conditions and the following disclaimer. |
| 144 | + * 2. Redistributions in binary form must reproduce the above copyright |
| 145 | + * notice, this list of conditions and the following disclaimer in the |
| 146 | + * documentation and/or other materials provided with the distribution. |
| 147 | + * 3. All advertising materials mentioning features or use of this software |
| 148 | + * must display the following acknowledgement: |
| 149 | + * "This product includes cryptographic software written by |
| 150 | + * Eric Young (eay@cryptsoft.com)" |
| 151 | + * The word 'cryptographic' can be left out if the rouines from the library |
| 152 | + * being used are not cryptographic related :-). |
| 153 | + * 4. If you include any Windows specific code (or a derivative thereof) from |
| 154 | + * the apps directory (application code) you must include an acknowledgement: |
| 155 | + * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" |
| 156 | + * |
| 157 | + * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND |
| 158 | + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 159 | + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 160 | + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| 161 | + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 162 | + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 163 | + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 164 | + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 165 | + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 166 | + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 167 | + * SUCH DAMAGE. |
| 168 | + * |
| 169 | + * The licence and distribution terms for any publically available version or |
| 170 | + * derivative of this code cannot be changed. i.e. this code cannot simply be |
| 171 | + * copied and put under another distribution licence |
| 172 | + * [including the GNU Public Licence.] |
| 173 | + */ |
| 174 | + |
| 175 | |
| 176 | === modified file 'MANIFEST.in' |
| 177 | --- MANIFEST.in 2012-01-19 16:41:58 +0000 |
| 178 | +++ MANIFEST.in 2012-04-03 20:23:22 +0000 |
| 179 | @@ -1,5 +1,5 @@ |
| 180 | include MANIFEST.in |
| 181 | -include COPYING pylintrc run-tests |
| 182 | +include COPYING LICENSE LICENSE.OpenSSL pylintrc run-tests |
| 183 | include *.pth |
| 184 | recursive-include data *.conf |
| 185 | recursive-include man *.1 |
| 186 | |
| 187 | === modified file 'bin/u1lint' |
| 188 | --- bin/u1lint 2012-02-07 14:53:48 +0000 |
| 189 | +++ bin/u1lint 2012-04-03 20:23:22 +0000 |
| 190 | @@ -4,7 +4,7 @@ |
| 191 | # |
| 192 | # Author: Rodney Dawes <rodney.dawes@canonical.com> |
| 193 | # |
| 194 | -# Copyright 2009-2011 Canonical Ltd. |
| 195 | +# Copyright 2009-2012 Canonical Ltd. |
| 196 | # |
| 197 | # This program is free software: you can redistribute it and/or modify it |
| 198 | # under the terms of the GNU General Public License version 3, as published |
| 199 | @@ -17,7 +17,19 @@ |
| 200 | # |
| 201 | # You should have received a copy of the GNU General Public License along |
| 202 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 203 | - |
| 204 | +# |
| 205 | +# In addition, as a special exception, the copyright holders give |
| 206 | +# permission to link the code of portions of this program with the |
| 207 | +# OpenSSL library under certain conditions as described in each |
| 208 | +# individual source file, and distribute linked combinations |
| 209 | +# including the two. |
| 210 | +# You must obey the GNU General Public License in all respects |
| 211 | +# for all of the code used other than OpenSSL. If you modify |
| 212 | +# file(s) with this exception, you may extend this exception to your |
| 213 | +# version of the file(s), but you are not obligated to do so. If you |
| 214 | +# do not wish to do so, delete this exception statement from your |
| 215 | +# version. If you delete this exception statement from all source |
| 216 | +# files in the program, then also delete it here. |
| 217 | """Wrapper script for pylint command.""" |
| 218 | |
| 219 | import ConfigParser |
| 220 | |
| 221 | === modified file 'bin/u1lint.bat' |
| 222 | --- bin/u1lint.bat 2012-01-12 12:17:36 +0000 |
| 223 | +++ bin/u1lint.bat 2012-04-03 20:23:22 +0000 |
| 224 | @@ -12,6 +12,19 @@ |
| 225 | :: |
| 226 | :: You should have received a copy of the GNU General Public License along |
| 227 | :: with this program. If not, see <http://www.gnu.org/licenses/>. |
| 228 | +;; |
| 229 | +;; In addition, as a special exception, the copyright holders give |
| 230 | +;; permission to link the code of portions of this program with the |
| 231 | +;; OpenSSL library under certain conditions as described in each |
| 232 | +;; individual source file, and distribute linked combinations |
| 233 | +;; including the two. |
| 234 | +;; You must obey the GNU General Public License in all respects |
| 235 | +;; for all of the code used other than OpenSSL. If you modify |
| 236 | +;; file(s) with this exception, you may extend this exception to your |
| 237 | +;; version of the file(s), but you are not obligated to do so. If you |
| 238 | +;; do not wish to do so, delete this exception statement from your |
| 239 | +;; version. If you delete this exception statement from all source |
| 240 | +;; files in the program, then also delete it here. |
| 241 | |
| 242 | :: Use python to execute the script having the same name as this batch |
| 243 | python "%~dpn0" %* |
| 244 | |
| 245 | === modified file 'bin/u1trial' |
| 246 | --- bin/u1trial 2012-01-17 22:41:50 +0000 |
| 247 | +++ bin/u1trial 2012-04-03 20:23:22 +0000 |
| 248 | @@ -4,7 +4,7 @@ |
| 249 | # |
| 250 | # Author: Rodney Dawes <rodney.dawes@canonical.com> |
| 251 | # |
| 252 | -# Copyright 2009-2011 Canonical Ltd. |
| 253 | +# Copyright 2009-2012 Canonical Ltd. |
| 254 | # |
| 255 | # This program is free software: you can redistribute it and/or modify it |
| 256 | # under the terms of the GNU General Public License version 3, as published |
| 257 | @@ -17,7 +17,19 @@ |
| 258 | # |
| 259 | # You should have received a copy of the GNU General Public License along |
| 260 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 261 | - |
| 262 | +# |
| 263 | +# In addition, as a special exception, the copyright holders give |
| 264 | +# permission to link the code of portions of this program with the |
| 265 | +# OpenSSL library under certain conditions as described in each |
| 266 | +# individual source file, and distribute linked combinations |
| 267 | +# including the two. |
| 268 | +# You must obey the GNU General Public License in all respects |
| 269 | +# for all of the code used other than OpenSSL. If you modify |
| 270 | +# file(s) with this exception, you may extend this exception to your |
| 271 | +# version of the file(s), but you are not obligated to do so. If you |
| 272 | +# do not wish to do so, delete this exception statement from your |
| 273 | +# version. If you delete this exception statement from all source |
| 274 | +# files in the program, then also delete it here. |
| 275 | """Test runner that uses a private dbus session and glib main loop.""" |
| 276 | |
| 277 | import coverage |
| 278 | |
| 279 | === modified file 'bin/u1trial.bat' |
| 280 | --- bin/u1trial.bat 2012-01-12 12:17:36 +0000 |
| 281 | +++ bin/u1trial.bat 2012-04-03 20:23:22 +0000 |
| 282 | @@ -12,6 +12,19 @@ |
| 283 | :: |
| 284 | :: You should have received a copy of the GNU General Public License along |
| 285 | :: with this program. If not, see <http://www.gnu.org/licenses/>. |
| 286 | +;; |
| 287 | +;; In addition, as a special exception, the copyright holders give |
| 288 | +;; permission to link the code of portions of this program with the |
| 289 | +;; OpenSSL library under certain conditions as described in each |
| 290 | +;; individual source file, and distribute linked combinations |
| 291 | +;; including the two. |
| 292 | +;; You must obey the GNU General Public License in all respects |
| 293 | +;; for all of the code used other than OpenSSL. If you modify |
| 294 | +;; file(s) with this exception, you may extend this exception to your |
| 295 | +;; version of the file(s), but you are not obligated to do so. If you |
| 296 | +;; do not wish to do so, delete this exception statement from your |
| 297 | +;; version. If you delete this exception statement from all source |
| 298 | +;; files in the program, then also delete it here. |
| 299 | |
| 300 | :: Use python to execute the script having the same name as this batch |
| 301 | python "%~dpn0" %* |
| 302 | |
| 303 | === modified file 'setup.py' |
| 304 | --- setup.py 2012-03-20 19:17:42 +0000 |
| 305 | +++ setup.py 2012-04-03 20:23:22 +0000 |
| 306 | @@ -1,18 +1,31 @@ |
| 307 | #!/usr/bin/env python |
| 308 | # |
| 309 | -# Copyright 2010 Canonical Ltd. |
| 310 | +# Copyright 2010-2012 Canonical Ltd. |
| 311 | # |
| 312 | # This program is free software: you can redistribute it and/or modify it |
| 313 | -# under the terms of the GNU Affero General Public License version 3, |
| 314 | -# as published by the Free Software Foundation. |
| 315 | +# under the terms of the GNU General Public License version 3, as published |
| 316 | +# by the Free Software Foundation. |
| 317 | # |
| 318 | # This program is distributed in the hope that it will be useful, but |
| 319 | # WITHOUT ANY WARRANTY; without even the implied warranties of |
| 320 | # MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 321 | -# PURPOSE. See the GNU Affero General Public License for more details. |
| 322 | -# |
| 323 | -# You should have received a copy of the GNU Affero General Public License |
| 324 | -# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 325 | +# PURPOSE. See the GNU General Public License for more details. |
| 326 | +# |
| 327 | +# You should have received a copy of the GNU General Public License along |
| 328 | +# with this program. If not, see <http://www.gnu.org/licenses/>. |
| 329 | +# |
| 330 | +# In addition, as a special exception, the copyright holders give |
| 331 | +# permission to link the code of portions of this program with the |
| 332 | +# OpenSSL library under certain conditions as described in each |
| 333 | +# individual source file, and distribute linked combinations |
| 334 | +# including the two. |
| 335 | +# You must obey the GNU General Public License in all respects |
| 336 | +# for all of the code used other than OpenSSL. If you modify |
| 337 | +# file(s) with this exception, you may extend this exception to your |
| 338 | +# version of the file(s), but you are not obligated to do so. If you |
| 339 | +# do not wish to do so, delete this exception statement from your |
| 340 | +# version. If you delete this exception statement from all source |
| 341 | +# files in the program, then also delete it here. |
| 342 | """setup.py""" |
| 343 | |
| 344 | import subprocess |
| 345 | |
| 346 | === modified file 'ubuntuone/__init__.py' |
| 347 | --- ubuntuone/__init__.py 2010-07-14 21:39:08 +0000 |
| 348 | +++ ubuntuone/__init__.py 2012-04-03 20:23:22 +0000 |
| 349 | @@ -1,4 +1,4 @@ |
| 350 | -# Copyright 2009 Canonical Ltd. |
| 351 | +# Copyright 2009-2012 Canonical Ltd. |
| 352 | # |
| 353 | # This program is free software: you can redistribute it and/or modify it |
| 354 | # under the terms of the GNU General Public License version 3, as published |
| 355 | @@ -11,5 +11,18 @@ |
| 356 | # |
| 357 | # You should have received a copy of the GNU General Public License along |
| 358 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 359 | +# |
| 360 | +# In addition, as a special exception, the copyright holders give |
| 361 | +# permission to link the code of portions of this program with the |
| 362 | +# OpenSSL library under certain conditions as described in each |
| 363 | +# individual source file, and distribute linked combinations |
| 364 | +# including the two. |
| 365 | +# You must obey the GNU General Public License in all respects |
| 366 | +# for all of the code used other than OpenSSL. If you modify |
| 367 | +# file(s) with this exception, you may extend this exception to your |
| 368 | +# version of the file(s), but you are not obligated to do so. If you |
| 369 | +# do not wish to do so, delete this exception statement from your |
| 370 | +# version. If you delete this exception statement from all source |
| 371 | +# files in the program, then also delete it here. |
| 372 | """ubuntuone package""" |
| 373 | __import__('pkg_resources').declare_namespace(__name__) |
| 374 | |
| 375 | === modified file 'ubuntuone/devtools/handlers.py' |
| 376 | --- ubuntuone/devtools/handlers.py 2010-12-09 21:01:13 +0000 |
| 377 | +++ ubuntuone/devtools/handlers.py 2012-04-03 20:23:22 +0000 |
| 378 | @@ -3,7 +3,7 @@ |
| 379 | # Author: Guillermo Gonzalez <guillermo.gonzalez@canonical.com> |
| 380 | # Author: Facundo Batista <facundo@canonical.com> |
| 381 | # |
| 382 | -# Copyright 2009-2010 Canonical Ltd. |
| 383 | +# Copyright 2009-2012 Canonical Ltd. |
| 384 | # |
| 385 | # This program is free software: you can redistribute it and/or modify it |
| 386 | # under the terms of the GNU General Public License version 3, as published |
| 387 | @@ -16,7 +16,19 @@ |
| 388 | # |
| 389 | # You should have received a copy of the GNU General Public License along |
| 390 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 391 | - |
| 392 | +# |
| 393 | +# In addition, as a special exception, the copyright holders give |
| 394 | +# permission to link the code of portions of this program with the |
| 395 | +# OpenSSL library under certain conditions as described in each |
| 396 | +# individual source file, and distribute linked combinations |
| 397 | +# including the two. |
| 398 | +# You must obey the GNU General Public License in all respects |
| 399 | +# for all of the code used other than OpenSSL. If you modify |
| 400 | +# file(s) with this exception, you may extend this exception to your |
| 401 | +# version of the file(s), but you are not obligated to do so. If you |
| 402 | +# do not wish to do so, delete this exception statement from your |
| 403 | +# version. If you delete this exception statement from all source |
| 404 | +# files in the program, then also delete it here. |
| 405 | """Set of helpers handlers.""" |
| 406 | |
| 407 | import logging |
| 408 | |
| 409 | === modified file 'ubuntuone/devtools/reactors/gi.py' |
| 410 | --- ubuntuone/devtools/reactors/gi.py 2012-01-24 18:05:16 +0000 |
| 411 | +++ ubuntuone/devtools/reactors/gi.py 2012-04-03 20:23:22 +0000 |
| 412 | @@ -11,6 +11,19 @@ |
| 413 | # |
| 414 | # You should have received a copy of the GNU General Public License along |
| 415 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 416 | +# |
| 417 | +# In addition, as a special exception, the copyright holders give |
| 418 | +# permission to link the code of portions of this program with the |
| 419 | +# OpenSSL library under certain conditions as described in each |
| 420 | +# individual source file, and distribute linked combinations |
| 421 | +# including the two. |
| 422 | +# You must obey the GNU General Public License in all respects |
| 423 | +# for all of the code used other than OpenSSL. If you modify |
| 424 | +# file(s) with this exception, you may extend this exception to your |
| 425 | +# version of the file(s), but you are not obligated to do so. If you |
| 426 | +# do not wish to do so, delete this exception statement from your |
| 427 | +# version. If you delete this exception statement from all source |
| 428 | +# files in the program, then also delete it here. |
| 429 | """The introspection based main loop integration reactor for testing.""" |
| 430 | |
| 431 | REACTOR_URL = 'http://twistedmatrix.com/trac/ticket/4558' |
| 432 | |
| 433 | === modified file 'ubuntuone/devtools/reactors/glib.py' |
| 434 | --- ubuntuone/devtools/reactors/glib.py 2011-11-18 23:09:59 +0000 |
| 435 | +++ ubuntuone/devtools/reactors/glib.py 2012-04-03 20:23:22 +0000 |
| 436 | @@ -1,4 +1,4 @@ |
| 437 | -# Copyright 2009-2011 Canonical Ltd. |
| 438 | +# Copyright 2009-2012 Canonical Ltd. |
| 439 | # |
| 440 | # This program is free software: you can redistribute it and/or modify it |
| 441 | # under the terms of the GNU General Public License version 3, as published |
| 442 | @@ -11,6 +11,19 @@ |
| 443 | # |
| 444 | # You should have received a copy of the GNU General Public License along |
| 445 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 446 | +# |
| 447 | +# In addition, as a special exception, the copyright holders give |
| 448 | +# permission to link the code of portions of this program with the |
| 449 | +# OpenSSL library under certain conditions as described in each |
| 450 | +# individual source file, and distribute linked combinations |
| 451 | +# including the two. |
| 452 | +# You must obey the GNU General Public License in all respects |
| 453 | +# for all of the code used other than OpenSSL. If you modify |
| 454 | +# file(s) with this exception, you may extend this exception to your |
| 455 | +# version of the file(s), but you are not obligated to do so. If you |
| 456 | +# do not wish to do so, delete this exception statement from your |
| 457 | +# version. If you delete this exception statement from all source |
| 458 | +# files in the program, then also delete it here. |
| 459 | """The default glib/gtk main loop integration reactor for testing.""" |
| 460 | |
| 461 | |
| 462 | |
| 463 | === modified file 'ubuntuone/devtools/reactors/qt4.py' |
| 464 | --- ubuntuone/devtools/reactors/qt4.py 2011-11-18 23:09:59 +0000 |
| 465 | +++ ubuntuone/devtools/reactors/qt4.py 2012-04-03 20:23:22 +0000 |
| 466 | @@ -1,6 +1,6 @@ |
| 467 | # Author: Manuel de la Pena manuel@canonical.com |
| 468 | # |
| 469 | -# Copyright 2010-2011 Canonical Ltd. |
| 470 | +# Copyright 2010-2012 Canonical Ltd. |
| 471 | # |
| 472 | # This program is free software: you can redistribute it and/or modify it |
| 473 | # under the terms of the GNU General Public License version 3, as published |
| 474 | @@ -13,6 +13,19 @@ |
| 475 | # |
| 476 | # You should have received a copy of the GNU General Public License along |
| 477 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 478 | +# |
| 479 | +# In addition, as a special exception, the copyright holders give |
| 480 | +# permission to link the code of portions of this program with the |
| 481 | +# OpenSSL library under certain conditions as described in each |
| 482 | +# individual source file, and distribute linked combinations |
| 483 | +# including the two. |
| 484 | +# You must obey the GNU General Public License in all respects |
| 485 | +# for all of the code used other than OpenSSL. If you modify |
| 486 | +# file(s) with this exception, you may extend this exception to your |
| 487 | +# version of the file(s), but you are not obligated to do so. If you |
| 488 | +# do not wish to do so, delete this exception statement from your |
| 489 | +# version. If you delete this exception statement from all source |
| 490 | +# files in the program, then also delete it here. |
| 491 | """The Qt main loop integration reactor for testing.""" |
| 492 | |
| 493 | import sys |
| 494 | |
| 495 | === modified file 'ubuntuone/devtools/reactors/twisted.py' |
| 496 | --- ubuntuone/devtools/reactors/twisted.py 2011-05-26 15:49:41 +0000 |
| 497 | +++ ubuntuone/devtools/reactors/twisted.py 2012-04-03 20:23:22 +0000 |
| 498 | @@ -1,4 +1,4 @@ |
| 499 | -# Copyright 2011 Canonical Ltd. |
| 500 | +# Copyright 2011-2012 Canonical Ltd. |
| 501 | # |
| 502 | # This program is free software: you can redistribute it and/or modify it |
| 503 | # under the terms of the GNU General Public License version 3, as published |
| 504 | @@ -11,6 +11,19 @@ |
| 505 | # |
| 506 | # You should have received a copy of the GNU General Public License along |
| 507 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 508 | +# |
| 509 | +# In addition, as a special exception, the copyright holders give |
| 510 | +# permission to link the code of portions of this program with the |
| 511 | +# OpenSSL library under certain conditions as described in each |
| 512 | +# individual source file, and distribute linked combinations |
| 513 | +# including the two. |
| 514 | +# You must obey the GNU General Public License in all respects |
| 515 | +# for all of the code used other than OpenSSL. If you modify |
| 516 | +# file(s) with this exception, you may extend this exception to your |
| 517 | +# version of the file(s), but you are not obligated to do so. If you |
| 518 | +# do not wish to do so, delete this exception statement from your |
| 519 | +# version. If you delete this exception statement from all source |
| 520 | +# files in the program, then also delete it here. |
| 521 | """The standard twisted reactor for testing.""" |
| 522 | |
| 523 | |
| 524 | |
| 525 | === modified file 'ubuntuone/devtools/reactors/txnp.py' |
| 526 | --- ubuntuone/devtools/reactors/txnp.py 2011-05-26 15:49:41 +0000 |
| 527 | +++ ubuntuone/devtools/reactors/txnp.py 2012-04-03 20:23:22 +0000 |
| 528 | @@ -2,7 +2,7 @@ |
| 529 | # |
| 530 | # Author: Manuel de la Pena manuel@canonical.com |
| 531 | # |
| 532 | -# Copyright 2011 Canonical Ltd. |
| 533 | +# Copyright 2011-2012 Canonical Ltd. |
| 534 | # |
| 535 | # This program is free software: you can redistribute it and/or modify it |
| 536 | # under the terms of the GNU General Public License version 3, as published |
| 537 | @@ -15,6 +15,19 @@ |
| 538 | # |
| 539 | # You should have received a copy of the GNU General Public License along |
| 540 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 541 | +# |
| 542 | +# In addition, as a special exception, the copyright holders give |
| 543 | +# permission to link the code of portions of this program with the |
| 544 | +# OpenSSL library under certain conditions as described in each |
| 545 | +# individual source file, and distribute linked combinations |
| 546 | +# including the two. |
| 547 | +# You must obey the GNU General Public License in all respects |
| 548 | +# for all of the code used other than OpenSSL. If you modify |
| 549 | +# file(s) with this exception, you may extend this exception to your |
| 550 | +# version of the file(s), but you are not obligated to do so. If you |
| 551 | +# do not wish to do so, delete this exception statement from your |
| 552 | +# version. If you delete this exception statement from all source |
| 553 | +# files in the program, then also delete it here. |
| 554 | """The NamedPipes integration reactor for testing on Windows.""" |
| 555 | |
| 556 | REACTOR_URL = 'https://launchpad.net/txnamedpipes' |
| 557 | |
| 558 | === modified file 'ubuntuone/devtools/services/__init__.py' |
| 559 | --- ubuntuone/devtools/services/__init__.py 2012-01-17 22:41:50 +0000 |
| 560 | +++ ubuntuone/devtools/services/__init__.py 2012-04-03 20:23:22 +0000 |
| 561 | @@ -1,5 +1,5 @@ |
| 562 | # |
| 563 | -# Copyright 2011 Canonical Ltd. |
| 564 | +# Copyright 2011-2012 Canonical Ltd. |
| 565 | # |
| 566 | # This program is free software: you can redistribute it and/or modify it |
| 567 | # under the terms of the GNU General Public License version 3, as published |
| 568 | @@ -12,6 +12,19 @@ |
| 569 | # |
| 570 | # You should have received a copy of the GNU General Public License along |
| 571 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 572 | +# |
| 573 | +# In addition, as a special exception, the copyright holders give |
| 574 | +# permission to link the code of portions of this program with the |
| 575 | +# OpenSSL library under certain conditions as described in each |
| 576 | +# individual source file, and distribute linked combinations |
| 577 | +# including the two. |
| 578 | +# You must obey the GNU General Public License in all respects |
| 579 | +# for all of the code used other than OpenSSL. If you modify |
| 580 | +# file(s) with this exception, you may extend this exception to your |
| 581 | +# version of the file(s), but you are not obligated to do so. If you |
| 582 | +# do not wish to do so, delete this exception statement from your |
| 583 | +# version. If you delete this exception statement from all source |
| 584 | +# files in the program, then also delete it here. |
| 585 | """Service runners for testing.""" |
| 586 | |
| 587 | import os |
| 588 | |
| 589 | === modified file 'ubuntuone/devtools/services/dbus.py' |
| 590 | --- ubuntuone/devtools/services/dbus.py 2012-01-17 22:41:50 +0000 |
| 591 | +++ ubuntuone/devtools/services/dbus.py 2012-04-03 20:23:22 +0000 |
| 592 | @@ -1,7 +1,7 @@ |
| 593 | # |
| 594 | # Author: Guillermo Gonzalez <guillermo.gonzalez@canonical.com> |
| 595 | # |
| 596 | -# Copyright 2009-2010 Canonical Ltd. |
| 597 | +# Copyright 2009-2012 Canonical Ltd. |
| 598 | # |
| 599 | # This program is free software: you can redistribute it and/or modify it |
| 600 | # under the terms of the GNU General Public License version 3, as published |
| 601 | @@ -14,6 +14,19 @@ |
| 602 | # |
| 603 | # You should have received a copy of the GNU General Public License along |
| 604 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 605 | +# |
| 606 | +# In addition, as a special exception, the copyright holders give |
| 607 | +# permission to link the code of portions of this program with the |
| 608 | +# OpenSSL library under certain conditions as described in each |
| 609 | +# individual source file, and distribute linked combinations |
| 610 | +# including the two. |
| 611 | +# You must obey the GNU General Public License in all respects |
| 612 | +# for all of the code used other than OpenSSL. If you modify |
| 613 | +# file(s) with this exception, you may extend this exception to your |
| 614 | +# version of the file(s), but you are not obligated to do so. If you |
| 615 | +# do not wish to do so, delete this exception statement from your |
| 616 | +# version. If you delete this exception statement from all source |
| 617 | +# files in the program, then also delete it here. |
| 618 | """Utilities for finding and running a dbus session bus for testing.""" |
| 619 | |
| 620 | import os |
| 621 | |
| 622 | === modified file 'ubuntuone/devtools/services/squid.py' |
| 623 | --- ubuntuone/devtools/services/squid.py 2012-01-05 16:44:50 +0000 |
| 624 | +++ ubuntuone/devtools/services/squid.py 2012-04-03 20:23:22 +0000 |
| 625 | @@ -1,5 +1,5 @@ |
| 626 | # |
| 627 | -# Copyright 2011 Canonical Ltd. |
| 628 | +# Copyright 2011-2012 Canonical Ltd. |
| 629 | # |
| 630 | # This program is free software: you can redistribute it and/or modify it |
| 631 | # under the terms of the GNU General Public License version 3, as published |
| 632 | @@ -12,6 +12,19 @@ |
| 633 | # |
| 634 | # You should have received a copy of the GNU General Public License along |
| 635 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 636 | +# |
| 637 | +# In addition, as a special exception, the copyright holders give |
| 638 | +# permission to link the code of portions of this program with the |
| 639 | +# OpenSSL library under certain conditions as described in each |
| 640 | +# individual source file, and distribute linked combinations |
| 641 | +# including the two. |
| 642 | +# You must obey the GNU General Public License in all respects |
| 643 | +# for all of the code used other than OpenSSL. If you modify |
| 644 | +# file(s) with this exception, you may extend this exception to your |
| 645 | +# version of the file(s), but you are not obligated to do so. If you |
| 646 | +# do not wish to do so, delete this exception statement from your |
| 647 | +# version. If you delete this exception statement from all source |
| 648 | +# files in the program, then also delete it here. |
| 649 | """Utilities for finding and running a squid proxy for testing.""" |
| 650 | |
| 651 | import random |
| 652 | |
| 653 | === modified file 'ubuntuone/devtools/services/tests/test_dbus.py' |
| 654 | --- ubuntuone/devtools/services/tests/test_dbus.py 2012-01-17 22:41:50 +0000 |
| 655 | +++ ubuntuone/devtools/services/tests/test_dbus.py 2012-04-03 20:23:22 +0000 |
| 656 | @@ -1,3 +1,30 @@ |
| 657 | +# Copyright (C) 2010-2012 Canonical Ltd. |
| 658 | +# |
| 659 | +# This program is free software: you can redistribute it and/or modify it |
| 660 | +# under the terms of the GNU General Public License version 3, as published |
| 661 | +# by the Free Software Foundation. |
| 662 | +# |
| 663 | +# This program is distributed in the hope that it will be useful, but |
| 664 | +# WITHOUT ANY WARRANTY; without even the implied warranties of |
| 665 | +# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 666 | +# PURPOSE. See the GNU General Public License for more details. |
| 667 | +# |
| 668 | +# You should have received a copy of the GNU General Public License along |
| 669 | +# with this program. If not, see <http://www.gnu.org/licenses/>. |
| 670 | +# |
| 671 | +# |
| 672 | +# In addition, as a special exception, the copyright holders give |
| 673 | +# permission to link the code of portions of this program with the |
| 674 | +# OpenSSL library under certain conditions as described in each |
| 675 | +# individual source file, and distribute linked combinations |
| 676 | +# including the two. |
| 677 | +# You must obey the GNU General Public License in all respects |
| 678 | +# for all of the code used other than OpenSSL. If you modify |
| 679 | +# file(s) with this exception, you may extend this exception to your |
| 680 | +# version of the file(s), but you are not obligated to do so. If you |
| 681 | +# do not wish to do so, delete this exception statement from your |
| 682 | +# version. If you delete this exception statement from all source |
| 683 | +# files in the program, then also delete it here. |
| 684 | """Tests for the test runner.""" |
| 685 | |
| 686 | import os |
| 687 | |
| 688 | === modified file 'ubuntuone/devtools/services/tests/test_squid.py' |
| 689 | --- ubuntuone/devtools/services/tests/test_squid.py 2012-01-05 16:42:37 +0000 |
| 690 | +++ ubuntuone/devtools/services/tests/test_squid.py 2012-04-03 20:23:22 +0000 |
| 691 | @@ -1,5 +1,5 @@ |
| 692 | # |
| 693 | -# Copyright 2011 Canonical Ltd. |
| 694 | +# Copyright 2011-2012 Canonical Ltd. |
| 695 | # |
| 696 | # This program is free software: you can redistribute it and/or modify it |
| 697 | # under the terms of the GNU General Public License version 3, as published |
| 698 | @@ -12,6 +12,19 @@ |
| 699 | # |
| 700 | # You should have received a copy of the GNU General Public License along |
| 701 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 702 | +# |
| 703 | +# In addition, as a special exception, the copyright holders give |
| 704 | +# permission to link the code of portions of this program with the |
| 705 | +# OpenSSL library under certain conditions as described in each |
| 706 | +# individual source file, and distribute linked combinations |
| 707 | +# including the two. |
| 708 | +# You must obey the GNU General Public License in all respects |
| 709 | +# for all of the code used other than OpenSSL. If you modify |
| 710 | +# file(s) with this exception, you may extend this exception to your |
| 711 | +# version of the file(s), but you are not obligated to do so. If you |
| 712 | +# do not wish to do so, delete this exception statement from your |
| 713 | +# version. If you delete this exception statement from all source |
| 714 | +# files in the program, then also delete it here. |
| 715 | """Test the squid service.""" |
| 716 | |
| 717 | import json |
| 718 | |
| 719 | === modified file 'ubuntuone/devtools/testcase.py' |
| 720 | --- ubuntuone/devtools/testcase.py 2011-11-22 09:57:05 +0000 |
| 721 | +++ ubuntuone/devtools/testcase.py 2012-04-03 20:23:22 +0000 |
| 722 | @@ -1,6 +1,6 @@ |
| 723 | # -*- coding: utf-8 -*- |
| 724 | # |
| 725 | -# Copyright 2011 Canonical Ltd. |
| 726 | +# Copyright 2011-2012 Canonical Ltd. |
| 727 | # |
| 728 | # This program is free software: you can redistribute it and/or modify it |
| 729 | # under the terms of the GNU General Public License version 3, as published |
| 730 | @@ -13,6 +13,19 @@ |
| 731 | # |
| 732 | # You should have received a copy of the GNU General Public License along |
| 733 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 734 | +# |
| 735 | +# In addition, as a special exception, the copyright holders give |
| 736 | +# permission to link the code of portions of this program with the |
| 737 | +# OpenSSL library under certain conditions as described in each |
| 738 | +# individual source file, and distribute linked combinations |
| 739 | +# including the two. |
| 740 | +# You must obey the GNU General Public License in all respects |
| 741 | +# for all of the code used other than OpenSSL. If you modify |
| 742 | +# file(s) with this exception, you may extend this exception to your |
| 743 | +# version of the file(s), but you are not obligated to do so. If you |
| 744 | +# do not wish to do so, delete this exception statement from your |
| 745 | +# version. If you delete this exception statement from all source |
| 746 | +# files in the program, then also delete it here. |
| 747 | """Maintain old API.""" |
| 748 | |
| 749 | import warnings |
| 750 | |
| 751 | === modified file 'ubuntuone/devtools/testcases/__init__.py' |
| 752 | --- ubuntuone/devtools/testcases/__init__.py 2012-01-17 22:41:50 +0000 |
| 753 | +++ ubuntuone/devtools/testcases/__init__.py 2012-04-03 20:23:22 +0000 |
| 754 | @@ -1,6 +1,6 @@ |
| 755 | # -*- coding: utf-8 -*- |
| 756 | # |
| 757 | -# Copyright 2009-2011 Canonical Ltd. |
| 758 | +# Copyright 2009-2012 Canonical Ltd. |
| 759 | # |
| 760 | # This program is free software: you can redistribute it and/or modify it |
| 761 | # under the terms of the GNU General Public License version 3, as published |
| 762 | @@ -13,7 +13,19 @@ |
| 763 | # |
| 764 | # You should have received a copy of the GNU General Public License along |
| 765 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 766 | - |
| 767 | +# |
| 768 | +# In addition, as a special exception, the copyright holders give |
| 769 | +# permission to link the code of portions of this program with the |
| 770 | +# OpenSSL library under certain conditions as described in each |
| 771 | +# individual source file, and distribute linked combinations |
| 772 | +# including the two. |
| 773 | +# You must obey the GNU General Public License in all respects |
| 774 | +# for all of the code used other than OpenSSL. If you modify |
| 775 | +# file(s) with this exception, you may extend this exception to your |
| 776 | +# version of the file(s), but you are not obligated to do so. If you |
| 777 | +# do not wish to do so, delete this exception statement from your |
| 778 | +# version. If you delete this exception statement from all source |
| 779 | +# files in the program, then also delete it here. |
| 780 | """Base tests cases and test utilities.""" |
| 781 | |
| 782 | from __future__ import with_statement |
| 783 | |
| 784 | === modified file 'ubuntuone/devtools/testcases/dbus.py' |
| 785 | --- ubuntuone/devtools/testcases/dbus.py 2012-01-17 22:41:50 +0000 |
| 786 | +++ ubuntuone/devtools/testcases/dbus.py 2012-04-03 20:23:22 +0000 |
| 787 | @@ -1,6 +1,6 @@ |
| 788 | # -*- coding: utf-8 -*- |
| 789 | # |
| 790 | -# Copyright 2009-2011 Canonical Ltd. |
| 791 | +# Copyright 2009-2012 Canonical Ltd. |
| 792 | # |
| 793 | # This program is free software: you can redistribute it and/or modify it |
| 794 | # under the terms of the GNU General Public License version 3, as published |
| 795 | @@ -13,7 +13,19 @@ |
| 796 | # |
| 797 | # You should have received a copy of the GNU General Public License along |
| 798 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 799 | - |
| 800 | +# |
| 801 | +# In addition, as a special exception, the copyright holders give |
| 802 | +# permission to link the code of portions of this program with the |
| 803 | +# OpenSSL library under certain conditions as described in each |
| 804 | +# individual source file, and distribute linked combinations |
| 805 | +# including the two. |
| 806 | +# You must obey the GNU General Public License in all respects |
| 807 | +# for all of the code used other than OpenSSL. If you modify |
| 808 | +# file(s) with this exception, you may extend this exception to your |
| 809 | +# version of the file(s), but you are not obligated to do so. If you |
| 810 | +# do not wish to do so, delete this exception statement from your |
| 811 | +# version. If you delete this exception statement from all source |
| 812 | +# files in the program, then also delete it here. |
| 813 | """Base dbus tests cases and test utilities.""" |
| 814 | |
| 815 | from __future__ import absolute_import, with_statement |
| 816 | |
| 817 | === modified file 'ubuntuone/devtools/testcases/squid.py' |
| 818 | --- ubuntuone/devtools/testcases/squid.py 2012-01-05 16:42:37 +0000 |
| 819 | +++ ubuntuone/devtools/testcases/squid.py 2012-04-03 20:23:22 +0000 |
| 820 | @@ -1,6 +1,6 @@ |
| 821 | # -*- coding: utf-8 -*- |
| 822 | # |
| 823 | -# Copyright 2011 Canonical Ltd. |
| 824 | +# Copyright 2011-2012 Canonical Ltd. |
| 825 | # |
| 826 | # This program is free software: you can redistribute it and/or modify it |
| 827 | # under the terms of the GNU General Public License version 3, as published |
| 828 | @@ -13,7 +13,19 @@ |
| 829 | # |
| 830 | # You should have received a copy of the GNU General Public License along |
| 831 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 832 | - |
| 833 | +# |
| 834 | +# In addition, as a special exception, the copyright holders give |
| 835 | +# permission to link the code of portions of this program with the |
| 836 | +# OpenSSL library under certain conditions as described in each |
| 837 | +# individual source file, and distribute linked combinations |
| 838 | +# including the two. |
| 839 | +# You must obey the GNU General Public License in all respects |
| 840 | +# for all of the code used other than OpenSSL. If you modify |
| 841 | +# file(s) with this exception, you may extend this exception to your |
| 842 | +# version of the file(s), but you are not obligated to do so. If you |
| 843 | +# do not wish to do so, delete this exception statement from your |
| 844 | +# version. If you delete this exception statement from all source |
| 845 | +# files in the program, then also delete it here. |
| 846 | """Base squid tests cases and test utilities.""" |
| 847 | |
| 848 | from ubuntuone.devtools.testcase import BaseTestCase, skipIf |
| 849 | |
| 850 | === modified file 'ubuntuone/devtools/testcases/tests/__init__.py' |
| 851 | --- ubuntuone/devtools/testcases/tests/__init__.py 2011-11-29 16:08:17 +0000 |
| 852 | +++ ubuntuone/devtools/testcases/tests/__init__.py 2012-04-03 20:23:22 +0000 |
| 853 | @@ -13,4 +13,17 @@ |
| 854 | # |
| 855 | # You should have received a copy of the GNU General Public License along |
| 856 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 857 | +# |
| 858 | +# In addition, as a special exception, the copyright holders give |
| 859 | +# permission to link the code of portions of this program with the |
| 860 | +# OpenSSL library under certain conditions as described in each |
| 861 | +# individual source file, and distribute linked combinations |
| 862 | +# including the two. |
| 863 | +# You must obey the GNU General Public License in all respects |
| 864 | +# for all of the code used other than OpenSSL. If you modify |
| 865 | +# file(s) with this exception, you may extend this exception to your |
| 866 | +# version of the file(s), but you are not obligated to do so. If you |
| 867 | +# do not wish to do so, delete this exception statement from your |
| 868 | +# version. If you delete this exception statement from all source |
| 869 | +# files in the program, then also delete it here. |
| 870 | """Tests for the test cases.""" |
| 871 | |
| 872 | === modified file 'ubuntuone/devtools/testcases/tests/test_squid_testcase.py' |
| 873 | --- ubuntuone/devtools/testcases/tests/test_squid_testcase.py 2012-01-04 15:08:51 +0000 |
| 874 | +++ ubuntuone/devtools/testcases/tests/test_squid_testcase.py 2012-04-03 20:23:22 +0000 |
| 875 | @@ -1,6 +1,6 @@ |
| 876 | # -*- coding: utf-8 -*- |
| 877 | # |
| 878 | -# Copyright 2011 Canonical Ltd. |
| 879 | +# Copyright 2011-2012 Canonical Ltd. |
| 880 | # |
| 881 | # This program is free software: you can redistribute it and/or modify it |
| 882 | # under the terms of the GNU General Public License version 3, as published |
| 883 | @@ -13,6 +13,19 @@ |
| 884 | # |
| 885 | # You should have received a copy of the GNU General Public License along |
| 886 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 887 | +# |
| 888 | +# In addition, as a special exception, the copyright holders give |
| 889 | +# permission to link the code of portions of this program with the |
| 890 | +# OpenSSL library under certain conditions as described in each |
| 891 | +# individual source file, and distribute linked combinations |
| 892 | +# including the two. |
| 893 | +# You must obey the GNU General Public License in all respects |
| 894 | +# for all of the code used other than OpenSSL. If you modify |
| 895 | +# file(s) with this exception, you may extend this exception to your |
| 896 | +# version of the file(s), but you are not obligated to do so. If you |
| 897 | +# do not wish to do so, delete this exception statement from your |
| 898 | +# version. If you delete this exception statement from all source |
| 899 | +# files in the program, then also delete it here. |
| 900 | """Test the squid test case.""" |
| 901 | import base64 |
| 902 | |
| 903 | |
| 904 | === modified file 'ubuntuone/devtools/testing/txcheck.py' |
| 905 | --- ubuntuone/devtools/testing/txcheck.py 2011-11-23 11:14:00 +0000 |
| 906 | +++ ubuntuone/devtools/testing/txcheck.py 2012-04-03 20:23:22 +0000 |
| 907 | @@ -2,7 +2,7 @@ |
| 908 | |
| 909 | # Author: Tim Cole <tim.cole@canonical.com> |
| 910 | # |
| 911 | -# Copyright 2011 Canonical Ltd. |
| 912 | +# Copyright 2011-2012 Canonical Ltd. |
| 913 | # |
| 914 | # This program is free software: you can redistribute it and/or modify it |
| 915 | # under the terms of the GNU General Public License version 3, as published |
| 916 | @@ -15,7 +15,19 @@ |
| 917 | # |
| 918 | # You should have received a copy of the GNU General Public License along |
| 919 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 920 | - |
| 921 | +# |
| 922 | +# In addition, as a special exception, the copyright holders give |
| 923 | +# permission to link the code of portions of this program with the |
| 924 | +# OpenSSL library under certain conditions as described in each |
| 925 | +# individual source file, and distribute linked combinations |
| 926 | +# including the two. |
| 927 | +# You must obey the GNU General Public License in all respects |
| 928 | +# for all of the code used other than OpenSSL. If you modify |
| 929 | +# file(s) with this exception, you may extend this exception to your |
| 930 | +# version of the file(s), but you are not obligated to do so. If you |
| 931 | +# do not wish to do so, delete this exception statement from your |
| 932 | +# version. If you delete this exception statement from all source |
| 933 | +# files in the program, then also delete it here. |
| 934 | """Utilities for performing correctness checks.""" |
| 935 | |
| 936 | import sys |
| 937 | |
| 938 | === modified file 'ubuntuone/devtools/tests/test_decorators.py' |
| 939 | --- ubuntuone/devtools/tests/test_decorators.py 2011-02-09 15:41:58 +0000 |
| 940 | +++ ubuntuone/devtools/tests/test_decorators.py 2012-04-03 20:23:22 +0000 |
| 941 | @@ -2,7 +2,7 @@ |
| 942 | |
| 943 | # Author: Manuel de la Pena <manuel@canonical.com> |
| 944 | # |
| 945 | -# Copyright 2009-2010 Canonical Ltd. |
| 946 | +# Copyright 2009-2012 Canonical Ltd. |
| 947 | # |
| 948 | # This program is free software: you can redistribute it and/or modify it |
| 949 | # under the terms of the GNU General Public License version 3, as published |
| 950 | @@ -15,6 +15,19 @@ |
| 951 | # |
| 952 | # You should have received a copy of the GNU General Public License along |
| 953 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 954 | +# |
| 955 | +# In addition, as a special exception, the copyright holders give |
| 956 | +# permission to link the code of portions of this program with the |
| 957 | +# OpenSSL library under certain conditions as described in each |
| 958 | +# individual source file, and distribute linked combinations |
| 959 | +# including the two. |
| 960 | +# You must obey the GNU General Public License in all respects |
| 961 | +# for all of the code used other than OpenSSL. If you modify |
| 962 | +# file(s) with this exception, you may extend this exception to your |
| 963 | +# version of the file(s), but you are not obligated to do so. If you |
| 964 | +# do not wish to do so, delete this exception statement from your |
| 965 | +# version. If you delete this exception statement from all source |
| 966 | +# files in the program, then also delete it here. |
| 967 | """Test the skip decorators.""" |
| 968 | import sys |
| 969 | |
| 970 | |
| 971 | === modified file 'ubuntuone/devtools/tests/test_txcheck.py' |
| 972 | --- ubuntuone/devtools/tests/test_txcheck.py 2011-10-27 10:16:26 +0000 |
| 973 | +++ ubuntuone/devtools/tests/test_txcheck.py 2012-04-03 20:23:22 +0000 |
| 974 | @@ -1,3 +1,29 @@ |
| 975 | +# Copyright (C) 2011-2012 Canonical Ltd. |
| 976 | +# |
| 977 | +# This program is free software: you can redistribute it and/or modify it |
| 978 | +# under the terms of the GNU General Public License version 3, as published |
| 979 | +# by the Free Software Foundation. |
| 980 | +# |
| 981 | +# This program is distributed in the hope that it will be useful, but |
| 982 | +# WITHOUT ANY WARRANTY; without even the implied warranties of |
| 983 | +# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 984 | +# PURPOSE. See the GNU General Public License for more details. |
| 985 | +# |
| 986 | +# You should have received a copy of the GNU General Public License along |
| 987 | +# with this program. If not, see <http://www.gnu.org/licenses/>. |
| 988 | +# |
| 989 | +# In addition, as a special exception, the copyright holders give |
| 990 | +# permission to link the code of portions of this program with the |
| 991 | +# OpenSSL library under certain conditions as described in each |
| 992 | +# individual source file, and distribute linked combinations |
| 993 | +# including the two. |
| 994 | +# You must obey the GNU General Public License in all respects |
| 995 | +# for all of the code used other than OpenSSL. If you modify |
| 996 | +# file(s) with this exception, you may extend this exception to your |
| 997 | +# version of the file(s), but you are not obligated to do so. If you |
| 998 | +# do not wish to do so, delete this exception statement from your |
| 999 | +# version. If you delete this exception statement from all source |
| 1000 | +# files in the program, then also delete it here. |
| 1001 | """Tests for check functions.""" |
| 1002 | |
| 1003 | from unittest import TestCase, TestResult |

+1