1 |
|
2003-10-06 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_viewport.py (MockView): New class derived from |
4 |
|
ViewPort with a mock implementation of GetTextExtent to be used in |
5 |
|
the test cases |
6 |
|
(ViewPortTest.setUp): Use MockView instead of ViewPort |
7 |
|
|
8 |
|
* Thuban/UI/viewport.py (ViewPort.GetTextExtent): Turn this method |
9 |
|
into what would be a "pure virtual function" in C++: always raise |
10 |
|
NotImplementedError. Mock implementations for test cases don't |
11 |
|
belong into the real code |
12 |
|
|
13 |
2003-10-02 Bernhard Herzog <[email protected]> |
2003-10-02 Bernhard Herzog <[email protected]> |
14 |
|
|
15 |
* test/test_layer.py (TestLayer.test_empty_layer): Explicitly |
* test/test_layer.py (TestLayer.test_empty_layer): Explicitly |