Matthew Chen
1d905119ac
Fix issues from integration testing.
2018-12-19 18:26:15 -05:00
Matthew Chen
cd194af31a
Respond to CR.
2018-12-19 18:26:15 -05:00
Matthew Chen
0005a33d37
Decrypt device names in linked devices views.
2018-12-19 18:26:15 -05:00
Matthew Chen
c113c8e962
Add DeviceNamesTest.
2018-12-19 18:26:15 -05:00
Michael Kirk
7eaaab7be4
restrict self device id in message building, not in recipient data model
2018-11-13 10:38:08 -06:00
Michael Kirk
7cba367c0a
reconcile jobqueue tests with NSTimer based retry
2018-11-11 11:31:57 -06:00
Michael Kirk
2f3d875dcf
fixup ud manager tests
2018-11-11 11:31:57 -06:00
Michael Kirk
79bed93b2d
reconcile jobqueue with new readiness based setup
2018-11-11 11:28:59 -06:00
Michael Kirk
24668fa790
update to reflect id assignment on build
2018-11-11 11:28:59 -06:00
Michael Kirk
4b0fc51933
update test to reflect correct behavior
2018-11-11 11:28:59 -06:00
Michael Kirk
e2ad9d81bb
attachment factory
...
flesh out other factory builders
2018-11-11 11:28:59 -06:00
Michael Kirk
4d860bb9c7
fixup job queue test
2018-11-11 11:28:59 -06:00
Michael Kirk
24f57cedda
add missing method to FakeContactsManager, convert to Swift to avoid missing
...
protocol methods in the future.
2018-11-11 11:28:59 -06:00
Michael Kirk
ca58bb00f7
fixup tests from throws_ audit
2018-11-11 11:16:37 -06:00
Michael Kirk
f45908c89d
fixup spk deletion test
2018-11-11 11:13:05 -06:00
Michael Kirk
8472801c4b
fix link error when launching SSK tests
2018-11-11 11:13:05 -06:00
Matthew Chen
40aa78e001
Merge remote-tracking branch 'origin/release/2.31.0'
2018-10-31 11:42:41 -04:00
Matthew Chen
ee87f1b489
Fix test breakage.
2018-10-30 16:18:22 -04:00
Matthew Chen
2541be1619
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Michael Kirk
cb9aa6304c
find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \;
2018-10-30 11:35:34 -06:00
Michael Kirk
5f5ec9b82a
ExceptionWrap loadPreKey
2018-10-30 11:35:34 -06:00
Matthew Chen
deafc749d1
Fix UD manager tests.
2018-10-29 16:41:02 -04:00
Michael Kirk
b8e4bfff86
shuffle isReady->isSetup, centralize starting workStep
2018-10-25 11:56:39 -06:00
Michael Kirk
3560f3be5c
Durable send operation
...
TODO
-[x] respect order of queue
-[x] replacements
-[x] those w/o completion handler
-[x] basic send+log operation persists
-[x] send+ui completion
-[x] share extension
-[x] update state jobs
-[x] App Lifecyle
-[x] settable
-[x] Mark as ready on startup
-[x] Fail appropriate jobs on startup
NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
-[x] retry failed jobs on startup?
-[ ] reachability
DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
2018-10-25 11:54:59 -06:00
Matthew Chen
c6ef7f18e7
Improve test logging.
2018-10-16 13:01:24 -04:00
Michael Kirk
d6cbdddc42
Fix test build, rename src/Test/ ->src/TestUtils/ to avoid confusion with the
...
existing test/ directory
2018-10-15 15:58:54 -06:00
Michael Kirk
ac7f9f62d4
factories for tests
2018-10-15 15:20:23 -06:00
Matthew Chen
32cf68bece
Get all tests building.
2018-10-15 12:50:07 -04:00
Matthew Chen
8bd97aaaa0
Respond to CR.
2018-10-11 08:55:37 -04:00
Matthew Chen
03f23b5f79
Fix breakage in UD manager; add UD manager test, hang TSAccountManager on SSKEnv, fix bugs in tests.
2018-10-11 08:46:24 -04:00
Matthew Chen
a6eed30127
Add 'is ud' property to outgoing messages.
2018-10-10 14:32:14 -04:00
Matthew Chen
1d40cbfb41
Rework account attributes; persist manual message fetch; add "unrestricted UD" setting.
2018-10-03 08:59:55 -04:00
Matthew Chen
dca46e019f
Respond to CR.
2018-10-02 13:25:42 -04:00
Matthew Chen
7fd15d2fd9
Add server certificate methods to UD manager.
2018-10-02 13:24:00 -04:00
Matthew Chen
21177e84db
Fix or disable tests broken by recent merges.
2018-10-02 13:19:51 -04:00
Matthew Chen
71da312336
Post-SMK ud changes.
2018-10-02 13:19:41 -04:00
Matthew Chen
db487705c3
Fix breakage in the tests.
2018-10-02 12:42:07 -04:00
Matthew Chen
7d727b7ac9
Modify proto wrapper builders to require required fields.
2018-10-01 09:08:23 -04:00
Matthew Chen
04db4ca950
Get SMK tests building and passing.
2018-10-01 09:08:02 -04:00
Matthew Chen
3738155c81
Fix build breakage from SMK.
2018-10-01 09:08:02 -04:00
Matthew Chen
8ae200ac21
Fix build breakage around SignalCoreKit.
2018-10-01 09:07:40 -04:00
Matthew Chen
0125535d4d
Pull out SignalCoreKit.
2018-10-01 09:06:40 -04:00
Matthew Chen
98630cca50
Respond to CR; add db utility methods to test base classes.
2018-09-21 09:21:34 -04:00
Matthew Chen
559c496ae5
Clean up.
2018-09-21 09:08:39 -04:00
Matthew Chen
66fc389fba
Get SSK tests building and running.
2018-09-21 09:08:39 -04:00
Matthew Chen
e1db60c1c0
Rework creation of singletons.
2018-09-19 15:11:26 -04:00
Matthew Chen
62c55c9cfb
Fix broken tests.
2018-09-14 14:20:39 -04:00
Matthew Chen
2ba642c9e9
Ensure fakes/mocks are debug-only.
2018-09-14 14:18:39 -04:00
Matthew Chen
e784f9feeb
Move fakes to SSK/tests.
2018-09-14 14:05:43 -04:00
Matthew Chen
25239ca608
Respond to CR.
2018-09-10 17:43:17 -05:00