1 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Remove the old table interface and its test cases |
4 |
|
|
5 |
|
* Thuban/Model/table.py (OldTableInterfaceMixin): Removed. |
6 |
|
(DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin |
7 |
|
anymore |
8 |
|
|
9 |
|
* Thuban/Model/transientdb.py (TransientTableBase) |
10 |
|
(AutoTransientTable): Do not derive from OldTableInterfaceMixin |
11 |
|
anymore |
12 |
|
|
13 |
|
* test/test_table.py: Removed since the old interface it tests is |
14 |
|
gone. |
15 |
|
|
16 |
|
* test/runtests.py (main): The old table interface is gone and |
17 |
|
with it the deprecation warnings so remove the code that turns |
18 |
|
these warnings into errors |
19 |
|
|
20 |
|
2003-11-19 Bernhard Herzog <[email protected]> |
21 |
|
|
22 |
|
* test/test_table.py: Revert to revision 1.5 again. Changing the |
23 |
|
tests to use the new table interface is completely wrong since the |
24 |
|
whole purpose of the tests in this module is to test the old |
25 |
|
interface. |
26 |
|
|
27 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
28 |
|
|
29 |
|
* Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters): |
30 |
|
New. Test whether the connection matches a set of connection |
31 |
|
parameters |
32 |
|
|
33 |
|
* Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string |
34 |
|
(DBFrame.OnAdd): Use the new MatchesParameters method when looking |
35 |
|
for existing connections with the same parameters and break out of |
36 |
|
the loop correctly. |
37 |
|
|
38 |
|
* test/test_postgis_db.py (TestBriefDescription) |
39 |
|
(TestPostGISSimple.test_brief_description): Rename |
40 |
|
TestBriefDescription to TestPostGISSimple and the test method to |
41 |
|
test_brief_description so that we can add more test methods. |
42 |
|
(TestPostGISSimple.test_matches_parameters): New. Test the new |
43 |
|
MatchesParameters method |
44 |
|
|
45 |
|
2003-11-18 Bernhard Herzog <[email protected]> |
46 |
|
|
47 |
|
* Thuban/Lib/connector.py (Publisher): Introduce a new flag, |
48 |
|
_was_destroyed, to indicate whether an publisher instance has |
49 |
|
already been destroyed. |
50 |
|
(Publisher.Unsubscribe): Only disconnect if the publisher has not |
51 |
|
been destroyed yet. |
52 |
|
(Publisher.Destroy): Set the _was_destroyed flag to true. |
53 |
|
|
54 |
|
* test/test_connector.py |
55 |
|
(TestPublisher.test_unsubscribe_after_destroy): New. Test that |
56 |
|
calling Unsubscribe after Destroy doesn't raise an exception |
57 |
|
|
58 |
2003-11-14 Bernhard Herzog <[email protected]> |
2003-11-14 Bernhard Herzog <[email protected]> |
59 |
|
|
60 |
* Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix |
* Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix |