summaryrefslogtreecommitdiff
path: root/test/storage/asset_file_source.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [test] Rename Stress test to LoadThiago Marcos P. Santos2016-06-091-1/+1
| | | | Too slow to run on valgrind.
* [core] Clean up ThreadContext vestigesJohn Firebaugh2016-04-151-1/+1
|
* [tests] Rationalize storage testsJohn Firebaugh2016-04-141-70/+41
| | | | Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests.
* [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-241-7/+7
|
* [ios] make unit tests work on iOS and iOS SimulatorKonstantin Käfer2016-03-221-0/+5
|
* [core] Reimplement existing caching within an offline-capable database schemaJohn Firebaugh2016-02-101-1/+0
|
* [tests] Add test for AssetFileSource URL encodingJohn Firebaugh2016-02-081-0/+21
|
* [core] Eliminate Response::stale and inline Response::isExpired()John Firebaugh2016-01-211-8/+0
| | | | Response::isExpired() had subtle and potentially confusing behavior around Seconds::zero(). It's best to inline it and comment why.
* [core] Eliminate platform::assetRoot()John Firebaugh2016-01-131-6/+7
| | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
* [core] Simplify asset:// implementationJohn Firebaugh2016-01-131-0/+182
* Move asset:// URL handling to DefaultFileSource. * AssetFileSource implements FileSource interface and follows familiar implementation patterns. * Move default implementation to platform/default, zip implementation to platform/android. * Don't bother with modified / expires / etag -- assets are not cached so it doesn't matter. * Don't bother with interleaving individual IO calls on the implementation thread. That adds a lot of complexity for very little benefit.