remove deprecated imageSmoothing
This commit is contained in:
@@ -20,11 +20,6 @@ describe('ol/source/BingMaps', function () {
|
||||
const source = new BingMaps({interpolate: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new BingMaps({imageSmoothing: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#tileUrlFunction()', function () {
|
||||
|
||||
@@ -151,11 +151,6 @@ describe('ol/source/IIIF', function () {
|
||||
const source = new IIIF({size: size, interpolate: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new IIIF({size: size, imageSmoothing: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('tileUrlFunction', function () {
|
||||
|
||||
@@ -26,13 +26,6 @@ describe('ol/source/ImageArcGISRest', function () {
|
||||
);
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new ImageArcGISRest(
|
||||
Object.assign({imageSmoothing: false}, options)
|
||||
);
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#getImage', function () {
|
||||
|
||||
@@ -23,11 +23,6 @@ describe('ol/source/ImageStatic', function () {
|
||||
const source = new Static({interpolate: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new Static({imageSmoothing: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#getImage', function () {
|
||||
|
||||
@@ -41,11 +41,6 @@ describe('ol/source/TileImage', function () {
|
||||
const source = new TileImage({interpolate: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new TileImage({imageSmoothing: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#getTileCacheForProjection', function () {
|
||||
|
||||
@@ -27,14 +27,6 @@ describe('ol/source/TileJSON', function () {
|
||||
});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new TileJSON({
|
||||
imageSmoothing: false,
|
||||
url: 'spec/ol/data/tilejson.json',
|
||||
});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#getTileJSON', function () {
|
||||
|
||||
@@ -42,11 +42,6 @@ describe('ol/source/TileWMS', function () {
|
||||
const source = new TileWMS({interpolate: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new TileWMS({imageSmoothing: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#getTile', function () {
|
||||
|
||||
@@ -240,11 +240,6 @@ describe('ol/source/WMTS', function () {
|
||||
const source = new WMTS({interpolate: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new WMTS({imageSmoothing: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('when creating tileUrlFunction', function () {
|
||||
|
||||
@@ -57,11 +57,6 @@ describe('ol/source/XYZ', function () {
|
||||
const source = new XYZ({interpolate: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new XYZ({imageSmoothing: false});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('tileUrlFunction', function () {
|
||||
|
||||
@@ -151,15 +151,6 @@ describe('ol/source/Zoomify', function () {
|
||||
const source = new Zoomify({interpolate: false, url: '', size: [47, 11]});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
|
||||
it('is false if constructed with imageSmoothing: false', function () {
|
||||
const source = new Zoomify({
|
||||
imageSmoothing: false,
|
||||
url: '',
|
||||
size: [47, 11],
|
||||
});
|
||||
expect(source.getInterpolate()).to.be(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('generated tileGrid', function () {
|
||||
|
||||
Reference in New Issue
Block a user