Put rendering test requires on top
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
goog.provide('ol.test.rendering.layer.Image');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Image');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.source.ImageStatic');
|
||||
|
||||
|
||||
describe('ol.rendering.layer.Image', function() {
|
||||
|
||||
var target, map;
|
||||
@@ -108,10 +116,3 @@ describe('ol.rendering.layer.Image', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Image');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.source.ImageStatic');
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
goog.provide('ol.test.rendering.layer.Tile');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.source.TileImage');
|
||||
goog.require('ol.source.XYZ');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Stroke');
|
||||
goog.require('ol.tilegrid.TileGrid');
|
||||
|
||||
|
||||
describe('ol.rendering.layer.Tile', function() {
|
||||
|
||||
var target, map;
|
||||
@@ -247,16 +261,3 @@ describe('ol.rendering.layer.Tile', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.source.TileImage');
|
||||
goog.require('ol.source.XYZ');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Stroke');
|
||||
goog.require('ol.tilegrid.TileGrid');
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
goog.provide('ol.test.rendering.layer.Vector');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
|
||||
describe('ol.rendering.layer.Vector', function() {
|
||||
|
||||
var center, target, map;
|
||||
@@ -76,11 +85,3 @@ describe('ol.rendering.layer.Vector', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Circle');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
goog.provide('ol.test.rendering.layer.VectorTile');
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.format.MVT');
|
||||
goog.require('ol.layer.VectorTile');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.source.VectorTile');
|
||||
|
||||
|
||||
describe('ol.rendering.layer.VectorTile', function() {
|
||||
|
||||
var target, map;
|
||||
@@ -73,10 +81,3 @@ describe('ol.rendering.layer.VectorTile', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.format.MVT');
|
||||
goog.require('ol.layer.VectorTile');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.source.VectorTile');
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
goog.provide('ol.test.rendering.Map');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
|
||||
describe('ol.rendering.Map', function() {
|
||||
|
||||
var target, map;
|
||||
@@ -114,10 +122,3 @@ describe('ol.rendering.Map', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
goog.provide('ol.test.rendering.render');
|
||||
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.render');
|
||||
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');
|
||||
|
||||
|
||||
describe('ol.render', function() {
|
||||
|
||||
var context;
|
||||
@@ -126,14 +138,3 @@ describe('ol.render', function() {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.render');
|
||||
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');
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
goog.provide('ol.test.rendering.reproj.Image');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.EPSG3857');
|
||||
goog.require('ol.reproj.Image');
|
||||
goog.require('ol.source.ImageStatic');
|
||||
|
||||
|
||||
describe('ol.rendering.reproj.Image', function() {
|
||||
|
||||
function testSingleImage(source, targetProj,
|
||||
@@ -52,9 +59,3 @@ describe('ol.rendering.reproj.Image', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.proj.EPSG3857');
|
||||
goog.require('ol.reproj.Image');
|
||||
goog.require('ol.source.ImageStatic');
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
goog.provide('ol.test.rendering.reproj.Tile');
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.reproj.Tile');
|
||||
goog.require('ol.source.XYZ');
|
||||
goog.require('ol.TileState');
|
||||
|
||||
|
||||
describe('ol.rendering.reproj.Tile', function() {
|
||||
|
||||
function testSingleTile(source, targetProjection, targetTileGrid, z, x, y,
|
||||
@@ -172,9 +179,3 @@ describe('ol.rendering.reproj.Tile', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.reproj.Tile');
|
||||
goog.require('ol.source.XYZ');
|
||||
goog.require('ol.TileState');
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
goog.provide('ol.test.rendering.style.Circle');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
|
||||
describe('ol.rendering.style.Circle', function() {
|
||||
|
||||
var target, map, vectorSource;
|
||||
@@ -187,14 +199,3 @@ describe('ol.rendering.style.Circle', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Circle');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
goog.provide('ol.test.rendering.style.Icon');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Icon');
|
||||
goog.require('ol.style.Style');
|
||||
|
||||
|
||||
describe('ol.rendering.style.Icon', function() {
|
||||
|
||||
var target, map, vectorSource;
|
||||
@@ -110,12 +120,3 @@ describe('ol.rendering.style.Icon', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Icon');
|
||||
goog.require('ol.style.Style');
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
goog.provide('ol.test.rendering.style.LineString');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
|
||||
describe('ol.rendering.style.LineString', function() {
|
||||
|
||||
var target, map, vectorSource;
|
||||
@@ -90,12 +100,3 @@ describe('ol.rendering.style.LineString', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
goog.provide('ol.test.rendering.style.Polygon');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
|
||||
describe('ol.rendering.style.Polygon', function() {
|
||||
|
||||
var target, map, vectorSource;
|
||||
@@ -187,13 +198,3 @@ describe('ol.rendering.style.Polygon', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
goog.provide('ol.test.rendering.style.RegularShape');
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.RegularShape');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
|
||||
describe('ol.rendering.style.RegularShape', function() {
|
||||
|
||||
var target, map, vectorSource;
|
||||
@@ -115,14 +127,3 @@ describe('ol.rendering.style.RegularShape', function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.layer.Vector');
|
||||
goog.require('ol.source.Vector');
|
||||
goog.require('ol.style.Fill');
|
||||
goog.require('ol.style.RegularShape');
|
||||
goog.require('ol.style.Style');
|
||||
goog.require('ol.style.Stroke');
|
||||
|
||||
Reference in New Issue
Block a user