798d2b2cb7
When a vector layer is exported to an OWSContext document, we throw an exception when the layer contains no features, and the geometries are to be exported inside of an InlineGeometry-element. This commit fixes this behaviour by exporting sth. like this in such cases: <Layer name="vector" hidden="0">i <ows:Title xmlns:ows="http://www.opengis.net/ows"/> <InlineGeometry/> </Layer>
This directory contains unit tests for the OpenLayers library.
Tests use the Test.AnotherWay library from <http://openjsan.org>. The test
runner is 'run-tests.html' and new test files need to be added to
'list-tests.html'.
The following file naming conventions are used:
* A filename that starts with `test_` and has an `.html` extension
contains tests. These should contain tests for a specific class.
* A filename starting with `page_` and has an `.html` extension is a
supporting HTML file used in one or more tests.
* A filename starting with 'data_` is a supporting data file used in one
or more tests.