Chakib Benziane
85585772e0
Jshint fixes
9 years ago
Chakib Benziane
f08babe2b0
Fix tests
9 years ago
Chakib Benziane
15ad8a603e
behave like cacheFactory, add put method
9 years ago
Ariel Mashraki
6ae576d82e
test(localStorageProvider): issue #165
10 years ago
Ariel Mashraki
1b4fd8d451
fix(karma): add phantomjs lancher and more
10 years ago
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
10 years ago
Ariel Mashraki
2d4b402739
test(localStorageSpec): upgrade coverage, improve mocks
10 years ago
Ariel Mashraki
6a3c74b43a
test(localStorageSpec): test .bind with deep comparison
10 years ago
Den Teresh
887b682815
localStorageService.bind to return a deregistration function
10 years ago
Ariel Mashraki
d2bc39f2ba
refa(src/*): refactor improve things
10 years ago
Ariel Mashraki
8a4bdc248b
test(localStorageSpec): test cookie dealing with objects and arrays
10 years ago
Ariel Mashraki
44575f4028
test(localStorageSpec): test serialization numbers , issue #99
10 years ago
Ariel Mashraki
82b59ed1b5
test(localStorageService): test localStorage.length + imprve mock
10 years ago
Gregory Pike
58da1088d8
Get tests working
10 years ago
Gregory Pike
b5c681b6f6
Attempted to reorganize module while resolving conflicts
10 years ago
Yihang Ho
0b8d7820e9
Able to bind to scope using different keys.
10 years ago
Yihang Ho
84a9b404b6
Bind into property of objects.
10 years ago
Ariel Mashraki
38a769ea88
fix(karma.conf.js): update file src
10 years ago
Ariel Mashraki
60b3e5df94
test(localStorageService): create unit test, mocking and helpers
10 years ago
Ariel Mashraki
c66a761b3b
refactor(test): remove old file test
10 years ago
Ariel Mashraki
0d94b97503
fix(karma.conf): remove unnecessary comma
10 years ago
Ariel Mashraki
18a02e5c6e
test(locationStorage): create unit test file
10 years ago
John Burwell
3948d7ddfc
- Checks the key list in every applicable scenario
...
- Clears local storage between test runs
10 years ago
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
10 years ago
Gregory Pike
d699266785
Updated for tests and linting
10 years ago
Marques Woodson
2bff9d3e3c
Configured the service to a provider type for more configurability.
11 years ago
mwq27
e96a2b2435
Added check if stored value is a number to spyOn, since localStorage will store integers as strings.
11 years ago
mwq27
650e9b825d
Update test.js
11 years ago
mwq27
7354a44bae
Update test.js
11 years ago
Eddie Monge
176065aa00
rename part 2
11 years ago
Eddie Monge
3a4436f5af
Add Grunt to automate testing and linting. Add Karma to run tests
11 years ago