1 |
2003-05-22 Bernhard Herzog <[email protected]> |
2003-05-22 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/session.py (Session.RemoveTable): New method to |
4 |
|
remove tables |
5 |
|
|
6 |
|
* test/test_session.py (TestSessionSimple.test_remove_table): New. |
7 |
|
Test for RemoveTable |
8 |
|
|
9 |
|
2003-05-22 Thomas Koester <[email protected]> |
10 |
|
|
11 |
|
* Thuban/Model/classgen.py: Added short module doc string and CVS id. |
12 |
|
(ClassGenerator.GenUniformDistribution): Use new Range __init__, too. |
13 |
|
|
14 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
15 |
|
|
16 |
|
Implement a way to discover dependencies between tables and |
17 |
|
shapestores. |
18 |
|
|
19 |
|
* Thuban/Model/transientdb.py (TransientTableBase.Dependencies) |
20 |
|
(TransientJoinedTable.Dependencies) |
21 |
|
(AutoTransientTable.SimpleQuery): New. Implement the dependencies |
22 |
|
interface |
23 |
|
(TransientJoinedTable.__init__): Keep tack of the original table |
24 |
|
objects in addition to the corresponding transient tables. |
25 |
|
|
26 |
|
* Thuban/Model/table.py (DBFTable.Dependencies) |
27 |
|
(MemoryTable.Dependencies): New. Implement the dependencies |
28 |
|
interface |
29 |
|
|
30 |
|
* Thuban/Model/data.py (ShapeTable): New. Helper class for |
31 |
|
ShapefileStore |
32 |
|
(ShapefileStore.__init__): Use ShapeTable instead of |
33 |
|
AutoTransientTable |
34 |
|
(ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings |
35 |
|
(ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor |
36 |
|
methods for filename and type |
37 |
|
(ShapefileStore.Dependencies): New. Implement the dependencies |
38 |
|
interface |
39 |
|
(DerivedShapeStore): New class to replace SimpleStore. The main |
40 |
|
difference to SimpleStore is that it depends not on a shapefile |
41 |
|
but another shapestore which expresses the dependencies a bit |
42 |
|
better |
43 |
|
(SimpleStore.__init__): Add deprecation warning. |
44 |
|
|
45 |
|
* test/test_dbf_table.py (TestDBFTable.test_dependencies): New. |
46 |
|
Test for the Dependencies method. |
47 |
|
|
48 |
|
* test/test_memory_table.py (TestMemoryTable.test_dependencies): |
49 |
|
New. Test for the Dependencies method. |
50 |
|
|
51 |
|
* test/test_transientdb.py |
52 |
|
(TestTransientTable.test_auto_transient_table_dependencies): New. |
53 |
|
Test for the Dependencies method. |
54 |
|
(TestTransientTable.test_transient_joined_table): Add test for the |
55 |
|
Dependencies method. |
56 |
|
|
57 |
|
* test/test_session.py (TestSessionSimple.setUp) |
58 |
|
(TestSessionSimple.tearDown): New. Implement a better way to |
59 |
|
destroy the sessions. |
60 |
|
(TestSessionSimple.test_initial_state) |
61 |
|
(TestSessionSimple.test_add_table): Bind session to self.session |
62 |
|
so that it's destroyed by tearDown |
63 |
|
(TestSessionSimple.test_open_shapefile): New. Test for |
64 |
|
OpenShapefile and the object it returns |
65 |
|
|
66 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
67 |
|
|
68 |
* Thuban/Model/session.py (Session.AddTable): New method to |
* Thuban/Model/session.py (Session.AddTable): New method to |
69 |
register tables with the session. |
register tables with the session. |
70 |
(Session.Tables): Return the tables registered with AddTable too. |
(Session.Tables): Return the tables registered with AddTable too. |