1 |
|
2003-10-31 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/classification.py (Classification.SetDefaultGroup): |
4 |
|
Send a CLASS_CHANGED message |
5 |
|
(Classification.RemoveGroup): Send a CLASS_CHANGED message and do |
6 |
|
not return the removed group since it wasn't used. |
7 |
|
|
8 |
|
* test/test_classification.py |
9 |
|
(TestClassification.test_set_default_group): New. Test the |
10 |
|
SetDefaultGroup method |
11 |
|
(TestClassification.test_insert_group): New. Test the InsertGroup |
12 |
|
method |
13 |
|
(TestClassification.test_remove_group): New. Test the RemoveGroup |
14 |
|
method |
15 |
|
(TestClassification.test_replace_group): New. Test the |
16 |
|
ReplaceGroup method |
17 |
|
|
18 |
|
2003-10-31 Bernhard Herzog <[email protected]> |
19 |
|
|
20 |
|
* test/test_classification.py (TestClassification.setUp): |
21 |
|
Subscribe to the CLASS_CHANGED messages |
22 |
|
(TestClassification.tearDown): New. Destroy the classification |
23 |
|
properly |
24 |
|
(TestClassification.test_defaults): Add tests for the default line |
25 |
|
width and whether no messages were sent yet |
26 |
|
(TestClassification.test_set_default_properties): Add tests for |
27 |
|
messages and setting the default line width |
28 |
|
(TestClassification.test_add_singleton) |
29 |
|
(TestClassification.test_add_range) |
30 |
|
(TestClassification.test_multiple_groups): Add tests for messages |
31 |
|
|
32 |
|
2003-10-31 Bernhard Herzog <[email protected]> |
33 |
|
|
34 |
|
Some more refactoring in preparation for new tests: |
35 |
|
|
36 |
|
* test/test_classification.py (TestClassification.setUp): New. |
37 |
|
Instantiate the classification here. Update the test methods |
38 |
|
accordingly. |
39 |
|
(TestClassification.test_multiple_groups): Make sure that the two |
40 |
|
singletons matching 1 are considered different. |
41 |
|
|
42 |
|
2003-10-31 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
* test/test_classification.py (red, green, blue): New. These |
45 |
|
constants were used in several cases. Update the relevant methods. |
46 |
|
(TestClassification.test_defaults) |
47 |
|
(TestClassification.test_set_default_properties) |
48 |
|
(TestClassification.test_add_singleton) |
49 |
|
(TestClassification.test_add_range) |
50 |
|
(TestClassification.test_multiple_groups) |
51 |
|
(TestClassification.test_deepcopy): New. These were formerly all |
52 |
|
part of the single method test. |
53 |
|
(TestClassification.test_deepcopy): Removed. |
54 |
|
(TestClassIterator): Removed. The test case is now a method of |
55 |
|
TestClassification since it tests part of the public interface of |
56 |
|
Classification |
57 |
|
(TestClassification.test_iterator): New. Used to be |
58 |
|
TestClassIterator effectively |
59 |
|
|
60 |
|
2003-10-31 Jan-Oliver Wagner <[email protected]> |
61 |
|
|
62 |
|
GUIfied the functions of the profiling extension. |
63 |
|
|
64 |
|
* /Extensions/profiling/__init__.py: New: Init to make this |
65 |
|
directory a package. |
66 |
|
|
67 |
|
* Extensions/profiling/profiling.py: Moved menu entries to |
68 |
|
the Extensions menu. Applied _() for strings. |
69 |
|
(profile_screen_renderer): Catch the detailed printout and present |
70 |
|
it in a dialog. |
71 |
|
(time_screen_renderer): Raise a dialog to present the result instead |
72 |
|
of printing it to stdout. |
73 |
|
|
74 |
|
2003-10-31 Bernhard Herzog <[email protected]> |
75 |
|
|
76 |
|
* test/test_classification.py (TestClassGroupProperties) |
77 |
|
(TestClassGroup, TestClassGroupDefault, TestClassGroupRange) |
78 |
|
(TestClassGroupSingleton, TestClassIterator, TestClassification): |
79 |
|
Split TestClassification into several classes, one for each class |
80 |
|
being tested. TestClassification itself now only tests |
81 |
|
Classification. This split makes changes to the tests a bit easier |
82 |
|
|
83 |
|
2003-10-31 Bernhard Herzog <[email protected]> |
84 |
|
|
85 |
|
* Extensions/profiling/profiling.py: New. Extension to measure |
86 |
|
Thuban performance |
87 |
|
|
88 |
|
2003-10-31 Frank Koormann <[email protected]> |
89 |
|
|
90 |
|
Added two items to legend popup menu: Remove Layer and Show Layer Table |
91 |
|
|
92 |
|
* Thuban/UI/legend.py (LegendPanel._OnRemoveLayer, |
93 |
|
LegendPanel._OnShowTable): New event handlers, call the corresponding |
94 |
|
mainwindow methods. |
95 |
|
(LegendTree._OnRightClick): Added items to popup menu. |
96 |
|
|
97 |
2003-10-30 Bernhard Herzog <[email protected]> |
2003-10-30 Bernhard Herzog <[email protected]> |
98 |
|
|
99 |
* Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle |
* Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle |