Commit Graph

7 Commits

Author SHA1 Message Date
James Burgess
552764635e Modernize appcache package (#9600) 2018-02-08 10:35:13 -05:00
Nick Martin
8014a6be52 comments and naming per review. 2014-10-07 13:53:26 -07:00
Nick Martin
c969263299 Point to a non-existent file when testing to clear appcache properly. 2014-10-07 13:53:25 -07:00
Nick Martin
ee65d21699 Run appcache size check after user code has had a chance to run.
This way the size check takes calls to Meteor.AppCache.config()
into account, so users can remove files from the cache and get
rid of the warning.

Also, add an internal option to totally disable the warning and
use it in tests.
2014-10-07 13:53:25 -07:00
Maxime Quandalle
ddc4bc7442 Complete the appcache test suite
* Add a test to verify section header unicity
* Add a test to verify NETWORK section content
* Simplify the regular expressions used in the manifest content test.
2014-10-07 13:53:25 -07:00
Maxime Quandalle
87e3b14a8a Improve appcache tests
+ Verify manifest content-type
+ Verify all lines validity with regular expressions
2014-10-07 13:53:25 -07:00
Maxime Quandalle
8cf480abd6 Disable the cache manifest in the tinytest client application to
ensure determinitic tests
2014-10-07 13:53:25 -07:00