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

Log of /branches/WIP-pyshapelib-bramz/Extensions/wms/test

View Directory Listing Directory Listing


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

Revision 2734 - Directory Listing
Modified Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
made a copy

Revision 2430 - Directory Listing
Modified Tue Nov 30 16:59:01 2004 UTC (20 years, 3 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Improved the test for the internal compare method


Revision 2382 - Directory Listing
Modified Mon Oct 4 17:03:29 2004 UTC (20 years, 5 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Adding more tests to verify the test routine fails with non-equal arguments


Revision 2381 - Directory Listing
Modified Mon Oct 4 16:44:05 2004 UTC (20 years, 5 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Added missing self-test


Revision 2336 - Directory Listing
Modified Fri Aug 13 16:18:46 2004 UTC (20 years, 6 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Adjusted a comment


Revision 2169 - Directory Listing
Modified Tue Apr 13 17:17:40 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
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 - Directory Listing
Modified Tue Apr 13 17:16:20 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Added a test for ignoring AUTO:* SRS


Revision 2166 - Directory Listing
Modified Tue Apr 13 16:50:14 2004 UTC (20 years, 10 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Added AUTO:* SRS since they appear in the real world as well.  Since
we cannot handle them yet (OGCLib can't either), we will ignore them
for the moment.


Revision 2143 - Directory Listing
Modified Tue Mar 30 16:30:12 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Removed test_grok method since it is not applicable anymore.  Listing
more SRSes in <SRS> elements is valid according to the specs.


Revision 2142 - Directory Listing
Modified Tue Mar 30 16:28:56 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Added a new test to ensure None is returned for a non-existing SRS.


Revision 2141 - Directory Listing
Modified Tue Mar 30 16:25:02 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
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 - Directory Listing
Modified Wed Mar 24 19:39:06 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Break lines in time


Revision 2134 - Directory Listing
Modified Wed Mar 24 19:35:21 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Added a space after a comma in arguments


Revision 2132 - Directory Listing
Modified Wed Mar 24 19:13:54 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Untypo


Revision 2131 - Directory Listing
Modified Wed Mar 24 17:56:37 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Too fast, use a method instead of directly accessing internal data


Revision 2130 - Directory Listing
Modified Wed Mar 24 17:10:41 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Remove spaces before opening parathesis


Revision 2129 - Directory Listing
Modified Wed Mar 24 17:07:08 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Adjusted the sample file so that <SRS> elements match the
<BoundingBox> elements, except for the layer 'beschriftung'


Revision 2128 - Directory Listing
Modified Wed Mar 24 17:00:37 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Added a test for finding the integrity problem in the sample response.


Revision 2127 - Directory Listing
Modified Wed Mar 24 16:59:02 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Move loading the sample file into the setUp method.


Revision 2126 - Directory Listing
Modified Wed Mar 24 16:42:45 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
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 - Directory Listing
Modified Wed Mar 24 16:38:21 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
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 - Directory Listing
Modified Wed Mar 24 16:34:13 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Need to encode non-ascii strings since Python works with unicode
strings internally, otherwise comparisons will fail.


Revision 2122 - Directory Listing
Modified Wed Mar 24 11:47:31 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Test for the domutils module


Revision 2121 - Directory Listing
Modified Fri Mar 19 19:53:07 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Nah, don't need the thubandir here, stupid me


Revision 2119 - Directory Listing
Modified Fri Mar 19 19:43:40 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Moved path detection and adding into a module of its own, adjustpath,
which exports thubandir as main Thuban directory.


Revision 2118 - Directory Listing
Modified Fri Mar 19 17:02:11 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Removed a space before an opening parenthesis


Revision 2117 - Directory Listing
Modified Fri Mar 19 17:00:17 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Moved path detection and adding into a module of its own.


Revision 2116 - Directory Listing
Modified Fri Mar 19 16:57:31 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Several improvements:

 . Moved path detection and adding into a module of its own,
   adjustpath, which exports thubandir as main Thuban directory.

 . Reorganised the module in order to support the SkipTest feature for
   Thuban test cases.

   - Adjusted the error handling for importing the ogclib from the
     PyOGCLib package.

   - The test class is no longer a specialisation of WMSClient, but
     contains an instance of this particular class and uses its
     methods instead.

   - The special setUp() method will check whether importing PyOGCLib
     worked by calling the external function skip_if_no_ogclib() and
     also create the WMSClient instance.

   - Call support.run_tests() instead of unittest.main().


Revision 2114 - Directory Listing
Modified Thu Mar 18 17:18:53 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
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.


Revision 2113 - Directory Listing
Modified Thu Mar 18 17:13:28 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Added legacy code to add the main Thuban directory to the path in
order to be able to import random modules.  Adjusted the PyOGCLib
detection to reuse the information gathered.  Also added a note about
the PYTHONPATH environment variable.  This should ensure that the test
program can now be run from outside the test directory as well.


Revision 2112 - Directory Listing
Modified Thu Mar 18 08:15:54 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
The format specification is a mime-type, not a graphic format, hence
image/jpeg wou ld be the proper format and not JPEG.  We'll also have
to take care of the encoding of / as %2F.


Revision 2109 - Directory Listing
Modified Tue Mar 16 17:28:26 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
Added a (hopefully) comprehensive test for the getMapURL method, built
compare URLs according to the documentation in OGC 01-068r3


Revision 2108 - Directory Listing
Added Tue Mar 16 14:25:34 2004 UTC (20 years, 11 months ago) by joey
Original Path: trunk/thuban/Extensions/wms/test
First set of tests for the WMS implementation


[email protected]
ViewVC Help
Powered by ViewVC 1.1.26