summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [metrics] Add new baselinesupstream/tmpsantos-render_test_cacheThiago Marcos P. Santos2020-01-08109-218/+218
| | | | More accurate now since everything goes through the FileSource.
* [core] Make it possible to reopen the database read-only for testingThiago Marcos P. Santos2020-01-085-38/+120
| | | | | | Needed for Android, because the database is in readonly filesystem and also because it is annoying to see files modified every time we run the tests.
* [metrics] Add 2 tests to the ignore listThiago Marcos P. Santos2020-01-081-0/+2
| | | | | Need further investigation on why these tests are failing after we started to use the cache database.
* [metrics] Use the cache database instead of file paths for fixturesThiago Marcos P. Santos2020-01-0816-48/+27
| | | | | Now that we use a cache, we no longer need "asset_path" and "vendor_path".
* [render-test] Use image from the cache for addImage operationThiago Marcos P. Santos2020-01-084-11/+37
| | | | Instead of trying to read it from the filesystem.
* [render-test] Effectively use the offline cache for fixturesThiago Marcos P. Santos2020-01-089-267/+87
|
* [render-test] Add access token to the test manifestThiago Marcos P. Santos2020-01-082-1/+27
| | | | | Needed if we want to run tests online. Will default to the MAPBOX_ACCESS_TOKEN environment value.
* [render-test] Add flag to run tests onlineThiago Marcos P. Santos2020-01-081-3/+11
| | | | | And also make it not go to the network by setting the status explicitly when when the -o flag is not passed.
* [render-test] Add cache database path to the manifestThiago Marcos P. Santos2020-01-082-0/+18
| | | | A path relative to the manifest pointing at the data cache.
* [render-test] Fixed typo and remove unusedThiago Marcos P. Santos2020-01-081-29/+14
|
* [tools] Added cache toolThiago Marcos P. Santos2020-01-082-0/+111
| | | | | A tool for adding resources to a cache database, important for adding fixtures to our render test cache database.
* [android] promote releaseCoreLayer from protected to publictobrun2020-01-061-3/+3
|
* [android] Share common code between test runnersJuha Alanen2020-01-037-475/+259
|
* [build] Run Android benchmark on FirebaseJuha Alanen2020-01-031-0/+35
|
* [benchmark] Run benchmark as NativeActivity application on AndroidJuha Alanen2020-01-0323-20/+772
|
* [build] Make the configuration simplerThiago Marcos P. Santos2019-12-216-38/+27
| | | | | | Moved the Android flags to the compilation options interface and removed build options we are not using and go back to CMake defaults.
* remove unused code (#16077)Dane Springmeyer2019-12-192-2/+0
|
* [core] Handle zero text sizeMikhail Pozdnyakov2019-12-191-1/+1
| | | | | | | | The style specification stipulates that `text-size` values must be positive (https://docs.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-text-size). However, a zero value could be passed to the engine (e.g. as a result of an expression) this patch handles it and avoids assertion hit in `shaping.cpp`.
* [core] Offline download must clear batch buffer at load interruptMikhail Pozdnyakov2019-12-182-1/+83
| | | | | | | Otherwise, the stale buffer data are processed again at the repeated load. It is causing various problems like missing load completion notification or crashes (if the previously used observer instance has been deleted).
* [tests] Update all-anchors-tile-map-mode expectationsMikhail Pozdnyakov2019-12-185-36/+36
|
* [test runner] Show all tiles independently in Tile modeMikhail Pozdnyakov2019-12-182-7/+59
|
* [test runner] Rendering a single tile in Tile modeMikhail Pozdnyakov2019-12-183-11/+40
|
* Include padding when testing camera scale in cameraForLatLngBoundsAleksandar Stojiljkovic2019-12-172-11/+28
| | | | | Repurpose LatLngBoundsToCameraWithBearingAndPitch to test scaling and camera setup, both with and without padding. This adds testing of path not covered in mapbox/mapbox-gl-native-ios#59.
* correct insets camera management - see ↵Romain Quidet2019-12-171-16/+3
| | | | https://github.com/mapbox/mapbox-gl-native-ios/issues/59
* [core] Update changelogAlexander Shalamov2019-12-171-0/+4
|
* [metrics] Add baselines for a new testAlexander Shalamov2019-12-178-16/+156
|
* [core] Fix really overscaled lines #16018Ansis Brammanis2019-12-172-7/+7
|
* [core] Update changelogAlexander Shalamov2019-12-171-0/+4
|
* [metrics] Add new baselinesAlexander Shalamov2019-12-1714-16/+296
|
* [core] Unskip render testsAlexander Shalamov2019-12-171-2/+0
|
* [core] Enable 'line-sort-key' and 'fill-sort-key' layout properties (#15839)Andrew Hay Kurtz2019-12-1718-124/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Generate style code for 'line-sort-key' and 'symbol-sort-key' - Add new layout properties to FillLayer::Impl, FillBucket, and FillLayerFactory - Fix consistency of paint and layout properties type alias usage in FillBucket, LineBucket - Add optional feature sorting to fill and line Layout creation - Enable node render tests for fill-sort-key and line-sort-key - Fix FillBucket test construction - Prefer emplace_back to push_back for PatternFeature container - Fix buggy static_cast for PatternFeature indices - Maintain sort of features as they are created - Switch pattern layout features container to list from vector for better insert performance - Fix formatting expected by sanity check - Use subclass PatternLayoutSorted to work around lack of template functions - Fix to retain source order for features with equivalent sort keys during sorting - [core] Fix clang-format - [core] Address review comments - [core] Pass inserting strategy class at compile time - [core] Use sorted strategy only if sort key is defined in layout - [core] Update style generator - [core] Merge PatternLayout and PatternLayoutSorted classes - Use static methods for inserter strategies - Merge PatternLayout and PatternLayoutSorted classes
* [render-tests] Fix tests not rendering when both metrics and render failsThiago Marcos P. Santos2019-12-171-5/+7
|
* [qt] Fix usage of QNetworkReply after deletionMikhail Pozdnyakov2019-12-172-4/+5
|
* [metrics] Remove **/token from .gitignoreThiago Marcos P. Santos2019-12-179-1/+280
| | | | This explains why these tests were not being rebaselined...
* [render-test] Cleanup on the render tests resultsThiago Marcos P. Santos2019-12-165-120/+129
| | | | | Simplify the code path and make it print both rendering error and metrics on fail.
* [metrics] Add new baselines for Linux Clang8 and macOSThiago Marcos P. Santos2019-12-162197-0/+76768
|
* [metrics] Rebaseline Linux GCC8 metricsThiago Marcos P. Santos2019-12-1653-1822/+0
| | | | Sames as for Android, remove ignored and probes not in use.
* [metrics] Rebaseline Android testsThiago Marcos P. Santos2019-12-161134-15579/+0
| | | | | | | This was done using the new baseline bot :-) - Removed metrics from ignored tests. - Removed memory metrics for render tests, not in use.
* [metrics] Delete test that doesn't make senseThiago Marcos P. Santos2019-12-162-32/+0
| | | | | | | This test is ignored because we expect it to "ignore but fail". But it will generate a fatal error because it doesn't have the metrics file, thus should have been skipped instead.
* [build] Collect and publish new baselinesThiago Marcos P. Santos2019-12-1632-153/+163
| | | | Also fail the bot in case there are new baselines.
* [build] If not found, use the cache from the sanity checks botThiago Marcos P. Santos2019-12-161-1/+1
| | | | Better than initializing git submodules from scratch.
* [build] Reorganize the render testsThiago Marcos P. Santos2019-12-16127-332/+351
| | | | | | Move everything that might collect metrics to the metrics/ directory, the only test manifests inside the render-test/ directory are the unit tests of the probes.
* [node] Do not run query testsThiago Marcos P. Santos2019-12-161-1/+0
| | | | We run them now with the native tool.
* [render-test] Fix metrics passing when failingThiago Marcos P. Santos2019-12-163-16/+32
| | | | | | Metrics will now fail, but the tool will return 0 when *ONLY* metrics fail, to make the bot continue. We will also run ignored tests and check if they are ignored but passing.
* [test runner] Explicitly initialize TestContext POD membersMikhail Pozdnyakov2019-12-141-2/+2
|
* [ios, macos]Remove iOS/macOS codes from native codes (#16031)m-stephen2019-12-1414-23/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add source/header * add ios files * add configs * modify name * http_file_source * add interface delegate when map init * fix name * fix delegate name * support mac os * add mac os support * make optional delegate when mac os * mac/ios difference * add ios change log * cancel iOS/mac OS judgement * cancel iOS/mac OS judgement * cancel judgement in .m * update * update * update http_file_source * update ios * update mac os * add mac os file * add mac os file to `.cmake` * change names * add log & fix format * reset changelog commit * update changelog * rename iOS network manager * Add a test configuration(same as default configuration) when mac os run tests * re-add account type into `http_file_source` * refactor
* add pr template to this repo (#16054)Chloe Krawczyk2019-12-131-0/+11
| | | let's go with this for now and make any additional changes in future prs!
* [test-runner] Fix network probeAlexander Shalamov2019-12-131-3/+7
|
* [core] Create gl-native changelog with entries since the last releaseAlexander Shalamov2019-12-131-5/+92
|
* [render test] Fix probes failure reportsMikhail Pozdnyakov2019-12-133-11/+7
|