/[thuban]
ViewVC logotype

Revision 1375


Jump to revision: Previous Next
Author: bh
Date: Tue Jul 8 10:53:05 2003 UTC (21 years, 8 months ago)
Changed paths: 7
Log Message:
* Resources/XML/thuban-0.9.dtd: New. This will become the DTD for
0.9.

* Thuban/Model/transientdb.py (TransientJoinedTable.JoinType):
New. Return the join type

* Thuban/Model/save.py (SessionSaver.write_session): Use new 0.9
DTD
(SessionSaver.write_data_containers): Save the join type for
joined tables

* Thuban/Model/load.py (SessionLoader.__init__): Add the new 0.9
namespace
(SessionLoader.start_jointable): Handle the jointype attribute

* test/test_load_0_8.py: New. Effectively a copy of test_load.py
as of Thuban 0.8. These are now tests to determine whether Thuban
can still read files generated by Thuban 0.8

* test/test_load.py (LoadSessionTest.dtd)
(TestSingleLayer.file_contents)
(TestLayerVisibility.file_contents, TestLabels.file_contents)
(TestLayerProjection.file_contents)
(TestRasterLayer.file_contents, TestJoinedTable.file_contents)
(TestJoinedTable.file_contents)
(TestLoadError.file_contents): Update for new DTD
(TestJoinedTable.file_contents, TestJoinedTable.setUp): Add test
for new join type attribute

* test/test_save.py (SaveSessionTest.dtd)
(SaveSessionTest.testEmptySession)
(SaveSessionTest.testSingleLayer)
(SaveSessionTest.testLayerProjection)
(SaveSessionTest.testRasterLayer)
(SaveSessionTest.testClassifiedLayer)
(SaveSessionTest.test_dbf_table)
(SaveSessionTest.test_joined_table): Update for new DTD
(SaveSessionTest.test_joined_table): Add test for new join type
attribute


Changed paths

Path Details
Directorytrunk/thuban/Resources/XML/thuban-0.9.dtd added
Directorytrunk/thuban/Thuban/Model/load.py modified , text changed
Directorytrunk/thuban/Thuban/Model/save.py modified , text changed
Directorytrunk/thuban/Thuban/Model/transientdb.py modified , text changed
Directorytrunk/thuban/test/test_load.py modified , text changed
Directorytrunk/thuban/test/test_load_0_8.py added
Directorytrunk/thuban/test/test_save.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26