From 4b015f99622cd9db3140b967f0e83d7b6dc36bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 24 Sep 2012 18:15:30 +0200 Subject: [PATCH] add Jasmine tests for ol.Object --- test/ol.html | 29 +-- test/spec/ol/object.test.js | 369 ++++++++++++++++++++++++++++++++++++ 2 files changed, 372 insertions(+), 26 deletions(-) create mode 100644 test/spec/ol/object.test.js diff --git a/test/ol.html b/test/ol.html index c5bd94291e..6c1e3afaab 100644 --- a/test/ol.html +++ b/test/ol.html @@ -22,7 +22,7 @@ // // - mode // which mode of compilation should be applied. Common values for this are -// RAW, SIMPLE or ADVANCED. If not provided, SIMPLE is used. +// RAW, SIMPLE or ADVANCED. If not provided, RAW is used. (function(doc, l){ var hostRegex = /[\\?&]host=([^&#]*)/, modeRegex = /[\\?&]mode=([^&#]*)/, @@ -35,7 +35,7 @@ : 'localhost:9810', mode = (modeResult && modeResult[1]) ? decodeURIComponent(modeResult[1]) - : 'SIMPLE', + : 'RAW', // Create the script tag which includes the derived variables from above script = ' - - - - - - - - - - - - - - - - - - - - - - - - +