1 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_viewport.py (ViewPortTest): We don't use the |
4 |
|
facilities of FileTestMixin so don't derive from it. |
5 |
|
(TestViewportWithPostGIS): New class with tests for using a |
6 |
|
viewport on a map with postgis layers. |
7 |
|
|
8 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
9 |
|
|
10 |
|
Add the db connection management to the session. |
11 |
|
|
12 |
|
* Thuban/Model/session.py (Session.__init__): New instance |
13 |
|
variable db_connections |
14 |
|
(Session.AddDBConnection, Session.DBConnections) |
15 |
|
(Session.HasDBConnections, Session.CanRemoveDBConnection) |
16 |
|
(Session.RemoveDBConnection): New methods to manage and query the |
17 |
|
db connections managed by the session |
18 |
|
(Session.OpenDBShapeStore): New method to open a shapestore from a |
19 |
|
db connection |
20 |
|
|
21 |
|
* Thuban/Model/messages.py (DBCONN_REMOVED, DBCONN_ADDED): New |
22 |
|
messages for the db connection handling in the session |
23 |
|
|
24 |
|
* test/test_postgis_session.py: New. test cases for the session's |
25 |
|
db connection handling with postgis connections |
26 |
|
|
27 |
|
2003-08-19 Bernhard Herzog <[email protected]> |
28 |
|
|
29 |
|
Add very basic postgis database support and the corresponding test |
30 |
|
cases. The test cases require a PostgreSQL + postgis installation |
31 |
|
but no existing database. The database will be created |
32 |
|
automatically by the test cases |
33 |
|
|
34 |
|
* test/README: Add note about skipped tests and the requirements |
35 |
|
of the postgis tests. |
36 |
|
|
37 |
|
* Thuban/Model/postgisdb.py: New. Basic postgis database support. |
38 |
|
|
39 |
|
* test/test_postgis_db.py: New. Test cases for the postgis |
40 |
|
support. |
41 |
|
|
42 |
|
* Thuban/Model/wellknowntext.py: New. Parser for well-known-text |
43 |
|
format |
44 |
|
|
45 |
|
* test/test_wellknowntext.py: New. Test cases for the |
46 |
|
wellknowntext parser |
47 |
|
|
48 |
|
* test/postgissupport.py: New. Support module for tests involving |
49 |
|
a postgis database. |
50 |
|
|
51 |
|
* test/support.py (execute_as_testsuite): Shut down the postmaster |
52 |
|
if it's still running after the tests |
53 |
|
|
54 |
|
* Thuban/Model/data.py (RAW_WKT): New constant for raw data in |
55 |
|
well known text format |
56 |
|
|
57 |
|
2003-08-19 Jan-Oliver Wagner <[email protected]> |
58 |
|
|
59 |
|
* Examples/simple_extensions/hello_world.py: New. Raises a Hello World |
60 |
|
message dialog. |
61 |
|
|
62 |
2003-08-18 Bernhard Herzog <[email protected]> |
2003-08-18 Bernhard Herzog <[email protected]> |
63 |
|
|
64 |
* test/support.py (ThubanTestResult.printErrors): Indent the |
* test/support.py (ThubanTestResult.printErrors): Indent the |