You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/_SharedTestUtilities
Morgan Pretty 1396652698 Refactored the DSL for interacting with C structs
There were a few logs related to bad memory access within libSession and the `toLibSession` convention which we'd originally setup made me nervous as C-friendly objects would be allocated in Swift and then assigned to C struct properties but I'm not sure how the memory would actually behave in this case.

This updated approach unfortunately involves a bunch of duplicate code within 'TypeConversion+Utilities' (and some horrible type aliases for tuples) but as a result we now have compile-time safe 'get' and 'set' functions for any C struct which conforms to `CAccessible` and `CMutable`. The other nice benefit about this change is that the new `set` functions copy memory across into the C structs so we can have more confidence that the memory ownership has shifted to the libSession side of things.
7 months ago
..
CombineExtensions.swift Resolved the remaining known internal testing issues 2 years ago
CommonMockedExtensions.swift Replaced Cocoapods with Swift Package Manager for dependency management 8 months ago
GRDBExtensions.swift Refactored the DSL for interacting with C structs 7 months ago
Mock.swift Fixed the broken unit tests 9 months ago
MockCaches.swift Fixed the broken tests and updated test dependencies 2 years ago
MockCrypto.swift Fixed the unit tests 8 months ago
MockGeneralCache.swift Further fixes 9 months ago
MockJobRunner.swift Further fixes 9 months ago
MockNetwork.swift Fixed the broken unit tests 1 year ago
MockUserDefaults.swift Fixed the broken tests and updated test dependencies 2 years ago
Mocked.swift Fixed the broken unit tests 9 months ago
NimbleExtensions.swift Fixed the unit tests 8 months ago
SynchronousStorage.swift Fixed the broken unit tests 9 months ago
TestConstants.swift Added toast and info message deletion, fixed layout issues & unit tests 3 years ago
TestExtensions.swift Fixed the broken tests 2 years ago