summaryrefslogtreecommitdiff
path: root/test/storage
Commit message (Collapse)AuthorAgeFilesLines
* [android] use AAssetManager instead of libzipKonstantin Käfer2017-04-241-20/+9
|
* [core] Cache file source base URL and access tokenJesse Bounds2017-03-011-0/+16
| | | | | This caches the base URL and access token values when they are set so that they can still be retrieved even when the thread is paused.
* [test] add unit test for DefaultFileSource::setResourceTransform()Konstantin Käfer2017-02-201-0/+30
|
* [test] Added unit test for style request failuresThiago Marcos P. Santos2017-02-071-0/+31
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-274-15/+15
|
* [Qt] Implement mapbox::sqlite::{Database,Statement} using QtSqlBruno de Oliveira Abinader2017-01-232-19/+27
|
* [core] Move lastInsertRowId/changes to sqlite::StatementBruno de Oliveira Abinader2017-01-231-0/+19
|
* [android][build] core tests - initial setup for rendering testsIvo van Dongen2016-11-271-1/+1
|
* [core] fix up online file source test so it compiles on androidIvo van Dongen2016-11-271-5/+5
|
* [build] move logging to utilKonstantin Käfer2016-11-222-2/+2
|
* [core] Optimize OfflineDownload::ensureResource (#6707)Tore Halset2016-10-171-0/+53
| | | Add `OfflineDatabase::hasRegionResource`, for use when the actual contents are not needed by the caller, avoiding IO and decompression costs.
* [build] add back -WerrorKonstantin Käfer2016-09-301-1/+1
|
* [core] LocalFileSource implementation and testsIvo van Dongen2016-09-301-0/+124
|
* [test] add .test.cpp suffix to test case filesKonstantin Käfer2016-09-289-0/+0
|
* [core] Don't allow OfflineDownload to flood the request queueJohn Firebaugh2016-09-261-0/+25
|
* [core] allow offline region metadata to be updated (#6338)Molly Lloyd2016-09-201-0/+13
|
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-151-0/+11
| | | add runloop to test
* [tests] Add v3 & v4 database migration testsJason Wray2016-09-141-0/+58
|
* [core] Revert SQLite WAL journalingJason Wray2016-09-141-5/+5
|
* [core] OnlineFileSource - rate limitIvo van Dongen2016-09-132-0/+55
|
* [core] Update SQLite schema with WAL journal mode and normal syncJason Wray2016-08-231-5/+5
| | | | Offers 2×-4× performance, depending on device vintage.
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-163-16/+25
|
* Quadkey tokens in tile URL templates, limited WMS support (#5628)Minh Nguyễn2016-07-121-0/+56
| | | | | | | | | | | | | | * [core] Quadkey tokens in tile URL templates Fixes #5485. * [core] WMS tokens in tile URL templates Fixes #822. * [macos] Added WMS debug style Added a style to the macosapp resource bundle that can be used to test WMS support. To use it, zoom in to somewhere in New Jersey, then go to View ‣ Custom Style and enter “wms.json”.
* [core] Increment completedTileCount when appropriate (#5475)John Firebaugh2016-06-241-0/+2
|
* [core] Use Range<uint8_t> instead of full Tileset where possibleJohn Firebaugh2016-06-141-16/+8
|
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-133-63/+63
|
* [test] Rename Stress test to LoadThiago Marcos P. Santos2016-06-091-1/+1
| | | | Too slow to run on valgrind.
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-16/+16
|
* [core] allow creating optional requestsKonstantin Käfer2016-05-181-0/+252
| | | | | | Introduces "optional" requests. These should be fulfilled by the FileSource only there's a low-cost/easy way to obtain the data (e.g. from a local cache). If the data for an optional request cannot be found, it *must* return a Response object with a NotFound error. Traditional "required" requests still work the same way, with one change: If you set any prior* field in the Resource (i.e. priorModified, priorEtag, or priorExpires), the DefaultFileSource assumes that you already have the cache value and will not consult the cache before performing the request. If a prior cache lookup didn't turn up any data, and you therefore don't have an Etag or Modified value, you can still skip the cache by setting priorExpires. This will of course always result in a non-conditional HTTP request.
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-133-10/+10
|
* [core] retain tiles differently and remove old TileID classKonstantin Käfer2016-05-101-30/+19
|
* [core] Refactor getRegionCompletedStatus; add completedTileCount; add testsJohn Firebaugh2016-04-271-0/+34
|
* [tests] Rationalize test fixtures (#4834)John Firebaugh2016-04-252-225/+79
| | | Place them in a directory corresponding to the test .cpp file name.
* [core] Use the proper type for font stacksJohn Firebaugh2016-04-221-1/+1
|
* [core] Clean up ThreadContext vestigesJohn Firebaugh2016-04-151-1/+1
|
* [tests] Rationalize storage testsJohn Firebaugh2016-04-1417-899/+639
| | | | Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests.
* [core] Demote "Unable to make space for entry" message from Warning to Debug ↵John Firebaugh2016-04-141-6/+2
| | | | (#4708)
* [build] Refactor and simplify build systemJohn Firebaugh2016-04-072-22/+0
| | | | | | | | | | | | | | * Main gyp files are now standardized as platform/<platform>/platform.gyp. * Each platform gyp file defines appropriate loop_lib and headless_lib variables. * Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms. * CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`. * Renamed the "linux" test app to "glfw". It's now built in OS X CI. * Android build flakiness is fixed. * iOS CI builds the bench and iosapp targets. * Mesa version is now in one place. * CI scripts use bash "strict mode" and correct error handling. * All build output goes to the build directory. * Removed vestigial iOS/OS X/Android Travis scripts.
* Merge branch 'release-ios-3.2.0-android-4.0.0'John Firebaugh2016-03-302-4/+96
|\
| * [core] Set schema version to 3 after upgradingJohn Firebaugh2016-03-281-0/+8
| | | | | | | | | | | | The migration was upgrading the schema, but not the schema version. As a result, the (expensive) migration was running every time an OfflineDatabase was constructed with a v2 database. Fixes #4501
| * [core] Stop download when tile limit is reachedJesse Bounds2016-03-171-4/+60
| | | | | | | | | | | | | | | | The tile limit guard (when used) stops a download from continuing when the tile limit is reached. This wraps the guard in a method and employs it in both places currently necessary to ensure the guard has a chance to function. Tests have been updated to ensure the fix works for a less trivial tile limit scenario.
| * [core] Implement a vacuum strategy for the offline databaseJohn Firebaugh2016-03-171-0/+28
| | | | | | | | Enable `PRAGMA auto_vacuum = INCREMENTAL`, and perform a `PRAGMA incremental_vacuum` when deleting an offline region.
* | [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-2411-38/+38
| |
* | [tests] Mark some tests as requiring serverThiago Marcos P. Santos2016-03-233-5/+5
| | | | | | | | | | | | Otherwise they will fail on iOS with connection error. Fixex #4434
* | [tests] Tweak offline tests to work on iOSJohn Firebaugh2016-03-221-17/+8
| |
* | [ios] make unit tests work on iOS and iOS SimulatorKonstantin Käfer2016-03-2213-28/+37
| |
* | [test] rearrange test files so they're not in the fixtures folderKonstantin Käfer2016-03-225-8/+6
| |
* | [tests] Add utest to make sure prior expiration time is being respectedThiago Marcos P. Santos2016-03-171-0/+35
|/
* [core] Deactivate offline region upon completionMinh Nguyễn2016-03-111-6/+15
|