Commit graph

265 commits

Author SHA1 Message Date
Michael Kirk e2ad9d81bb attachment factory
flesh out other factory builders
2018-11-11 11:28:59 -06:00
Michael Kirk 06b763dfc4 Remove unused methods/tests 2018-11-11 11:13:05 -06:00
Michael Kirk 59d3699e1b remove invalid test - non-optional argument triggers debug assert 2018-11-11 11:13:05 -06:00
Michael Kirk dd9bd1c1b9 remove unused header for DatabaseConverter test 2018-11-11 11:13:05 -06:00
Michael Kirk c710b7f8f2 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
2018-11-11 11:13:05 -06:00
Michael Kirk 90500475f1 fixup searcher test 2018-10-29 12:20:27 -06:00
Michael Kirk 159c546d16 update test environment 2018-10-29 12:20:14 -06:00
Matthew Chen 275414cbda Respond to CR. 2018-10-16 17:42:54 -04:00
Matthew Chen 7c1f1882d8 Sync "show UD indicators" setting. 2018-10-16 17:42:54 -04:00
Matthew Chen c6ef7f18e7 Improve test logging. 2018-10-16 13:01:24 -04:00
Matthew Chen 48c4576c06 Fix failing test. 2018-10-15 15:51:43 -04:00
Matthew Chen 0b4ed1175d Create AppEnvironment. 2018-10-15 15:08:37 -04:00
Matthew Chen d7e52367ff Create AppEnvironment. 2018-10-15 15:08:37 -04:00
Matthew Chen bc4ac8cd15 Respond to CR. 2018-10-15 15:08:00 -04:00
Matthew Chen df6fe05d0d Get tests running. 2018-10-15 13:39:45 -04:00
Matthew Chen 53466386fd Get tests running. 2018-10-15 12:59:28 -04:00
Matthew Chen 32cf68bece Get all tests building. 2018-10-15 12:50:07 -04:00
Matthew Chen 603e3bf0b6 Move SM singletons to Environment. 2018-10-15 11:34:42 -04:00
Michael Kirk d6a6024f37 Update PromiseKit 2018-10-13 16:04:20 -06:00
Matthew Chen c907721a18 Rotate profile key if blocklist intersects profile whitelist. 2018-10-11 13:02:02 -04:00
Matthew Chen f24ccb3ce6 Hang more singletons on SSKEnv. 2018-10-11 08:56:50 -04:00
Matthew Chen d4fab97a7b Fix build breakage. 2018-10-02 13:55:10 -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 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
Michael Kirk 06eae47e09 ConversationViewItem -> protocol 2018-09-28 12:58:33 -06: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 66fc389fba Get SSK tests building and running. 2018-09-21 09:08:39 -04:00
Matthew Chen b881bb467c Fix proto stream test. 2018-09-20 15:03:27 -04:00
Matthew Chen e8186a7005 Fix rebase breakage. Make environment properties mutable in tests. 2018-09-19 16:30:03 -04:00
Matthew Chen e1db60c1c0 Rework creation of singletons. 2018-09-19 15:11:26 -04:00
Matthew Chen 0c6f6cdafd Fix compilation errors in Signal tests. 2018-09-19 13:53:57 -04:00
Michael Kirk 13856acb02 remove wrong import 2018-09-17 12:37:51 -06:00
Michael Kirk 966db1bd49 Get tests compiling by any means necessary
comment out and fail tests which don't compile
2018-09-17 10:10:32 -06:00
Michael Kirk fdc846cb55 remove test for deleted method 2018-09-17 10:10:32 -06:00
Michael Kirk 170eb63772 update old non-existant API usage 2018-09-17 10:10:32 -06:00
Michael Kirk 7a832e85ec remove wrong import 2018-09-17 10:10:32 -06:00
Matthew Chen 9b94580dae Update assertions.
* Streamline precompiled headers.
* Remove obsolete assertions in Constraints.h.
2018-09-14 14:30:06 -04:00
Matthew Chen 6c8af5b541 Update cocoapods. 2018-09-14 14:23:44 -04:00
Matthew Chen 62c55c9cfb Fix broken tests. 2018-09-14 14:20:39 -04:00
Matthew Chen 3935b019f4 Add base class for tests. 2018-09-10 17:30:18 -05:00
Matthew Chen cc117b385c Modify environment accessors to use our 'shared' convention. 2018-09-07 16:20:59 -04:00
Matthew Chen bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 2018-09-07 16:19:00 -04:00
Matthew Chen f9eab5cd24 Merge remote-tracking branch 'origin/release/2.29.2' 2018-09-07 15:27:50 -04:00
Michael Kirk c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Matthew Chen 498828f93c Rename AttachmentStream methods. 2018-09-06 15:30:00 -04:00
Matthew Chen 9ab4da5c81 cherry-pick Merge branch 'charlesmchen/logSdp' 2018-09-04 13:51:31 -06:00