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.
1 year ago
..
CombineExtensions.swift Resolved the remaining known internal testing issues 2 years ago
CommonMockedExtensions.swift Replaced Cocoapods with Swift Package Manager for dependency management 1 year ago
GRDBExtensions.swift Refactored the DSL for interacting with C structs 1 year ago
Mock.swift Fixed the broken unit tests 1 year ago
MockCaches.swift Fixed the broken tests and updated test dependencies 2 years ago
MockCrypto.swift Fixed the unit tests 1 year ago
MockGeneralCache.swift Further fixes 1 year ago
MockJobRunner.swift Further fixes 1 year ago
MockNetwork.swift Fixed the broken unit tests 2 years ago
MockUserDefaults.swift Fixed the broken tests and updated test dependencies 2 years ago
Mocked.swift Fixed the broken unit tests 1 year ago
NimbleExtensions.swift Fixed the unit tests 1 year ago
SynchronousStorage.swift Fixed the broken unit tests 1 year ago
TestConstants.swift
TestExtensions.swift Fixed the broken tests 2 years ago