Joel Fischer
33a693c45e
Add objectExists to replace existsObject
2022-08-14 13:48:44 -04:00
Artem Garmash
28acf9a115
Remove CacheResult in favor of Swift.Result
2020-11-01 11:50:25 +03:00
Mathias Quintero
0fb1ba5e63
Update tests
2020-09-13 12:32:30 +02:00
Mathias Quintero
98f7a3bb28
Add test for hasher constant accross executions
2020-09-13 12:27:27 +02:00
Mathias Quintero
6272726c2c
Remove compiler errors in tests for the scenario of running tests via SPM
2020-09-13 12:26:28 +02:00
Vadym Markov
7257dc6a21
Handle file extensions
2018-08-13 10:29:06 +02:00
Vadym Markov
e4fd35749c
Test observations in HybridStorage and Storage
2018-08-07 15:18:35 +02:00
Vadym Markov
364d2ecc04
Use associated enum for the key information
2018-08-03 15:21:56 +02:00
Vadym Markov
7c003de4fe
Rename functions in StorageObservationRegistry
2018-08-03 14:59:58 +02:00
Vadym Markov
cb85b99edc
Add unit tests for ObservationToken and StorageObservationRegistry
2018-08-03 14:03:10 +02:00
Vadym Markov
0ad8bbe0f1
Add unit tests for Storage and HybridStorage
2018-08-03 13:42:11 +02:00
Vadym Markov
a73bec5a0f
Implement observations in HybridStorage
2018-08-02 16:24:01 +02:00
Khoa Pham
a4b6058c2b
Use cache directory
2018-06-13 14:18:40 +02:00
Khoa Pham
66d76c1fa9
Remove trailing whitespaces
2018-06-13 14:05:01 +02:00
Khoa Pham
15c853dea9
Add StorageTests
2018-06-13 14:00:42 +02:00
Khoa Pham
08ee51c899
Default to document directory
2018-06-13 13:29:26 +02:00
Khoa Pham
a890d781a9
Add testOverridenOnDisk
2018-06-13 13:24:48 +02:00
Khoa Pham
40a8b3007d
Rename from support to transform
2018-06-13 13:21:37 +02:00
Khoa Pham
385371eb13
Add testOverriden
2018-06-13 13:16:03 +02:00
Khoa Pham
3390ee24c9
Add test for overriden
2018-06-13 13:10:51 +02:00
Khoa Pham
0aff00c087
Add tests for Data, Date, URL
2018-06-13 13:05:56 +02:00
Khoa Pham
ac0cedb627
Update AsyncStorageTests
2018-06-13 12:47:40 +02:00
Khoa Pham
02245ec60d
Update SyncStorageTests
2018-06-13 12:46:21 +02:00
Khoa Pham
e69d029498
Update HybridStorageTests
2018-06-13 12:39:52 +02:00
Khoa Pham
00bded495d
Update DiskStorageTests
2018-06-13 12:37:58 +02:00
Khoa Pham
6a81af8c2b
Use TransformerFactory
2018-06-13 12:36:10 +02:00
Khoa Pham
fb823e9f1f
Add TransformerFactory
2018-06-13 12:31:33 +02:00
Khoa Pham
be3a40cc01
Update MemoryStorageTests
2018-06-13 12:29:15 +02:00
Lug4rd
096014c42c
Extend storage aware protocol
...
Added check function for expired object by key
2018-02-12 01:34:20 +03:00
Lug4rd
ed4f5ca579
Fix "expiry" values
...
While using .seconds case an object never be with expired date and expiry values will be different for memory and disk storages when coped to memory for hybrid storage.
2018-02-12 01:29:35 +03:00
Stuart Tett
2215f92365
Get Dispatch compiling on linux
...
explicitly importing Dispatch
2017-11-28 10:44:01 -08:00
Khoa Pham
76a1f16dba
Add JSONWrapperTests
2017-10-27 12:45:16 +02:00
Khoa Pham
620dcd0fb8
Inline SwiftHash
2017-10-27 09:28:06 +02:00
Khoa Pham
f198137ee2
Merge pull request #155 from hyperoslo/fix/json_decoder
...
Extending JSONDecoder
2017-10-09 13:12:48 +02:00
Khoa Pham
1a9ad76ff1
Remove ObjectConverter, just extend JSONDecoder
2017-10-09 11:36:39 +02:00
Khoa Pham
3acb393f0c
Add test for same properties
2017-10-09 11:28:00 +02:00
Khoa Pham
3568c628af
Add test for migration
2017-10-09 11:23:53 +02:00
René van Mil
29b9acaf99
Recreate directory when calling removeAll
2017-09-26 13:18:05 +02:00
Khoa Pham
50808d6e38
Remove newline
2017-09-19 10:35:12 +02:00
Khoa Pham
ceb43237d9
Add ObjectSerializerTests
2017-09-18 15:25:13 +02:00
Khoa Pham
e5272ce49b
Add testDate, testURL
2017-09-18 14:51:23 +02:00
Khoa Pham
9fb7db8c47
Add testSetData
2017-09-18 14:44:33 +02:00
Khoa Pham
552787874c
Specify type instead of declaring type
2017-09-18 09:18:00 +02:00
Khoa Pham
a74ab93248
Pass a queue into storage
2017-09-15 15:05:58 +02:00
Khoa Pham
6a86a9b076
Rename to StorageTests
2017-09-15 15:05:47 +02:00
Khoa Pham
8f6fb114c8
Remove ReadSyncWriteAsyncStorage
2017-09-15 14:50:46 +02:00
Khoa Pham
634a13ced9
Remove testmanyOperations for now
2017-09-15 14:22:41 +02:00
Khoa Pham
ee4534dc5d
Add some texts
2017-09-15 14:07:42 +02:00
Khoa Pham
aa7fb62a25
Use different disk name
2017-09-15 14:04:52 +02:00
Khoa Pham
fd5fea6e8f
Remove wait(for: second) functions
2017-09-15 13:54:46 +02:00