summaryrefslogtreecommitdiff
path: root/render-test/parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [render tests][tile mode] Enable automatic labels cut-off detectionMikhail Pozdnyakov2020-04-061-2/+4
|
* [render test runner] Enable pixel ratio in tile modeMikhail Pozdnyakov2020-03-051-21/+30
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Introduce FileSourceManager and use it for default platform impl - Add `FileSourceManager` interface that provides access to `FileSource` instances and means of registering / unregistering `FileSource` factories - Split `DefaultFileSource` into smaller parts - Add `DatabaseFileSource` interface and it's default implementation - Remove inter-dependencies between concrete `FileSource` classes * [build] Add files to next build system * [core] Add generic property setters / getters * [core] Remove setOnlineStatus from OnlineFileSource interface * [core] Hide threading implementation details from DatabaseFileSource interface * [core] Make DB file source methods virtual * [core] Add documentation for DatabaseFileSource and rename one method * [core] Use simple callback instead of ActorRef * [core] Remove ActorRef from OnlineFileSource public header * [core] Add callback to FileSource::forward async API * [core] Pass OfflineRegionDefinition by value * [core] Update tests to use modular file sources * [core] Update unit tests * [core] Update unit tests after rebase * [core] Backport low prio fix for cached requests * [core] Backport pack database * [core] Return removed factory from unRegisterFileSourceFactory * [core] Rename shadowed args in onlinefilesource * [core] Remove simple std::function callback aliases * [core] Expose online file source property keys in public header file * [test-runner] Add proxy file source test runner * [cache] Update mbgl-cache utility to use new file source * [metrics] Rebaseline binary size metrics * [offline] Update offline utility * [core] Update changelog
* [render-test] Use image from the cache for addImage operationThiago Marcos P. Santos2020-01-081-4/+18
| | | | Instead of trying to read it from the filesystem.
* [render-test] Effectively use the offline cache for fixturesThiago Marcos P. Santos2020-01-081-24/+17
|
* [test runner] Rendering a single tile in Tile modeMikhail Pozdnyakov2019-12-181-2/+3
|
* [render-tests] Fix tests not rendering when both metrics and render failsThiago Marcos P. Santos2019-12-171-5/+7
|
* [render-test] Cleanup on the render tests resultsThiago Marcos P. Santos2019-12-161-0/+4
| | | | | Simplify the code path and make it print both rendering error and metrics on fail.
* [render test] Fix probes failure reportsMikhail Pozdnyakov2019-12-131-4/+4
|
* [test runner] Split operations parsing and executionMikhail Pozdnyakov2019-12-131-8/+714
|
* [metrics] Make the parsing of metrics even more strictThiago Marcos P. Santos2019-11-281-1/+1
| | | | File must be `metrics.json`.
* [render-test] Fix regex matching the directory nameThiago Marcos P. Santos2019-11-271-3/+3
| | | | | This code was matching `style.json` instead of `metrics.json` if the `style.json` was contained inside `metrics/.../style.json`.
* [render-test] Add metric_paths into Manifest (#15973)zmiao2019-11-271-3/+8
| | | | | | | | | | * [render-test]Add expected metrics path in manifest file * seperate metrics.json and expected.png * fix expected path parsing * keep expectation path if update is enabled
* [render-test] Implement gfx probe for tracking gpu resourcesMikko Pulkki2019-10-301-0/+64
|
* [render-test] Add manifest parser for render-test-runner (#15861)zmiao2019-10-291-387/+11
| | | | | | | | | | * [render-test] Add manifest parser for render-test-runner * [render-test] Refactory manifest parser * [render-test] Parse full manifest file through CLI * [render-test] Add linux probe manifest
* [core,android,darwin,qt] Add fields related to feature-stateJuha Alanen2019-10-281-7/+13
| | | | | Move the fields from geometry.hpp/feature.hpp as they are not part of the GeoJSON specification.
* [render-test] Add configurable rootPath, ignorePath via CLI arguments (#15832)zmiao2019-10-231-78/+132
| | | | | | * [render-test] Add configurable path via CLI arguments * [render-test] Change ignore path config
* [test-runner] Run render test runner as a NativeActivity app on android ↵zmiao2019-10-221-1/+2
| | | | | | | | | | | | device (#15827) * [test-runner]Add android render-test-runner NativeActivity app * [test-runner] Fix cmake for CI build failure * [test-runner] Update folder location, change app configureation * [test-runner] Add running instruction
* [render-test] Implement fps benchmarking tests (#15803)Mikko Pulkki2019-10-221-14/+63
|
* [test runner] Command line option for the tests expectations pathMikhail Pozdnyakov2019-10-211-19/+34
| | | | | | -e[expectationsPath], --expectationsPath=[expectationsPath] Test expectations path.
* [test runner] Threshold for memory metricsMikhail Pozdnyakov2019-10-211-1/+1
|
* [render-test] Add support for collecting network metricsJuha Alanen2019-10-161-0/+34
|
* [render-test] Add tolerance to file-size testsThiago Marcos P. Santos2019-10-141-1/+1
|
* [render-test] No camelCase on the metrics.json tagThiago Marcos P. Santos2019-10-111-4/+4
| | | | It is ugly.
* [render-test] Prettyfy metrics outputThiago Marcos P. Santos2019-10-111-1/+1
|
* [render-test] Only write metrics if they are availableThiago Marcos P. Santos2019-10-101-18/+20
| | | | Otherwise the file will have an empty tag.
* [render-test] Add tests for filesize probeThiago Marcos P. Santos2019-10-101-3/+5
| | | | And make sure we run it on the bots
* [render-test] Add instruction for verifying file sizeThiago Marcos P. Santos2019-10-101-0/+39
| | | | | | | | | | For a given absolute or relative path, measure the size of the file. This is useful for measuring if the cache has increased as expected after moving a camera or decreased after cleaning up. In a more hackish manner, could be used for collecting binary size statistics of shared libraries.
* [render-test] Fix rootPath parameter being ignoredThiago Marcos P. Santos2019-10-101-2/+2
| | | | It was doing nothing and always using the default root path.
* [test runner] Fix finding of expected images pathsMikhail Pozdnyakov2019-10-091-3/+12
| | | | | | | Before this change, the found paths to the expected images erroneously included the path to the `metrics.json` file (if this file was present) leading to raising of an unhandled exception.
* [render-test] Add support for query testsJuha Alanen2019-10-071-10/+124
|
* [core] Add filtering option to test-runnerAlexander Shalamov2019-08-281-9/+53
| | | | | | | This change adds filter command line option to render test runner, so that test can be filtered by providing regular expression, for instance: mbgl-render-test -f .*hillshade.*
* [test runner] Use allocation peak values for memory metricsMikhail Pozdnyakov2019-08-271-1/+1
|
* [test runner] Test metrics reports. Check metrics results.Mikhail Pozdnyakov2019-08-271-0/+53
|
* [test-runner] Introduce mapbox-gl-native test expectationsMikhail Pozdnyakov2019-08-161-9/+11
| | | | | | | | The `mapbox-gl-native`-specific render tests expected results will be stored at the `render-test/expected/` subfolder. Test runner will automatically put new expected results there if invoked with `UPDATE=true`.
* mbgl-render-test runner - use the same tolerance as with node render testAleksandar Stojiljkovic2019-08-071-3/+15
| | | | | Two render tests failing only with mbgl-render-tests are added to platform specific ignores. This is to be extended with fill-extrusion-pattern failing only on mac.
* [core] Implement C++ render test runnerBruno de Oliveira Abinader2019-06-251-0/+572