remove deprecated imageSmoothing

This commit is contained in:
mike-000
2022-08-03 11:43:04 +01:00
parent aee389e2b7
commit 27a9f056e0
28 changed files with 20 additions and 203 deletions

View File

@@ -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 () {

View File

@@ -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 () {

View File

@@ -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 () {

View File

@@ -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 () {

View File

@@ -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 () {

View File

@@ -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 () {

View File

@@ -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 () {

View File

@@ -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 () {

View File

@@ -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 () {

View File

@@ -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 () {