summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Added utests for cache versioningThiago Marcos P. Santos2016-01-051-4/+38
|
* [test] terminate test server when stdin closesKonstantin Käfer2016-01-055-46/+66
|
* [test] Remove terminate-when-inactive behavior from the test serverJohn Firebaugh2016-01-041-13/+0
| | | | | | | It caused #3163. Attempts at having the child exit automatically when the parent exits were stymied by the fact that unix sucks: http://stackoverflow.com/q/284325/52207.
* [tests] Add unit tests for SQLiteCache size limitThiago Marcos P. Santos2015-12-284-0/+233
|
* [tests] Simplify MockFileSourceJohn Firebaugh2015-12-245-157/+59
|
* [tests] Rewrite {Sprite,Glyph}Store tests in the style of ResourceLoadingJohn Firebaugh2015-12-244-366/+222
|
* [tests] Test with OnlineFileSourceJohn Firebaugh2015-12-2321-74/+74
| | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change.
* [core] Rationalize error handling for resource loadingJohn Firebaugh2015-12-234-156/+245
| | | | | | | | | * Standardize on std::exception_ptr as the error representation (fixes #2854). * Don't format textual strings at the error source; pass on the constituent data via observer method parameters instead. * Use the null object pattern to simplify observer notification code. * Further refactoring for ResourceLoading tests.
* [tests] Moved lazy source loading tests to ResourceLoadingBruno de Oliveira Abinader2015-12-233-187/+139
|
* [tests] Rewrite resource loading testJohn Firebaugh2015-12-222-122/+99
| | | | Make it more readable and easier to debug.
* [core] Merge SQLiteCache into the platform libraryJohn Firebaugh2015-12-221-1/+0
| | | | OfflineFileSource will depend on SQLite too.
* [tests] Create less threads on the AsyncTask testsThiago Marcos P. Santos2015-12-211-2/+2
| | | | | So we open less fds as new versions of OSX have a smaller limit (256).
* [core] Add more tests to on-demand source loadBruno de Oliveira Abinader2015-12-172-1/+48
|
* [core] Tests for style with unused sourcesBruno de Oliveira Abinader2015-12-173-0/+148
|
* [core] Load sources only if there is at least one visible layerBruno de Oliveira Abinader2015-12-173-1/+7
|
* [core] Fixed annotation icon replacementMinh Nguyễn2015-12-153-6/+25
| | | | Another pass at #3146, including a unit test.
* [core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VTKonstantin Käfer2015-12-142-6/+6
|
* [core] parse GeoJSON source typeKonstantin Käfer2015-12-118-0/+61
|
* [core] Reduce custom layer API to lowest common denominatorJohn Firebaugh2015-12-111-11/+14
|
* [tests] Force classic locale on toString testsThiago Marcos P. Santos2015-12-101-0/+4
| | | | | | Fix an issue where the test result can be affected depending on the current locale settings of the machine running the tests.
* [core] Custom layersJohn Firebaugh2015-12-096-39/+126
|
* [core] Replace StyleLayerType with RTTIJohn Firebaugh2015-12-073-38/+2
|
* [core] More efficient layer cloningJohn Firebaugh2015-12-072-0/+25
|
* [core] add std::move to constructorsKonstantin Käfer2015-12-032-2/+4
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-038-10/+10
|
* [core] fix various errors reported by clang-tidyKonstantin Käfer2015-12-031-1/+1
|
* [core] Fix std::move() misuse that disables copy elisionKonstantin Käfer2015-12-033-5/+5
|
* [core] Use optional where SpriteAtlas return values might not existJohn Firebaugh2015-12-011-14/+6
| | | | Fixes #3162
* [core] Map::setSprite ⇢ Map::addAnnotationIconJohn Firebaugh2015-12-011-4/+4
| | | | Fixes #3084
* [core] Use a separate atlas and store for annotation spritesAdam Hunter2015-12-011-1/+3
| | | | Fixes #1488
* [core] Move MapData storage to MapContextJohn Firebaugh2015-12-011-2/+2
| | | | | This allows MapData members to hold GL resources which must be released on the MapContext thread -- necessary for the following commit.
* Partially revert "[core] Source should receive a ref to MapData just once"John Firebaugh2015-12-011-4/+1
| | | | This partially reverts commit d55aa7929cb10d40a58b6b7a8ed73bddd4f0a407.
* [core] Don't link with libuv on components not using it directlyThiago Marcos P. Santos2015-12-011-3/+0
|
* [tests] Fix/improve Asset utestsThiago Marcos P. Santos2015-12-016-27/+116
| | | | | | ASSET=zip make test-* was broken and now works. Also added a test stressing concurrent file access.
* [core] Removed libuv dependency from AssetFSContextThiago Marcos P. Santos2015-12-012-2/+2
|
* [tests] Add utests for ThreadLocalThiago Marcos P. Santos2015-12-012-0/+96
|
* [tests] Remove libuv dependency from the testsThiago Marcos P. Santos2015-12-0123-145/+110
|
* [tests] Add utests for TimerThiago Marcos P. Santos2015-12-012-0/+180
|
* [tests] Add utests for AsyncTaskThiago Marcos P. Santos2015-12-012-0/+130
|
* [tests] Don't use icons from the style for annotationsJohn Firebaugh2015-11-309-19/+14
|
* [core] Source should receive a ref to MapData just onceBruno de Oliveira Abinader2015-11-271-1/+4
|
* [core] Replace time_t with std::chrono::secondsBruno de Oliveira Abinader2015-11-2714-66/+76
| | | | | | | Added aliases for std::chrono typedefs (eg. 'Seconds' for std::chrono::seconds). These aliases are used together with templated helper functions to replace time_t with std::chrono::seconds for most cases, in particular for 'modified' and 'expires' values in Response.
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-258-46/+19
| | | | | | | It's a premultiplied image. This implies that we were misusing encodePNG in most cases, as we were passing premultiplied pixels which were then interpreted as unmultiplied. I changed encodePNG to accept premultipled pixels, and unpremultiply in the implementations.
* [test] Add pixelmatch; use in annotation testsJohn Firebaugh2015-11-2515-21/+96
|
* [core] Add image testsJohn Firebaugh2015-11-258-0/+94
|
* [core] Rewrite image handlingJohn Firebaugh2015-11-256-40/+31
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [iOS] Wait for didChange notifications instead of timerMinh Nguyễn2015-11-251-15/+28
|
* [core] For binary image data use uint8_t, not charJohn Firebaugh2015-11-231-1/+1
|
* [core] more robust max-age parsingKonstantin Käfer2015-11-202-0/+72
|
* [core] Force style-sourced annotations to be visibleJohn Firebaugh2015-11-191-0/+3
|