Wholphin/app/src/main/java/com/github/damontecres/wholphin/util
Ray 0004701296
Dev: add simple automated UI test setup (#1027)
## Description
This PR is mostly a proof-of-concept for setting up automated UI
testing. The tests use Roboelectric so they can run without an emulator.
There is also a sample instrumented test for running on emulators or
devices for future tests.

It adds two basic automated UI tests for adding a server. These are sort
integration tests because they use the actual implementations for the
view model and services like `ServerRepository` and `JellyfinServerDao`.

Also, moves the bulk of `MainActivity`'s compose code into a function
for future tests.

### Related issues
N/A

### Testing
Local testing

## Screenshots
N/A

## AI or LLM usage
None
2026-03-03 13:46:46 -05:00
..
mpv Fixes MPV crash when playing next up (#772) 2026-01-25 21:38:41 -05:00
profile Override H264/AVC High 10 Profile Level 5.2 support for some devices (#935) 2026-02-20 16:07:22 -05:00
ApiRequestPager.kt Add option to delete media (#1014) 2026-03-02 15:38:41 -05:00
BlockingList.kt Rebrand 2025-10-15 15:27:30 -04:00
CodecUtils.kt Rebrand 2025-10-15 15:27:30 -04:00
Constants.kt Add basic music video support (#948) 2026-02-21 15:30:16 -05:00
CoroutineContextApiClient.kt Fix some IO related crashes (#1008) 2026-02-26 15:48:39 -05:00
CrashReportSenderFactory.kt Dev: add simple automated UI test setup (#1027) 2026-03-03 13:46:46 -05:00
DebugLogTree.kt Add setting to increase logging verbosity (#354) 2025-11-30 17:27:41 -05:00
EqualityMutableLiveData.kt Rebrand 2025-10-15 15:27:30 -04:00
ExceptionHandler.kt Rebrand 2025-10-15 15:27:30 -04:00
FocusPair.kt Rebrand 2025-10-15 15:27:30 -04:00
LoadingExceptionHandler.kt Rebrand 2025-10-15 15:27:30 -04:00
LoadingState.kt Customize home page (#803) 2026-02-12 19:54:51 -05:00
LocalDateSerializer.kt Add integration with Jellyseerr/Seerr (#558) 2026-01-12 16:35:27 -05:00
Media3SubtitleOverride.kt Add setting for subtitle outline size (#375) 2025-12-05 16:55:46 -05:00
RememberTabManager.kt Fix several UI focus issues (#81) 2025-10-27 20:44:04 -04:00
TrackActivityPlaybackListener.kt Keep activity tracking alive even after errors (#209) 2025-11-13 11:36:57 -05:00
TrackSupport.kt Update style for ktlint 1.8 (#390) 2025-12-06 18:11:07 -05:00
TransformList.kt Support basic adding to playlists (#157) 2025-11-04 15:27:26 -05:00
Version.kt Rebrand 2025-10-15 15:27:30 -04:00