Skip to content

Commit

Permalink
add license headers to some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Oct 4, 2012
1 parent fa7d689 commit c6faf3d
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/src/python/test_qgsmemoryprovider.py
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
'''
test_qgsmemoryprovider.py
--------------------------------------
Date : 17 Aug 2012
Copyright : (C) 2012 by Alexander Bruy
email : alexander dot bruy at gmail dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
'''

import unittest

from qgis.core import (QGis,
Expand Down
17 changes: 17 additions & 0 deletions tests/src/python/test_qgsrectangle.py
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
'''
test_qgsrectangle.py
--------------------------------------
Date : 07 Sep 2012
Copyright : (C) 2012 by Alexander Bruy
email : alexander dot bruy at gmail dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
'''

import unittest

from qgis.core import (QGis,
Expand Down
20 changes: 20 additions & 0 deletions tests/src/python/test_qgsspatialindex.py
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
'''
test_qgsspatialindex.py
--------------------------------------
Date : 07 Sep 2012
Copyright : (C) 2012 by Alexander Bruy
email : alexander dot bruy at gmail dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
'''

import unittest

from qgis.core import (QgsSpatialIndex,
Expand Down Expand Up @@ -44,3 +61,6 @@ def testIndex(self):
myMessage = ('Expected: %s\nGot: %s\n' %
([0, 1, 5], fids))
assert fids == [0, 1, 5], myMessage

if __name__ == '__main__':
unittest.main()

0 comments on commit c6faf3d

Please sign in to comment.