Commit Graph

21 Commits

Author SHA1 Message Date
Arthur Helmel
8223e647c9 replaced navigator with the angularjs equivalent .navigator, made the function browserSupportsCookies available for public access as cookie.isSupported and wrote tests to verify the functionality 2014-10-30 11:38:00 +01:00
Ariel Mashraki
2d4b402739 test(localStorageSpec): upgrade coverage, improve mocks 2014-10-17 16:09:59 +03:00
Ariel Mashraki
6a3c74b43a test(localStorageSpec): test .bind with deep comparison 2014-10-12 01:49:44 +03:00
Den Teresh
887b682815 localStorageService.bind to return a deregistration function 2014-10-09 14:59:11 +13:00
Ariel Mashraki
8a4bdc248b test(localStorageSpec): test cookie dealing with objects and arrays 2014-10-07 00:49:54 +03:00
Ariel Mashraki
44575f4028 test(localStorageSpec): test serialization numbers , issue #99 2014-10-07 00:25:09 +03:00
Ariel Mashraki
82b59ed1b5 test(localStorageService): test localStorage.length + imprve mock 2014-10-03 13:40:50 +03:00
Gregory Pike
58da1088d8 Get tests working 2014-10-03 01:16:48 -02:30
Yihang Ho
0b8d7820e9 Able to bind to scope using different keys. 2014-08-23 21:59:34 +08:00
Yihang Ho
84a9b404b6 Bind into property of objects. 2014-08-23 21:50:46 +08:00
Ariel Mashraki
60b3e5df94 test(localStorageService): create unit test, mocking and helpers 2014-08-13 09:39:35 +03:00
Ariel Mashraki
c66a761b3b refactor(test): remove old file test 2014-08-13 09:38:41 +03:00
Ariel Mashraki
18a02e5c6e test(locationStorage): create unit test file 2014-08-12 14:24:31 +03:00
John Burwell
3948d7ddfc - Checks the key list in every applicable scenario
- Clears local storage between test runs
2014-05-06 19:07:00 -04:00
John Burwell
9129451a27 - Adds the deriveQualifiedKey and deriveKey methods to ca;culate the key
with the prefix -- supporting deterministic internal operation and
loosely coupled white box testing
- Adds tests for remove, deriveKey, and key replacement
- Splits the add tests into 3 scenerios -- add JSON, add string, and add
  integer
- Remove the test stubs for get, set, and clearAll to properly test the
  underlying methods
2014-05-06 18:55:57 -04:00
Gregory Pike
d699266785 Updated for tests and linting 2014-02-19 23:40:06 -05:00
Marques Woodson
2bff9d3e3c Configured the service to a provider type for more configurability. 2013-11-03 12:19:07 -06:00
mwq27
e96a2b2435 Added check if stored value is a number to spyOn, since localStorage will store integers as strings. 2013-11-03 10:36:00 -06:00
mwq27
650e9b825d Update test.js 2013-11-02 10:05:44 -05:00
mwq27
7354a44bae Update test.js 2013-11-02 09:56:32 -05:00
Eddie Monge
3a4436f5af Add Grunt to automate testing and linting. Add Karma to run tests 2013-09-23 14:01:30 -07:00