Commit Graph

149 Commits

Author SHA1 Message Date
Tim Schaub
a5e236fe0c Update expectations for vector tile icon label rendering 2021-09-24 13:24:14 +00:00
Andreas Hocevar
df493725c6 Fix sprite offset for pixel ratio !== 1 2021-08-30 22:05:34 +02:00
Andreas Hocevar
814d70b1cc Add more tests 2021-08-18 17:54:48 +02:00
Andreas Hocevar
27d915aefa Replace reference image to match that of the CI 2021-08-05 09:17:29 +02:00
Andreas Hocevar
36fc2c042a Update rendering test reference image 2021-08-01 11:03:47 +02:00
Andreas Hocevar
de460cfb09 Change import 2021-07-26 13:13:54 +02:00
Andreas Hocevar
94537e331f Update renderring test reference images 2021-07-11 14:20:20 +02:00
Andreas Hocevar
ba2f5c83ee Update loglevel instantiation 2021-07-06 09:24:41 +02:00
Maximilian Krög
0bad083056 Test getVectorContext with pixelRatio 2 and TileLayer 2021-07-04 18:33:40 +02:00
Andreas Hocevar
6aeed0ff96 Merge pull request #12373 from mike-000/patch-1
Rework TileDebug to allow TMS coordinates and to fix reprojection
2021-06-29 14:28:09 +02:00
mike-000
db1fa9b659 New test 2021-06-29 10:53:45 +01:00
Andreas Hocevar
79f5f46d27 Remove lint 2021-06-28 18:10:51 +02:00
Maximilian Krög
74db0e7d21 Add render test for immediate render with pixel ratio 2 2021-06-17 23:21:30 +02:00
mike-000
269b3c49ee more precision expected 2021-06-09 15:13:27 +01:00
mike-000
82cc9fe0e6 more precision expected 2021-06-09 15:03:45 +01:00
mike-000
cb52f809af more precision expected 2021-06-09 15:00:38 +01:00
Tim Schaub
c301d2413b Modules all the way 2021-05-01 10:17:04 -06:00
Tim Schaub
d72368667d Allow ol-mapbox-style to import from ol/style/Style etc. 2021-04-28 10:40:49 -07:00
Tim Schaub
490cfabe91 Organize tests 2021-04-28 09:23:33 -07:00
Kai Volland
94edf32540 Removes artifacts of old rendering test approach
Data and comparison images of the old rendering test approach
are removed as every test is transformed to the new approach.
2019-04-01 15:56:03 +02:00
Kai Volland
91d2f98774 Replaces listener test in tile.tests.js
Transforms the old render listener test to
the new rendering test approach.
2019-04-01 15:53:19 +02:00
Marc Jansen
061965ecb7 Merge pull request #9362 from KaiVolland/text-rendering
Use local font "Ubuntu Regular" for rendering tests
2019-03-25 22:08:05 +01:00
Kai Volland
bff3e88343 Replaces clip.test.js with new tests
Transforms the old rendering test for
layer clipping to the new rendering test approach.
2019-03-25 11:13:04 +01:00
Kai Volland
681a8f1d9c Replaces remaining vectorimage.tests.js
Transforms the old rendering tests for the VectorImageLayer
decluttering to the new rendering test approach.
2019-03-22 10:14:41 +01:00
Kai Volland
7510a19c73 Replaces vectorimage.tests.js (partially)
Transforms the old rendering tests for the VectorImageLayer
to the new rendering test approach.
The declutter tests are kept in the old format for know.
2019-03-19 11:30:45 +01:00
Kai Volland
ac3a2d960a Replaces tile.tests.js (partially) with new tests
Transforms the old rendering tests for the TileLayer
to the new rendering test approach.
The render-listener test is kept in the old format for know.
2019-03-18 16:39:37 +01:00
Kai Volland
fc878fd539 Replaces vectortile.tests.js with new tests
Transforms the old rendering tests for the VectorTileLayer
to the new rendering test approach.
2019-03-18 16:15:58 +01:00
Kai Volland
f555048319 Replaces vector.tests.js with new tests
Transforms the old rendering tests for the LayerVector
to the new rendering test approach.
2019-03-18 15:39:48 +01:00
Kai Volland
6759641715 Replaces image.tests.js with new tests
Transforms the old rendering tests for the ImageLayer
to the new rendering test approach.
2019-03-18 13:56:45 +01:00
Kai Volland
58cebcc97f Replaces tilewms.tests.js with new tests
Transforms the old rendering tests for the TileWMSSource
to the new rendering test approach.
2019-03-15 14:30:23 +01:00
Kai Volland
3f8da79893 Replaces raster.tests.js with new tests
Transforms the old rendering tests for the RasterSource
to the new rendering test approach.
2019-03-15 14:04:23 +01:00
Kai Volland
d89b909187 Replaces text.tests.js with new tests
Transforms the old rendering tests for the TextStyle
to the new rendering test approach.
2019-03-15 12:11:13 +01:00
Kai Volland
f79b358c92 Replaces regularshape.tests.js with new tests
Transforms the old rendering tests for the regularshape
to the new rendering test approach.
2019-03-15 10:42:47 +01:00
Kai Volland
e4ef5c789c Removes map.tests.js renders 2019-03-15 10:42:47 +01:00
Kai Volland
d871196e16 Removes linestring.test.js
Removes linestring.test.js and related pngs as linestring
style is already tested with the new approach.
2019-03-15 10:42:47 +01:00
Kai Volland
595b74d04e Replaces map.tests.js with new tests
Transforms the old rendering test for the Map
to the new rendering test approach.
2019-03-15 10:42:47 +01:00
Kai Volland
de0f5d44a3 Replaces circle.tests.js with new tests
Transforms the old rendering test for the CircleStyle
to the new rendering test approach.
2019-03-15 10:42:47 +01:00
Frederic Junod
1338a868e9 Remove setDeclutter function
Changing the declutter value after the layer creating doesn't work, remove the function to avoid confusion.
2019-02-27 11:41:08 +01:00
Olivier Guyot
72cf7b13fa removed existing webgl rendering unit tests 2018-11-16 14:05:04 +01:00
Frederic Junod
0ed7f76ad0 Port polygon-style rendering test 2018-11-16 13:40:11 +01:00
Florent gravin
f9c64e52af Add rendering test for vector tile layer rotation w/ layer on top 2018-11-15 18:16:58 +01:00
Florent gravin
7630fafcf2 Add rendering test for vector tile layer rotation 2018-11-15 17:32:50 +01:00
Florent gravin
12f6ce7a44 Add rendering test for vector tile layer 2018-11-15 15:53:06 +01:00
Florent gravin
ebbb54456a Add rendering test for layer 2 tiles extent clipping 2018-11-15 15:20:36 +01:00
Florent gravin
081c677ea2 Add rendering test for layer tile simple 2018-11-15 15:20:36 +01:00
Florent gravin
fc85b2ba78 Add rendering test for layer tile transition 2018-11-15 15:20:36 +01:00
Frederic Junod
6e964c7934 Port render-toContext rendering test 2018-11-15 11:27:48 +01:00
Frederic Junod
488a104a92 Port icon-symbol-svg rendering tests 2018-11-14 16:26:10 +01:00
Tim Schaub
a69eeceeba Switch map and layer constructor in tests
The webgl tests do not run currently (which is why these have not been failing).
2018-11-12 14:54:12 +01:00
Tim Schaub
2ec509fbca Add an image vector layer for rendering vectors to an image 2018-11-12 14:54:11 +01:00