Files
openlayers/tests
Tim Schaub 0b26fa9a5e Making it so dictionary keys are the English values for strings displayed in the UI.
By making dictionary keys be sensible strings, we make it so the i18n function returns something legible when there are no dictionaries included in a build.  This means that strings from the Graticule, Permalink, LayerSwitcher, and Scale controls will be displayed in English without having to include the English dictionary (as is the case in our full build).

Note that if you use the OpenLayers.i18n method in your applications, five of the dictionary keys have changed.  Use the following replacements:

 * "permalink" -> "Permalink"
 * "overlays" -> "Overlays"
 * "baseLayer" -> "Base Layer"
 * "scale" -> "Scale = 1 : ${scaleDenom}"
 * "graticule" -> "Graticule"

r=ahocevar (closes #3364)



git-svn-id: http://svn.openlayers.org/trunk/openlayers@12127 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-24 20:12:12 +00:00
..
2007-12-17 02:18:04 +00:00
2008-01-20 15:32:10 +00:00

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.