/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/wms/test/test_parser.py
ViewVC logotype

Log of /branches/WIP-pyshapelib-bramz/Extensions/wms/test/test_parser.py

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2835)

Revision 2734 - (view) (annotate) - [select for diffs]
Modified Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
File length: 10916 byte(s)
Diff to previous 2382
made a copy

Revision 2382 - (view) (annotate) - [select for diffs]
Modified Mon Oct 4 17:03:29 2004 UTC (20 years, 5 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 10916 byte(s)
Diff to previous 2381
Adding more tests to verify the test routine fails with non-equal arguments


Revision 2381 - (view) (annotate) - [select for diffs]
Modified Mon Oct 4 16:44:05 2004 UTC (20 years, 5 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 10454 byte(s)
Diff to previous 2169
Added missing self-test


Revision 2169 - (view) (annotate) - [select for diffs]
Modified Tue Apr 13 17:17:40 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 9202 byte(s)
Diff to previous 2168
Looks like I misinterpreted the specs.

First of all, a <BoundingBox> element does not have to be specified.
This could cause the program to fail if later a bbox will be requested
which wasn't defined in the Capabilities XML.

Secondly, since EPSG:3426 is the implicit spatial reference system for
<LatLonBoundingBox> its values should be returned if the client
requests a bounding box for SRS EPSG:3426, even if no <BoundingBox>
was defined for EPSG:3426.

Therefore added another test method to ensure the LatLonBoundingBox
values will be returned if the request SRS is EPSG:3426.


Revision 2168 - (view) (annotate) - [select for diffs]
Modified Tue Apr 13 17:16:20 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8391 byte(s)
Diff to previous 2143
Added a test for ignoring AUTO:* SRS


Revision 2143 - (view) (annotate) - [select for diffs]
Modified Tue Mar 30 16:30:12 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8265 byte(s)
Diff to previous 2142
Removed test_grok method since it is not applicable anymore.  Listing
more SRSes in <SRS> elements is valid according to the specs.


Revision 2142 - (view) (annotate) - [select for diffs]
Modified Tue Mar 30 16:28:56 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8503 byte(s)
Diff to previous 2141
Added a new test to ensure None is returned for a non-existing SRS.


Revision 2141 - (view) (annotate) - [select for diffs]
Modified Tue Mar 30 16:25:02 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8391 byte(s)
Diff to previous 2135
Adjust the tests to reflect the corrected interpretation of the
standard: i.e. a layer does not have to define a BoundingBox for all
SRSes it supports.  Hence the <SRS></SRS> specification is
authoritative, not the list of BoundingBoxes.


Revision 2135 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 19:39:06 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8347 byte(s)
Diff to previous 2134
Break lines in time


Revision 2134 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 19:35:21 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8215 byte(s)
Diff to previous 2132
Added a space after a comma in arguments


Revision 2132 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 19:13:54 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8055 byte(s)
Diff to previous 2131
Untypo


Revision 2131 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 17:56:37 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8053 byte(s)
Diff to previous 2130
Too fast, use a method instead of directly accessing internal data


Revision 2130 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 17:10:41 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8049 byte(s)
Diff to previous 2128
Remove spaces before opening parathesis


Revision 2128 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 17:00:37 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8099 byte(s)
Diff to previous 2127
Added a test for finding the integrity problem in the sample response.


Revision 2127 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 16:59:02 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 7866 byte(s)
Diff to previous 2126
Move loading the sample file into the setUp method.


Revision 2126 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 16:42:45 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8262 byte(s)
Diff to previous 2125
SRS are stored in strings and Python has strong typechecking, so a
number is either a cardinal number or a string, but the string has to
be enclosed in quotes, different to how Perl works, my fault.


Revision 2125 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 16:38:21 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8360 byte(s)
Diff to previous 2124
We don't need getLayerBBoxSRS() anymore since the SRS is calculated
from the BoundingBoxes anyway in order to provide correct information,
hence this routine is obsoleted by getLayerSRS().


Revision 2124 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 16:34:13 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8858 byte(s)
Diff to previous 2121
Need to encode non-ascii strings since Python works with unicode
strings internally, otherwise comparisons will fail.


Revision 2121 - (view) (annotate) - [select for diffs]
Modified Fri Mar 19 19:53:07 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8766 byte(s)
Diff to previous 2119
Nah, don't need the thubandir here, stupid me


Revision 2119 - (view) (annotate) - [select for diffs]
Modified Fri Mar 19 19:43:40 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 8781 byte(s)
Diff to previous 2114
Moved path detection and adding into a module of its own, adjustpath,
which exports thubandir as main Thuban directory.


Revision 2114 - (view) (annotate) - [select for diffs]
Added Thu Mar 18 17:18:53 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test/test_parser.py
File length: 9079 byte(s)
Added another test for checking whether the WMS XML parser (to be
implemented) returns the information we expect.  This requires a
sample WMS WML file (sample.xml) which has been extracted from the
frida <http://frida.intevation.org/> server and "improved" manually.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26