Put test requires on top
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.array');
|
||||
|
||||
goog.require('ol.array');
|
||||
|
||||
|
||||
describe('ol.array', function() {
|
||||
|
||||
describe('binarySearch', function() {
|
||||
@@ -589,5 +592,3 @@ describe('ol.array', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.array');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.Collection');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Collection');
|
||||
|
||||
|
||||
describe('ol.collection', function() {
|
||||
var collection;
|
||||
|
||||
@@ -282,7 +286,3 @@ describe('ol.collection', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Collection');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.color');
|
||||
|
||||
goog.require('ol.color');
|
||||
|
||||
|
||||
describe('ol.color', function() {
|
||||
|
||||
@@ -151,6 +153,3 @@ describe('ol.color', function() {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.color');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.control.Control');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.control.Control');
|
||||
|
||||
describe('ol.control.Control', function() {
|
||||
var map, control;
|
||||
|
||||
@@ -49,6 +52,3 @@ describe('ol.control.Control\'s target', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.control.Control');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.control.FullScreen');
|
||||
|
||||
goog.require('ol.control.FullScreen');
|
||||
|
||||
describe('ol.control.FullScreen', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +14,3 @@ describe('ol.control.FullScreen', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.control.FullScreen');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.control.MousePosition');
|
||||
|
||||
goog.require('ol.control.MousePosition');
|
||||
|
||||
describe('ol.control.MousePosition', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -21,5 +23,3 @@ describe('ol.control.MousePosition', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.control.MousePosition');
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
goog.provide('ol.test.control.OverviewMap');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.control.Control');
|
||||
goog.require('ol.control.OverviewMap');
|
||||
|
||||
describe('ol.control.OverviewMap', function() {
|
||||
var map, target;
|
||||
|
||||
@@ -85,8 +90,3 @@ describe('ol.control.OverviewMap', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.control.Control');
|
||||
goog.require('ol.control.OverviewMap');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.control.Rotate');
|
||||
|
||||
goog.require('ol.control.Rotate');
|
||||
|
||||
describe('ol.control.Rotate', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +14,3 @@ describe('ol.control.Rotate', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.control.Rotate');
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
goog.provide('ol.test.control.ScaleLine');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.control.ScaleLine');
|
||||
goog.require('ol.proj');
|
||||
|
||||
describe('ol.control.ScaleLine', function() {
|
||||
var mapDiv;
|
||||
var map;
|
||||
@@ -344,9 +349,3 @@ describe('ol.control.ScaleLine', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.control.ScaleLine');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.control.Zoom');
|
||||
|
||||
goog.require('ol.control.Zoom');
|
||||
|
||||
describe('ol.control.Zoom', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +14,3 @@ describe('ol.control.Zoom', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.control.Zoom');
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
/*global createMapDiv, disposeMap*/
|
||||
goog.provide('ol.test.control.ZoomSlider');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.control.ZoomSlider');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
|
||||
describe('ol.control.ZoomSlider', function() {
|
||||
var map, target, zoomslider;
|
||||
|
||||
@@ -170,8 +175,3 @@ describe('ol.control.ZoomSlider', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.control.ZoomSlider');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.control.ZoomToExtent');
|
||||
|
||||
goog.require('ol.control.ZoomToExtent');
|
||||
|
||||
describe('ol.control.ZoomToExtent', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +14,3 @@ describe('ol.control.ZoomToExtent', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.control.ZoomToExtent');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.coordinate');
|
||||
|
||||
goog.require('ol.coordinate');
|
||||
|
||||
|
||||
describe('ol.coordinate', function() {
|
||||
|
||||
describe('#add', function() {
|
||||
@@ -248,5 +251,3 @@ describe('ol.coordinate', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.coordinate');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.DeviceOrientation');
|
||||
|
||||
goog.require('ol.DeviceOrientation');
|
||||
|
||||
|
||||
describe('ol.DeviceOrientation', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +15,3 @@ describe('ol.DeviceOrientation', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.DeviceOrientation');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.Disposable');
|
||||
|
||||
goog.require('ol.Disposable');
|
||||
|
||||
|
||||
describe('ol.Disposable', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -41,5 +44,3 @@ describe('ol.Disposable', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Disposable');
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
/*global Modernizr*/
|
||||
goog.provide('ol.test.dom');
|
||||
|
||||
goog.require('goog.userAgent');
|
||||
goog.require('ol.transform');
|
||||
goog.require('ol.dom');
|
||||
|
||||
/*! modernizr 3.3.1 (Custom Build) | MIT
|
||||
*
|
||||
@@ -562,7 +565,3 @@ describe('ol.dom', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('goog.userAgent');
|
||||
goog.require('ol.transform');
|
||||
goog.require('ol.dom');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.events');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventTarget');
|
||||
|
||||
|
||||
describe('ol.events', function() {
|
||||
var add, remove, target;
|
||||
@@ -219,7 +222,3 @@ describe('ol.events', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventTarget');
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
goog.provide('ol.test.events.Event');
|
||||
|
||||
goog.require('ol.events.Event');
|
||||
|
||||
describe('ol.events.Event', function() {
|
||||
|
||||
@@ -47,6 +48,3 @@ describe('ol.events.Event', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.events.Event');
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
goog.provide('ol.test.events.EventTarget');
|
||||
|
||||
goog.require('ol.Disposable');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.events.EventTarget');
|
||||
|
||||
|
||||
describe('ol.events.EventTarget', function() {
|
||||
var called, events, eventTarget, spy1, spy2, spy3;
|
||||
@@ -158,9 +163,3 @@ describe('ol.events.EventTarget', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Disposable');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.events.EventTarget');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.extent');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.proj');
|
||||
|
||||
|
||||
describe('ol.extent', function() {
|
||||
|
||||
describe('buffer', function() {
|
||||
@@ -862,7 +866,3 @@ describe('ol.extent', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.Feature');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.style.Style');
|
||||
|
||||
|
||||
describe('ol.Feature', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -460,9 +466,3 @@ describe('ol.Feature.createStyleFunction()', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.style.Style');
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
goog.provide('ol.test.featureloader');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.VectorTile');
|
||||
goog.require('ol.featureloader');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
goog.require('ol.format.MVT');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
|
||||
describe('ol.featureloader', function() {
|
||||
|
||||
describe('ol.featureloader.xhr', function() {
|
||||
@@ -92,11 +101,3 @@ describe('ol.featureloader', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.VectorTile');
|
||||
goog.require('ol.featureloader');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
goog.require('ol.format.MVT');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
goog.provide('ol.test.reader.EsriJSON');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.format.EsriJSON');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
|
||||
|
||||
describe('ol.format.EsriJSON', function() {
|
||||
|
||||
@@ -1054,16 +1066,3 @@ describe('ol.format.EsriJSON', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.format.EsriJSON');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
goog.provide('ol.test.reader.GeoJSON');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
|
||||
|
||||
describe('ol.format.GeoJSON', function() {
|
||||
|
||||
@@ -769,16 +781,3 @@ describe('ol.format.GeoJSON', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
goog.provide('ol.test.format.GML');
|
||||
|
||||
goog.require('ol.format.GML');
|
||||
goog.require('ol.format.GML2');
|
||||
goog.require('ol.format.GML3');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.xml');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
|
||||
var readGeometry = function(format, text, opt_options) {
|
||||
var doc = ol.xml.parse(text);
|
||||
// we need an intermediate node for testing purposes
|
||||
@@ -1254,17 +1267,3 @@ describe('ol.format.GML3', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.format.GML');
|
||||
goog.require('ol.format.GML2');
|
||||
goog.require('ol.format.GML3');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.xml');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
goog.provide('ol.test.format.GPX');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.GPX');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.xml');
|
||||
|
||||
describe('ol.format.GPX', function() {
|
||||
|
||||
var format;
|
||||
@@ -673,13 +682,3 @@ describe('ol.format.GPX', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.GPX');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.xml');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.format.IGC');
|
||||
|
||||
goog.require('ol.format.IGC');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.proj');
|
||||
|
||||
|
||||
describe('ol.format.IGC', function() {
|
||||
|
||||
@@ -130,7 +134,3 @@ describe('ol.format.IGC', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.format.IGC');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,27 @@
|
||||
goog.provide('ol.test.format.KML');
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
goog.require('ol.format.KML');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Icon');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.Projection');
|
||||
goog.require('ol.style.Stroke');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Text');
|
||||
goog.require('ol.xml');
|
||||
|
||||
|
||||
describe('ol.format.KML', function() {
|
||||
|
||||
@@ -2867,26 +2889,3 @@ describe('ol.format.KML', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
goog.require('ol.format.KML');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Icon');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.Projection');
|
||||
goog.require('ol.style.Stroke');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Text');
|
||||
goog.require('ol.xml');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.format.MVT');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.ext.pbf');
|
||||
goog.require('ol.ext.vectortile');
|
||||
goog.require('ol.format.MVT');
|
||||
goog.require('ol.render.Feature');
|
||||
|
||||
where('ArrayBuffer').describe('ol.format.MVT', function() {
|
||||
|
||||
var data;
|
||||
@@ -77,10 +83,3 @@ where('ArrayBuffer').describe('ol.format.MVT', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.ext.pbf');
|
||||
goog.require('ol.ext.vectortile');
|
||||
goog.require('ol.format.MVT');
|
||||
goog.require('ol.render.Feature');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.format.OSMXML');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.OSMXML');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.proj');
|
||||
|
||||
|
||||
describe('ol.format.OSMXML', function() {
|
||||
|
||||
@@ -107,10 +113,3 @@ describe('ol.format.OSMXML', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.OSMXML');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
goog.provide('ol.test.format.OWS');
|
||||
|
||||
goog.require('ol.format.OWS');
|
||||
goog.require('ol.xml');
|
||||
|
||||
|
||||
describe('ol.format.OWS 1.1', function() {
|
||||
|
||||
var parser = new ol.format.OWS();
|
||||
@@ -152,5 +154,3 @@ describe('ol.format.OWS 1.1', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.format.OWS');
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
goog.provide('ol.test.format.Polyline');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.Polyline');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.proj');
|
||||
|
||||
describe('ol.format.Polyline', function() {
|
||||
|
||||
var format;
|
||||
@@ -396,8 +401,3 @@ describe('ol.format.Polyline', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.Polyline');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
goog.provide('ol.test.format.TopoJSON');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.format.Feature');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.format.TopoJSON');
|
||||
|
||||
var aruba = {
|
||||
type: 'Topology',
|
||||
transform: {
|
||||
@@ -172,10 +179,3 @@ describe('ol.format.TopoJSON', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.format.Feature');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.format.TopoJSON');
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
goog.provide('ol.test.format.WFS');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.GML2');
|
||||
goog.require('ol.format.WFS');
|
||||
goog.require('ol.format.ogc.filter');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.xml');
|
||||
|
||||
describe('ol.format.WFS', function() {
|
||||
|
||||
@@ -964,14 +974,3 @@ describe('ol.format.WFS', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.xml');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.format.GML2');
|
||||
goog.require('ol.format.WFS');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.format.WKT');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.format.WKT');
|
||||
goog.require('ol.proj');
|
||||
|
||||
|
||||
describe('ol.format.WKT', function() {
|
||||
|
||||
var format = new ol.format.WKT();
|
||||
@@ -427,8 +433,3 @@ describe('ol.format.WKT', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.format.WKT');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.format.WMSCapabilities');
|
||||
|
||||
goog.require('ol.format.WMSCapabilities');
|
||||
|
||||
describe('ol.format.WMSCapabilities', function() {
|
||||
|
||||
describe('when parsing ogcsample.xml', function() {
|
||||
@@ -144,5 +146,3 @@ describe('ol.format.WMSCapabilities', function() {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.format.WMSCapabilities');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.format.WMSGetFeatureInfo');
|
||||
|
||||
goog.require('ol.format.WMSGetFeatureInfo');
|
||||
|
||||
|
||||
describe('ol.format.WMSGetFeatureInfo', function() {
|
||||
|
||||
describe('#readFormat', function() {
|
||||
@@ -213,6 +216,3 @@ describe('ol.format.WMSGetFeatureInfo', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.format.WMSGetFeatureInfo');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.format.WMTSCapabilities');
|
||||
|
||||
goog.require('ol.format.WMTSCapabilities');
|
||||
|
||||
|
||||
describe('ol.format.WMTSCapabilities', function() {
|
||||
|
||||
describe('when parsing ogcsample.xml', function() {
|
||||
@@ -113,5 +116,3 @@ describe('ol.format.WMTSCapabilities', function() {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.format.WMTSCapabilities');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.XSD');
|
||||
|
||||
goog.require('ol.format.XSD');
|
||||
|
||||
|
||||
describe('ol.format.XSD', function() {
|
||||
|
||||
describe('readDateTime', function() {
|
||||
@@ -12,5 +15,3 @@ describe('ol.format.XSD', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.format.XSD');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.Geolocation');
|
||||
|
||||
goog.require('ol.Geolocation');
|
||||
|
||||
|
||||
describe('ol.Geolocation', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +15,3 @@ describe('ol.Geolocation', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Geolocation');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.geom.Circle');
|
||||
|
||||
goog.require('ol.geom.Circle');
|
||||
|
||||
|
||||
describe('ol.geom.Circle', function() {
|
||||
|
||||
@@ -273,6 +275,3 @@ describe('ol.geom.Circle', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.Circle');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.geom.flat.area');
|
||||
|
||||
goog.require('ol.geom.flat.area');
|
||||
|
||||
describe('ol.geom.flat.area', function() {
|
||||
|
||||
describe('ol.geom.flat.area.linearRing', function() {
|
||||
@@ -28,5 +30,3 @@ describe('ol.geom.flat.area', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.area');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.geom.flat.center');
|
||||
|
||||
goog.require('ol.geom.flat.center');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
|
||||
|
||||
describe('ol.geom.flat.center', function() {
|
||||
|
||||
describe('ol.geom.flat.center.linearRingss', function() {
|
||||
@@ -52,6 +56,3 @@ describe('ol.geom.flat.center', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.center');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.geom.flat.closest');
|
||||
|
||||
goog.require('ol.geom.flat.closest');
|
||||
|
||||
|
||||
describe('ol.geom.flat.closest', function() {
|
||||
|
||||
@@ -141,6 +143,3 @@ describe('ol.geom.flat.closest', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.closest');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.deflate');
|
||||
|
||||
goog.require('ol.geom.flat.deflate');
|
||||
|
||||
|
||||
describe('ol.geom.flat.deflate', function() {
|
||||
|
||||
describe('ol.geom.flat.deflate.coordinates', function() {
|
||||
@@ -35,5 +38,3 @@ describe('ol.geom.flat.deflate', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.deflate');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.flip');
|
||||
|
||||
goog.require('ol.geom.flat.flip');
|
||||
|
||||
|
||||
describe('ol.geom.flat.flip', function() {
|
||||
|
||||
describe('ol.geom.flat.flip.flipXY', function() {
|
||||
@@ -34,5 +37,3 @@ describe('ol.geom.flat.flip', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.flip');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.inflate');
|
||||
|
||||
goog.require('ol.geom.flat.inflate');
|
||||
|
||||
|
||||
describe('ol.geom.flat.inflate', function() {
|
||||
|
||||
describe('ol.geom.flat.inflate.coordinates', function() {
|
||||
@@ -22,5 +25,3 @@ describe('ol.geom.flat.inflate', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.inflate');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.interpolate');
|
||||
|
||||
goog.require('ol.geom.flat.interpolate');
|
||||
|
||||
|
||||
describe('ol.geom.flat.interpolate', function() {
|
||||
|
||||
describe('ol.geom.flat.interpolate.lineString', function() {
|
||||
@@ -77,5 +80,3 @@ describe('ol.geom.flat.interpolate', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.interpolate');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.intersectsextent');
|
||||
|
||||
goog.require('ol.geom.flat.intersectsextent');
|
||||
|
||||
|
||||
describe('ol.geom.flat.intersectsextent', function() {
|
||||
|
||||
describe('ol.geom.flat.intersectsextent.lineString', function() {
|
||||
@@ -89,5 +92,3 @@ describe('ol.geom.flat.intersectsextent', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.intersectsextent');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.length');
|
||||
|
||||
goog.require('ol.geom.flat.length');
|
||||
|
||||
|
||||
describe('ol.geom.flat.length', function() {
|
||||
|
||||
describe('ol.geom.flat.length.lineString', function() {
|
||||
@@ -90,5 +93,3 @@ describe('ol.geom.flat.length', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.length');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.orient');
|
||||
|
||||
goog.require('ol.geom.flat.orient');
|
||||
|
||||
|
||||
describe('ol.geom.flat.orient', function() {
|
||||
|
||||
describe('ol.geom.flat.orient.linearRingIsClockwise()', function() {
|
||||
@@ -158,5 +161,3 @@ describe('ol.geom.flat.orient', function() {
|
||||
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.orient');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.reverse');
|
||||
|
||||
goog.require('ol.geom.flat.reverse');
|
||||
|
||||
|
||||
describe('ol.geom.flat.reverse', function() {
|
||||
|
||||
describe('ol.geom.flat.reverse.coordinates', function() {
|
||||
@@ -126,5 +129,3 @@ describe('ol.geom.flat.reverse', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.reverse');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.flat.segments');
|
||||
|
||||
goog.require('ol.geom.flat.segments');
|
||||
|
||||
|
||||
describe('ol.geom.flat.segments', function() {
|
||||
|
||||
describe('ol.geom.flat.segments.forEach', function() {
|
||||
@@ -53,5 +56,3 @@ describe('ol.geom.flat.segments', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.geom.flat.segments');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.geom.simplify');
|
||||
|
||||
goog.require('ol.geom.flat.simplify');
|
||||
|
||||
|
||||
describe('ol.geom.flat.simplify', function() {
|
||||
|
||||
@@ -353,6 +355,3 @@ describe('ol.geom.flat.simplify', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.simplify');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.geom.flat.transform');
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.flat.transform');
|
||||
|
||||
|
||||
describe('ol.geom.flat.transform', function() {
|
||||
|
||||
describe('ol.geom.flat.transform.transform2D', function() {
|
||||
@@ -127,6 +131,3 @@ describe('ol.geom.flat.transform', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.flat.transform');
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
goog.provide('ol.test.geom.GeometryCollection');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
describe('ol.geom.GeometryCollection', function() {
|
||||
|
||||
@@ -237,10 +242,3 @@ describe('ol.geom.GeometryCollection', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.LineString');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
|
||||
|
||||
describe('ol.geom.LineString', function() {
|
||||
|
||||
@@ -443,7 +446,3 @@ describe('ol.geom.LineString', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.geom.MultiLineString');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
|
||||
|
||||
describe('ol.geom.MultiLineString', function() {
|
||||
|
||||
@@ -355,8 +359,3 @@ describe('ol.geom.MultiLineString', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.geom.MultiPoint');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
|
||||
describe('ol.geom.MultiPoint', function() {
|
||||
|
||||
@@ -286,8 +290,3 @@ describe('ol.geom.MultiPoint', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.MultiPolygon');
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
|
||||
describe('ol.geom.MultiPolygon', function() {
|
||||
|
||||
@@ -193,7 +196,3 @@ describe('ol.geom.MultiPolygon', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.geom.Point');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
|
||||
describe('ol.geom.Point', function() {
|
||||
|
||||
@@ -216,7 +219,3 @@ describe('ol.geom.Point', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
goog.provide('ol.test.geom.Polygon');
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
|
||||
describe('ol.geom.Polygon', function() {
|
||||
|
||||
@@ -583,9 +588,3 @@ describe('ol.geom.Polygon', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.LinearRing');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.Graticule');
|
||||
|
||||
goog.require('ol.Graticule');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
|
||||
describe('ol.Graticule', function() {
|
||||
var graticule;
|
||||
|
||||
@@ -46,8 +52,3 @@ describe('ol.Graticule', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Graticule');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
goog.provide('ol.test.ImageTile');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventType');
|
||||
goog.require('ol.source.Image');
|
||||
goog.require('ol.ImageTile');
|
||||
goog.require('ol.TileState');
|
||||
|
||||
|
||||
describe('ol.ImageTile', function() {
|
||||
|
||||
describe('#load()', function() {
|
||||
@@ -57,9 +64,3 @@ describe('ol.ImageTile', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventType');
|
||||
goog.require('ol.source.Image');
|
||||
goog.require('ol.ImageTile');
|
||||
goog.require('ol.TileState');
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
goog.provide('ol.test.interaction.DragAndDrop');
|
||||
|
||||
goog.require('ol.interaction.DragAndDrop');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
|
||||
|
||||
describe('ol.interaction.DragAndDrop', function() {
|
||||
var viewport, map, interaction;
|
||||
|
||||
@@ -108,9 +115,3 @@ describe('ol.interaction.DragAndDrop', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.interaction.DragAndDrop');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.interaction.DragRotateAndZoom');
|
||||
|
||||
goog.require('ol.interaction.DragRotateAndZoom');
|
||||
|
||||
describe('ol.interaction.DragRotateAndZoom', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +14,3 @@ describe('ol.interaction.DragRotateAndZoom', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.interaction.DragRotateAndZoom');
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
goog.provide('ol.test.interaction.DragZoom');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.DragZoom');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.render.Box');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
|
||||
describe('ol.interaction.DragZoom', function() {
|
||||
|
||||
var target, map, source;
|
||||
@@ -106,12 +116,3 @@ describe('ol.interaction.DragZoom', function() {
|
||||
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.DragZoom');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.render.Box');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
@@ -1,5 +1,25 @@
|
||||
goog.provide('ol.test.interaction.Draw');
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.Draw');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
|
||||
describe('ol.interaction.Draw', function() {
|
||||
var target, map, source;
|
||||
|
||||
@@ -859,22 +879,3 @@ describe('ol.interaction.Draw', function() {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.Draw');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
goog.provide('ol.test.interaction.Interaction');
|
||||
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
|
||||
|
||||
describe('ol.interaction.Interaction', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -54,7 +59,3 @@ describe('ol.interaction.Interaction', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
/*global createMapDiv, disposeMap*/
|
||||
goog.provide('ol.test.interaction.KeyboardPan');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.interaction.KeyboardPan');
|
||||
|
||||
|
||||
describe('ol.interaction.KeyboardPan', function() {
|
||||
var map;
|
||||
@@ -45,11 +52,3 @@ describe('ol.interaction.KeyboardPan', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.interaction.KeyboardPan');
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
/*global createMapDiv, disposeMap*/
|
||||
goog.provide('ol.test.interaction.KeyboardZoom');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.interaction.KeyboardZoom');
|
||||
|
||||
|
||||
describe('ol.interaction.KeyboardZoom', function() {
|
||||
var map;
|
||||
@@ -39,11 +46,3 @@ describe('ol.interaction.KeyboardZoom', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.interaction.KeyboardZoom');
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
goog.provide('ol.test.interaction.Modify');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.condition');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.Modify');
|
||||
goog.require('ol.interaction.ModifyEvent');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
|
||||
describe('ol.interaction.Modify', function() {
|
||||
|
||||
var target, map, source, features;
|
||||
@@ -503,19 +520,3 @@ describe('ol.interaction.Modify', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.condition');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.Modify');
|
||||
goog.require('ol.interaction.ModifyEvent');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
/*global createMapDiv, disposeMap*/
|
||||
goog.provide('ol.test.interaction.MouseWheelZoom');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.interaction.MouseWheelZoom');
|
||||
|
||||
|
||||
describe('ol.interaction.MouseWheelZoom', function() {
|
||||
var map;
|
||||
@@ -124,11 +131,3 @@ describe('ol.interaction.MouseWheelZoom', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.interaction.MouseWheelZoom');
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
goog.provide('ol.test.interaction.Select');
|
||||
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.Select');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
|
||||
describe('ol.interaction.Select', function() {
|
||||
var target, map, layer, source;
|
||||
|
||||
@@ -431,15 +444,3 @@ describe('ol.interaction.Select', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.interaction.Select');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
goog.provide('ol.test.interaction.Snap');
|
||||
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.interaction.Snap');
|
||||
|
||||
|
||||
describe('ol.interaction.Snap', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -123,11 +132,3 @@ describe('ol.interaction.Snap', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.interaction.Snap');
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
goog.provide('ol.test.interaction.Translate');
|
||||
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.interaction.Translate');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
|
||||
describe('ol.interaction.Translate', function() {
|
||||
var target, map, source, features;
|
||||
|
||||
@@ -107,15 +120,3 @@ describe('ol.interaction.Translate', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.interaction.Translate');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
goog.provide('ol.test.layer.Group');
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.layer.Group');
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.renderer.Map');
|
||||
goog.require('ol.source.Source');
|
||||
|
||||
|
||||
describe('ol.layer.Group', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
@@ -488,13 +499,3 @@ describe('ol.layer.Group', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.layer.Group');
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.renderer.Map');
|
||||
goog.require('ol.source.Source');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.layer.Heatmap');
|
||||
|
||||
goog.require('ol.layer.Heatmap');
|
||||
|
||||
|
||||
describe('ol.layer.Heatmap', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -12,5 +15,3 @@ describe('ol.layer.Heatmap', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.layer.Heatmap');
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
goog.provide('ol.test.layer.Layer');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.render.Event');
|
||||
goog.require('ol.source.Source');
|
||||
|
||||
|
||||
describe('ol.layer.Layer', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
@@ -431,9 +438,3 @@ describe('ol.layer.Layer', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.render.Event');
|
||||
goog.require('ol.source.Source');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.layer.Tile');
|
||||
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.source.OSM');
|
||||
|
||||
|
||||
describe('ol.layer.Tile', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
@@ -31,6 +35,3 @@ describe('ol.layer.Tile', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.source.OSM');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.layer.Vector');
|
||||
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Style');
|
||||
|
||||
|
||||
describe('ol.layer.Vector', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -120,8 +126,3 @@ describe('ol.layer.Vector', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.layer.Layer');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Style');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.layer.VectorTile');
|
||||
|
||||
goog.require('ol.layer.VectorTile');
|
||||
goog.require('ol.source.VectorTile');
|
||||
|
||||
|
||||
describe('ol.layer.VectorTile', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
@@ -56,6 +60,3 @@ describe('ol.layer.VectorTile', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.layer.VectorTile');
|
||||
goog.require('ol.source.VectorTile');
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
goog.provide('ol.test.Map');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapEvent');
|
||||
goog.require('ol.Overlay');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.interaction');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.interaction.DoubleClickZoom');
|
||||
goog.require('ol.interaction.MouseWheelZoom');
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.source.XYZ');
|
||||
|
||||
|
||||
describe('ol.Map', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -424,14 +436,3 @@ describe('ol.Map', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapEvent');
|
||||
goog.require('ol.Overlay');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.interaction');
|
||||
goog.require('ol.interaction.Interaction');
|
||||
goog.require('ol.interaction.DoubleClickZoom');
|
||||
goog.require('ol.interaction.MouseWheelZoom');
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.source.XYZ');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.MapBrowserEventHandler');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEventHandler');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
|
||||
|
||||
describe('ol.MapBrowserEventHandler', function() {
|
||||
describe('#emulateClick_', function() {
|
||||
var clock;
|
||||
@@ -110,8 +116,3 @@ describe('ol.MapBrowserEventHandler', function() {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEventHandler');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.math');
|
||||
|
||||
goog.require('ol.math');
|
||||
|
||||
|
||||
describe('ol.math.clamp', function() {
|
||||
|
||||
@@ -197,6 +199,3 @@ describe('ol.math.modulo', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.math');
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
goog.provide('ol.test.net');
|
||||
|
||||
goog.require('ol.net');
|
||||
|
||||
|
||||
describe('ol.net', function() {
|
||||
|
||||
@@ -84,6 +86,3 @@ describe('ol.net', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.net');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.Object');
|
||||
|
||||
goog.require('ol.Object');
|
||||
goog.require('ol.events');
|
||||
|
||||
|
||||
describe('ol.Object', function() {
|
||||
|
||||
var o;
|
||||
@@ -237,7 +241,3 @@ describe('ol.Object', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.Object');
|
||||
goog.require('ol.events');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.object');
|
||||
|
||||
goog.require('ol.obj');
|
||||
|
||||
|
||||
describe('ol.obj.assign()', function() {
|
||||
|
||||
it('is an alias for Object.assign() where available', function() {
|
||||
@@ -62,5 +65,3 @@ describe('ol.obj.isEmpty()', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.obj');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.Observable');
|
||||
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.Observable');
|
||||
|
||||
|
||||
describe('ol.Observable', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
@@ -180,7 +184,3 @@ describe('ol.Observable', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.Observable');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test');
|
||||
|
||||
goog.require('ol');
|
||||
|
||||
|
||||
describe('ol', function() {
|
||||
|
||||
describe('ol.assert', function() {
|
||||
@@ -33,5 +36,3 @@ describe('ol', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol');
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
goog.provide('ol.test.Overlay');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.Overlay');
|
||||
goog.require('ol.View');
|
||||
|
||||
|
||||
describe('ol.Overlay', function() {
|
||||
var target, map;
|
||||
|
||||
@@ -71,7 +76,3 @@ describe('ol.Overlay', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.Overlay');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
goog.provide('ol.test.pointer.MouseSource');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.has');
|
||||
goog.require('ol.pointer.MouseSource');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.pointer.PointerEventHandler');
|
||||
goog.require('ol.pointer.TouchSource');
|
||||
|
||||
|
||||
describe('ol.pointer.MouseSource', function() {
|
||||
var handler;
|
||||
var target;
|
||||
@@ -88,11 +97,3 @@ describe('ol.pointer.MouseSource', function() {
|
||||
target.dispatchEvent(event);
|
||||
}
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.has');
|
||||
goog.require('ol.pointer.MouseSource');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.pointer.PointerEventHandler');
|
||||
goog.require('ol.pointer.TouchSource');
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
goog.provide('ol.test.pointer.PointerEventHandler');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.has');
|
||||
goog.require('ol.pointer.MouseSource');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.pointer.PointerEventHandler');
|
||||
|
||||
|
||||
describe('ol.pointer.PointerEventHandler', function() {
|
||||
var handler;
|
||||
var target;
|
||||
@@ -159,10 +167,3 @@ describe('ol.pointer.PointerEventHandler', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.has');
|
||||
goog.require('ol.pointer.MouseSource');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.pointer.PointerEventHandler');
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
goog.provide('ol.test.pointer.TouchSource');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.has');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.pointer.PointerEventHandler');
|
||||
goog.require('ol.pointer.TouchSource');
|
||||
|
||||
|
||||
describe('ol.pointer.TouchSource', function() {
|
||||
var handler;
|
||||
var target;
|
||||
@@ -126,12 +136,3 @@ describe('ol.pointer.TouchSource', function() {
|
||||
target.dispatchEvent(event);
|
||||
}
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.Event');
|
||||
goog.require('ol.events.EventTarget');
|
||||
goog.require('ol.has');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.pointer.PointerEvent');
|
||||
goog.require('ol.pointer.PointerEventHandler');
|
||||
goog.require('ol.pointer.TouchSource');
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
goog.provide('ol.test.proj.EPSG3857');
|
||||
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.common');
|
||||
goog.require('ol.proj.EPSG3857');
|
||||
|
||||
|
||||
describe('ol.proj.EPSG3857', function() {
|
||||
|
||||
@@ -46,8 +50,3 @@ describe('ol.proj.EPSG3857', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.common');
|
||||
goog.require('ol.proj.EPSG3857');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.proj');
|
||||
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.EPSG4326');
|
||||
goog.require('ol.proj.Projection');
|
||||
goog.require('ol.proj.common');
|
||||
|
||||
|
||||
describe('ol.proj', function() {
|
||||
|
||||
afterEach(function() {
|
||||
@@ -582,9 +588,3 @@ describe('ol.proj', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.EPSG4326');
|
||||
goog.require('ol.proj.Projection');
|
||||
goog.require('ol.proj.common');
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
goog.provide('ol.test.render');
|
||||
|
||||
goog.require('ol.transform');
|
||||
goog.require('ol.render');
|
||||
goog.require('ol.render.canvas.Immediate');
|
||||
goog.require('ol.vec.Mat4');
|
||||
|
||||
|
||||
describe('ol.render', function() {
|
||||
|
||||
describe('toContext', function() {
|
||||
@@ -29,9 +35,3 @@ describe('ol.render', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.transform');
|
||||
goog.require('ol.render');
|
||||
goog.require('ol.render.canvas.Immediate');
|
||||
goog.require('ol.vec.Mat4');
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
goog.provide('ol.test.render.Box');
|
||||
|
||||
goog.require('ol.Disposable');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.render.Box');
|
||||
|
||||
|
||||
describe('ol.render.Box', function() {
|
||||
|
||||
var box, map, target;
|
||||
@@ -67,9 +74,3 @@ describe('ol.render.Box', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Disposable');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.render.Box');
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
goog.provide('ol.test.render.canvas.Immediate');
|
||||
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.render.VectorContext');
|
||||
goog.require('ol.render.canvas.Immediate');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Stroke');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Text');
|
||||
|
||||
|
||||
describe('ol.render.canvas.Immediate', function() {
|
||||
|
||||
function getMockContext() {
|
||||
@@ -274,19 +291,3 @@ describe('ol.render.canvas.Immediate', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.MultiLineString');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.render.VectorContext');
|
||||
goog.require('ol.render.canvas.Immediate');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Stroke');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Text');
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
goog.provide('ol.test.render.canvas');
|
||||
|
||||
goog.require('ol.render');
|
||||
goog.require('ol.render.canvas');
|
||||
|
||||
|
||||
describe('ol.render.canvas', function() {
|
||||
|
||||
@@ -19,7 +22,3 @@ describe('ol.render.canvas', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
goog.require('ol.render');
|
||||
goog.require('ol.render.canvas');
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user