Bart van den Eijnden
221292436a
add expectWithTrim to all test cases and protect numericIf against failure
2012-03-21 13:15:16 +01:00
Bart van den Eijnden
430d09eb55
incorporate review by @marcjansen
2012-03-21 12:17:44 +01:00
Bart van den Eijnden
94bd37031d
instead, add a trimWhitespace option to OpenLayers.String.numericIf as discussed with @ahocevar
2012-03-19 13:07:49 +01:00
Éric Lemoine
c58f093615
Revert "Removing camelize method."
...
This reverts commit 43ef0920c2 .
2012-03-04 23:22:21 +01:00
Tom MacWright
43ef0920c2
Removing camelize method.
2011-11-20 23:47:37 -05:00
Frédéric Junod
0123b7bba2
move the OpenLayers.Date.* from BaseTypes.js to BaseTypes/Date.js. r=erilem ( closes #3440 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12202 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-03 14:32:10 +00:00
Tim Schaub
174bd431f4
Updating the update_dev_dir script to use the tests.cfg profile. This brings in lang and console utilities.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11172 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-21 11:54:15 +00:00
pgiraud
f84f696e31
Adds the possibility to use a built version of OpenLayers for the tests, users simply have to add '?mode=build' in the run-tests.html url
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11162 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-21 10:10:25 +00:00
Tim Schaub
fc9e67318e
Adding OpenLayers.Date utility functions to parse and serialize dates. The date string format parsed complies with ECMA-262 (v5) section 15.9.1.15, derived from the profile of ISO 8601 for date and time on the Internet ( http://tools.ietf.org/html/rfc3339 ). Where available (and functional) the native date.toISOString and Date.parse methods will be used. r=ahocevar ( closes #2778 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10630 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-08-18 15:11:27 +00:00
Tim Schaub
cf81c29d31
Making OpenLayers.String.trim work for multiline strings. Thanks etdube for the patch. r=me ( closes #2034 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9255 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-04-09 19:26:42 +00:00
ahocevar
a80e1e52c2
Cast values containing numbers into Number objects in Filter and SLD
...
format to ensure correct comparison of scale denominators against map
scale and filters against features. Introduces a new
OpenLayers.String.numericIf function. r=fredj,tschaub (closes #1874 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8927 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-03-01 22:19:17 +00:00
crschmidt
b625e9f12f
Fix for "BaseTypes.String.Format does not support sub-elements", patch + tests
...
from rdewit, r=me, (Closes #1956 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8900 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-02-27 00:44:20 +00:00
Tim Schaub
8773d98834
Adding OL.String.isNumeric method to test for numeric strings. r=crschmidt ( closes #1441 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7451 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-06-25 20:37:29 +00:00
euzuro
3e348f450e
fix up tests, remove _01_. ( Closes #1387 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6724 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-03-31 05:31:28 +00:00
crschmidt
0244858054
bring back r6710 now that popup changes are in
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6719 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-03-31 05:03:49 +00:00
crschmidt
69ca5c7fdd
Revert r6710: The new popup coe is going to need to change tests, so this
...
needs to wait.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6711 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-03-31 02:12:03 +00:00
crschmidt
02bbd43687
Since we've now completed all the work that is including new tests in 2.6, move
...
tests around. (See #1387 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6710 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-03-31 01:57:38 +00:00