element-x-ios/UnitTests/Sources
Mauro c67c4e362e
Auto-Mocking with Sourcery (#597)
* work in progress, was able to generate a mock for the RoomProxyProtocol, I'll try if I can swap the mock we have with this one

* removing swiftformat from generated

* added the disable of swiftlint directly into the .stencil

* testing if danger still complains

* improved the stencil

* session verification controller proxy using auto mockable

* BugReport mocks and tests added

* changelog

* fixing a typo

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* fix typo in the test

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* removing the Protocol word from the type if present

* using extension in place of a subclass

* removed unused imports

* improved the yielding code

* moved Sourcery files

* stencil master

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-03-08 17:04:31 +01:00
..
MediaProvider Remove unused media loading from URL. (#663) 2023-03-02 11:32:04 +00:00
NotificationManager Add SwiftFormat wraparguments (#579) 2023-02-15 08:53:10 +00:00
UserSession Auto-Mocking with Sourcery (#597) 2023-03-08 17:04:31 +01:00
AnalyticsTests.swift Resetting the app after deletion and cleanup settings (#372) 2022-12-16 10:02:22 +02:00
ArrayTests.swift Made room state event collapsing configurable, expose it in the developer menu. Allow the UserSetting property wrappers to only store values in memory (+11 squashed commits) 2023-02-24 07:34:07 +02:00
AttributedStringBuilderTests.swift Add permalink detection and custom attributed string attributes (#536) 2023-02-06 14:59:32 +00:00
BackgroundTaskTests.swift Fix state machine crashes & background tasks (#343) 2022-11-28 18:42:49 +03:00
BugReportServiceTests.swift Auto-Mocking with Sourcery (#597) 2023-03-08 17:04:31 +01:00
BugReportViewModelTests.swift Auto-Mocking with Sourcery (#597) 2023-03-08 17:04:31 +01:00
DateTests.swift Project file removal (#569) 2023-02-13 12:53:01 +00:00
DeveloperOptionsScreenViewModelTests.swift Fixes #322 - Developer options menu (#581) 2023-02-15 11:07:06 +00:00
ElementXTests.swift
EmojiMartJSONLoaderTests.swift Timeline Reactions: Emoji picker (#350) 2022-12-06 14:04:48 +00:00
EmojiProviderTests.swift Send reaction method placeholder (#355) 2022-12-07 11:19:47 +00:00
FileCacheTests.swift Video playback (#308) 2022-11-14 08:58:18 +00:00
FilePreviewViewModelTests.swift File messages on timeline (#311) 2022-11-16 11:34:37 +00:00
HomeScreenViewModelTests.swift Render state items in the timeline and as the last message on the home screen. (#473) 2023-01-20 13:37:39 +00:00
KeychainControllerTests.swift Soft logout removal (#672) 2023-03-06 14:58:50 +02:00
LocalizationTests.swift
LoggingTests.swift Made room state event collapsing configurable, expose it in the developer menu. Allow the UserSetting property wrappers to only store values in memory (+11 squashed commits) 2023-02-24 07:34:07 +02:00
LoginViewModelTests.swift
MatrixEntityRegexTests.swift Regex: Fixes `Permalink` action on timeline (#303) 2022-11-09 11:20:19 +00:00
NavigationRootCoordinatorTests.swift Fix remaining retain cycles, allow coordinators to be weakly referenced and make sure the NavigationStackCoordinator cleans up after itself 2023-02-02 13:08:08 +02:00
NavigationSplitCoordinatorTests.swift Fix navigationStackCoordinator getting torn down when being reset on … (#613) 2023-02-23 16:01:48 +02:00
NavigationStackCoordinatorTests.swift Fix remaining retain cycles, allow coordinators to be weakly referenced and make sure the NavigationStackCoordinator cleans up after itself 2023-02-02 13:08:08 +02:00
OnboardingViewModelTests.swift SwiftUI NavigationController and UserNotificationControllers (#309) 2022-11-16 13:37:34 +00:00
PermalinkBuilderTests.swift Add permalink detection and custom attributed string attributes (#536) 2023-02-06 14:59:32 +00:00
ReportContentViewModelTests.swift Report Content v2 (#659) 2023-03-02 18:24:10 +00:00
RoomDetailsViewModelTests.swift Room details screen (#348) 2022-12-19 14:39:33 +02:00
RoomMemberDetailsViewModelTests.swift Room member details cleanup (#452) 2023-01-17 09:31:53 +02:00
RoomScreenViewModelTests.swift
RoomStateEventStringBuilderTests.swift Handle API changes from Rust. (#506) 2023-01-31 13:28:28 +00:00
ScreenshotDetectorTests.swift Switch to Xcode 14 and handle the UICollectionView-backed List. (#229) 2022-10-17 09:56:17 +01:00
ServerSelectionViewModelTests.swift Update login and server selection screens (#651) 2023-03-02 18:05:18 +00:00
SessionVerificationStateMachineTests.swift Auto-Mocking with Sourcery (#597) 2023-03-08 17:04:31 +01:00
SessionVerificationViewModelTests.swift Auto-Mocking with Sourcery (#597) 2023-03-08 17:04:31 +01:00
SettingsViewModelTests.swift Media loading flow changes (#483) 2023-01-25 17:45:01 +00:00
SoftLogoutViewModelTests.swift Log out (#174) 2022-09-15 12:41:37 +03:00
StringTests.swift Fixes #225 - Use a properly defined user agent 2022-10-28 17:11:10 +03:00
TracingConfigurationTests.swift Various performance tweaks (#474) 2023-01-20 14:40:23 +00:00
UserAgentBuilderTests.swift Hardcode the sliding sync proxy. (#502) 2023-01-31 17:48:24 +00:00
UserNotificationControllerTests.swift 547 updated unit tests to replace userNotification with userIndicator 2023-02-14 11:35:17 +01:00