diff options
author | Chris Schlaeger <chris@linux.com> | 2015-10-17 21:36:38 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2015-10-17 21:36:38 +0200 |
commit | e30f267181d990947e67909de4809fa941698c85 (patch) | |
tree | 46e9f94c2b3699ed378963b420b8a8d361286ea1 /misc/openlayers/tests/Console.html | |
parent | e763ceb183f389fcd314a4a6a712d87c9d4cdb32 (diff) | |
download | postrunner-e30f267181d990947e67909de4809fa941698c85.zip |
Upgrading openlayers to 3.x
Diffstat (limited to 'misc/openlayers/tests/Console.html')
-rw-r--r-- | misc/openlayers/tests/Console.html | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/misc/openlayers/tests/Console.html b/misc/openlayers/tests/Console.html deleted file mode 100644 index 48b27c2..0000000 --- a/misc/openlayers/tests/Console.html +++ /dev/null @@ -1,39 +0,0 @@ -<html> -<head> - <script src="OLLoader.js"></script> - <script type="text/javascript"> - function test_Console(t) { - - /** - * These tests only assure that OpenLayers works when not - * in debug mode. It means that calls to OpenLayers.Console - * will not do anything in this case. When OpenLayers is in - * debug mode, we assume that the Firebug extension or Firebug Lite - * works as advertised. - */ - - // supported OpenLayers.Console methods - var methods = ['log', 'debug', 'info', 'warn', 'error', 'assert', - 'dir', 'dirxml', 'trace', 'group', 'groupEnd', 'time', - 'timeEnd', 'profile', 'profileEnd', 'count']; - - t.plan(methods.length * 2); - - var nothing, method; - for(var i=0; i<methods.length; ++i) { - method = OpenLayers.Console[methods[i]]; - t.ok(method, - "OpenLayers.Console." + methods[i] + " exists"); - nothing = OpenLayers.Console[methods[i]](); - t.eq(nothing, null, - "OpenLayers.Console." + methods[i] + "() " + - "call is harmless when not in debug mode"); - } - - } - - </script> -</head> -<body> -</body> -</html> |