Get rid of useless test exports
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"install": "node tasks/install.js",
|
||||
"postinstall": "closure-util update",
|
||||
"start": "node tasks/serve.js",
|
||||
"lint": "eslint tasks test src examples",
|
||||
"lint": "eslint tasks test src examples transforms",
|
||||
"lint-package": "eslint --fix build/package",
|
||||
"pretest": "npm run lint",
|
||||
"test": "npm run karma -- --single-run",
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
"env": {
|
||||
"mocha": true
|
||||
},
|
||||
"rules": {
|
||||
"openlayers-internal/valid-provide": 0
|
||||
},
|
||||
"globals": {
|
||||
"IMAGE_TOLERANCE": false,
|
||||
"afterLoadText": false,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.layer.Clipping');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.layer.Image');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.layer.Tile');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.layer.Vector');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.layer.VectorTile');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.Map');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.render');
|
||||
|
||||
|
||||
goog.require('ol.geom.LineString');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.reproj.Image');
|
||||
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.reproj.Tile');
|
||||
|
||||
|
||||
goog.require('ol.TileState');
|
||||
goog.require('ol.events');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.source.TileWMS');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.style.Circle');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.style.Icon');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.style.LineString');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.LineString');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.style.Polygon');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.style.RegularShape');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.rendering.style.Text');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.array');
|
||||
|
||||
|
||||
goog.require('ol.array');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.AssertionError.test');
|
||||
|
||||
|
||||
goog.require('ol');
|
||||
goog.require('ol.AssertionError');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.asserts.asserts.test');
|
||||
|
||||
|
||||
goog.require('ol.asserts');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.Collection');
|
||||
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Collection');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.color');
|
||||
|
||||
|
||||
goog.require('ol.color');
|
||||
goog.require('ol');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.Attribution');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.Tile');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.Control');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.control.Control');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.FullScreen');
|
||||
|
||||
|
||||
goog.require('ol.control.FullScreen');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.MousePosition');
|
||||
|
||||
|
||||
goog.require('ol.control.MousePosition');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.OverviewMap');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.Rotate');
|
||||
|
||||
|
||||
goog.require('ol.control.Rotate');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.ScaleLine');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.Zoom');
|
||||
|
||||
|
||||
goog.require('ol.control.Zoom');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.ZoomSlider');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.control.ZoomToExtent');
|
||||
|
||||
|
||||
goog.require('ol.control.ZoomToExtent');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.coordinate');
|
||||
|
||||
|
||||
goog.require('ol.coordinate');
|
||||
goog.require('ol.geom.Circle');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.DeviceOrientation');
|
||||
|
||||
|
||||
goog.require('ol.DeviceOrientation');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.Disposable');
|
||||
|
||||
|
||||
goog.require('ol.Disposable');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.dom');
|
||||
|
||||
|
||||
goog.require('ol.dom');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.events');
|
||||
|
||||
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.events.EventTarget');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.events.Event');
|
||||
|
||||
|
||||
goog.require('ol.events.Event');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.events.EventTarget');
|
||||
|
||||
|
||||
goog.require('ol.Disposable');
|
||||
goog.require('ol.events');
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
goog.provide('ol.test.expect.js');
|
||||
|
||||
|
||||
describe('expect.js', function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.extent');
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.proj');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.Feature');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.featureloader');
|
||||
|
||||
|
||||
goog.require('ol.featureloader');
|
||||
goog.require('ol.format.GeoJSON');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.reader.EsriJSON');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.extent');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.reader.GeoJSON');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.extent');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.GML');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.GML');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.GPX');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.GPX');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.IGC');
|
||||
|
||||
|
||||
goog.require('ol.format.IGC');
|
||||
goog.require('ol.Feature');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.KML');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.array');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.MVT');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.ext.PBF');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.OSMXML');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.OSMXML');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.OWS');
|
||||
|
||||
|
||||
goog.require('ol.format.OWS');
|
||||
goog.require('ol.xml');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.Polyline');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.Polyline');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.TopoJSON');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.WFS');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.format.GML2');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.WKT');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.WMSCapabilities');
|
||||
|
||||
|
||||
goog.require('ol.format.WMSCapabilities');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.WMSGetFeatureInfo');
|
||||
|
||||
|
||||
goog.require('ol.format.WMSGetFeatureInfo');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.format.WMTSCapabilities');
|
||||
|
||||
|
||||
goog.require('ol.format.WMTSCapabilities');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.XSD');
|
||||
|
||||
|
||||
goog.require('ol.format.XSD');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.Geolocation');
|
||||
|
||||
|
||||
goog.require('ol.Geolocation');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.Circle');
|
||||
|
||||
|
||||
goog.require('ol.geom.Circle');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.area');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.area');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.center');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.center');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.closest');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.closest');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.contains');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.contains');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.deflate');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.deflate');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.flip');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.flip');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.inflate');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.inflate');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.interpolate');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.interpolate');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.intersectsextent');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.intersectsextent');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.length');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.length');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.orient');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.orient');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.reverse');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.reverse');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.segments');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.segments');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.simplify');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.simplify');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.topology');
|
||||
|
||||
|
||||
goog.require('ol.geom.flat.topology');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.flat.transform');
|
||||
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.SimpleGeometry');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.GeometryCollection');
|
||||
|
||||
|
||||
goog.require('ol.geom.Geometry');
|
||||
goog.require('ol.geom.GeometryCollection');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.LineString');
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.MultiLineString');
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.LineString');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.MultiPoint');
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.MultiPoint');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.MultiPolygon');
|
||||
|
||||
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Polygon');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.Point');
|
||||
|
||||
|
||||
goog.require('ol.geom.Point');
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.geom.Polygon');
|
||||
|
||||
|
||||
goog.require('ol.extent');
|
||||
goog.require('ol.geom.Circle');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.Graticule');
|
||||
|
||||
|
||||
goog.require('ol.Graticule');
|
||||
goog.require('ol.Map');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.ImageTile');
|
||||
|
||||
|
||||
goog.require('ol.ImageTile');
|
||||
goog.require('ol.TileState');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test');
|
||||
|
||||
goog.require('ol');
|
||||
|
||||
describe('getUid()', function() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.DragAndDrop');
|
||||
|
||||
|
||||
goog.require('ol');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.DragRotateAndZoom');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.DragZoom');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.Draw');
|
||||
|
||||
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.Extent');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserPointerEvent');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.Interaction');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.KeyboardPan');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.KeyboardZoom');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.Modify');
|
||||
|
||||
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.MouseWheelZoom');
|
||||
|
||||
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.MapBrowserEvent');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
goog.provide('ol.test.interaction.Select');
|
||||
|
||||
|
||||
goog.require('ol.Collection');
|
||||
goog.require('ol.Feature');
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user