Skip to content

Commit c6faf3d

Browse files
committed
add license headers to some tests
1 parent fa7d689 commit c6faf3d

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

tests/src/python/test_qgsmemoryprovider.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
'''
3+
test_qgsmemoryprovider.py
4+
--------------------------------------
5+
Date : 17 Aug 2012
6+
Copyright : (C) 2012 by Alexander Bruy
7+
email : alexander dot bruy at gmail dot com
8+
***************************************************************************
9+
* *
10+
* This program is free software; you can redistribute it and/or modify *
11+
* it under the terms of the GNU General Public License as published by *
12+
* the Free Software Foundation; either version 3 of the License, or *
13+
* (at your option) any later version. *
14+
* *
15+
***************************************************************************/
16+
'''
17+
118
import unittest
219

320
from qgis.core import (QGis,

tests/src/python/test_qgsrectangle.py

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
'''
3+
test_qgsrectangle.py
4+
--------------------------------------
5+
Date : 07 Sep 2012
6+
Copyright : (C) 2012 by Alexander Bruy
7+
email : alexander dot bruy at gmail dot com
8+
***************************************************************************
9+
* *
10+
* This program is free software; you can redistribute it and/or modify *
11+
* it under the terms of the GNU General Public License as published by *
12+
* the Free Software Foundation; either version 3 of the License, or *
13+
* (at your option) any later version. *
14+
* *
15+
***************************************************************************/
16+
'''
17+
118
import unittest
219

320
from qgis.core import (QGis,

tests/src/python/test_qgsspatialindex.py

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
'''
3+
test_qgsspatialindex.py
4+
--------------------------------------
5+
Date : 07 Sep 2012
6+
Copyright : (C) 2012 by Alexander Bruy
7+
email : alexander dot bruy at gmail dot com
8+
***************************************************************************
9+
* *
10+
* This program is free software; you can redistribute it and/or modify *
11+
* it under the terms of the GNU General Public License as published by *
12+
* the Free Software Foundation; either version 3 of the License, or *
13+
* (at your option) any later version. *
14+
* *
15+
***************************************************************************/
16+
'''
17+
118
import unittest
219

320
from qgis.core import (QgsSpatialIndex,
@@ -44,3 +61,6 @@ def testIndex(self):
4461
myMessage = ('Expected: %s\nGot: %s\n' %
4562
([0, 1, 5], fids))
4663
assert fids == [0, 1, 5], myMessage
64+
65+
if __name__ == '__main__':
66+
unittest.main()

0 commit comments

Comments
 (0)