cbc4f4e422
minScale and maxScale values of 0 and Infinity do not make sense in OpenLayers, but they are used in WMS GetCapabilities 1.1.1 to indicate that there is no minScale or maxScale restriction. Assuming that the capability values for minScale and maxScale are passed as config options to a WMS layer, it is better to not set minScale and maxScale when 0 or Infinity are found in the ScaleHint.
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.