youpipe: fix detekt findings
- Commit
a13e0ae9fd30d57fc4d50010167faf657a95bbb0- Author
- Vayun Mathur <[email protected]>
- When
- 2026-11-17 14:23 UTC (19 days ago)
- Parents
46b5fe1
Move 34 test files to the directories matching their declared packages (tv/ -> ui/tv/, util/ -> platform/, util/sabr/ -> network/sabr/), clearing all InvalidPackageDeclaration errors; test discovery unchanged (same source set and packages). Extract TAB_INDEX_* constants in StartupPage (MagicNumber), split Navigation() into tab/detail/settings entry helpers (LongMethod), and wrap an over-long comment in YouPipeVideoLoading (MaxLineLength). Verified: ./check youpipe green; :youpipe:testDevUnitTest green.
Diff
youpipe/src/main/java/com/vayunmathur/youpipe/Navigation.kt
diff --git a/youpipe/src/main/java/com/vayunmathur/youpipe/Navigation.kt b/youpipe/src/main/java/com/vayunmathur/youpipe/Navigation.ktindex 2c5f52f6b0..4404c38155 100644--- a/youpipe/src/main/java/com/vayunmathur/youpipe/Navigation.kt+++ b/youpipe/src/main/java/com/vayunmathur/youpipe/Navigation.kt@@ -9,8 +9,10 @@ import com.vayunmathur.library.ui.IconSubscriptions import com.vayunmathur.library.ui.RouteTab import com.vayunmathur.library.ui.TabbedPagerScaffold import com.vayunmathur.library.util.DialogPage+import com.vayunmathur.library.util.EntryProviderScope import com.vayunmathur.library.util.MainNavigation import com.vayunmathur.library.util.MorphPage+import com.vayunmathur.library.util.NavBackStack import com.vayunmathur.library.util.SiblingPage import com.vayunmathur.library.util.rememberNavBackStack import com.vayunmathur.youpipe.platform.YouPipeViewModel@@ -34,74 +36,97 @@ import com.vayunmathur.youpipe.ui.dialogs.AddToWatchLater import com.vayunmathur.youpipe.ui.dialogs.CreatePlaylist import com.vayunmathur.youpipe.ui.dialogs.CreateSubscriptionCategory +private fun navigationTabs(): List<RouteTab<Route>> = listOf(+ RouteTab(Route.Home, "Home", { IconHome() }),+ RouteTab(Route.Subscriptions, "Subscriptions", { IconSubscriptions() }),+ RouteTab(Route.History, "History", { IconHistory() }),+ RouteTab(Route.Saved, "Saved", { IconSave() }),+ RouteTab(Route.Settings, "Settings", { IconSettings() }),+)++private fun EntryProviderScope<Route>.siblingEntries(+ backStack: NavBackStack<Route>,+ ypvm: YouPipeViewModel,+) {+ entry<Route.Home>(metadata = SiblingPage()) { SearchPage(backStack, ypvm) }+ entry<Route.Subscriptions>(metadata = SiblingPage()) { SubscriptionsPage(backStack, ypvm) }+ entry<Route.History>(metadata = SiblingPage()) { HistoryPage(backStack, ypvm) }+ entry<Route.Saved>(metadata = SiblingPage()) { SavedPage(backStack, ypvm) }+ entry<Route.Settings>(metadata = SiblingPage()) { SettingsPage(backStack, ypvm) }+}++private fun EntryProviderScope<Route>.detailEntries(+ backStack: NavBackStack<Route>,+ ypvm: YouPipeViewModel,+) {+ // Morph, not Fullscreen: the feed row's title travels into the title under the player, and+ // a morph only works against a crossfade - the immersive scale would move the target while+ // the title is still on its way to it.+ entry<Route.VideoPage>(metadata = MorphPage()) {+ VideoPage(backStack, ypvm, it.videoID)+ }+ // Morph: a subscription row carries its avatar and name up into the header here. The other+ // ways in - a search result, a video's author line - are unkeyed and simply crossfade.+ entry<Route.ChannelPage>(metadata = MorphPage()) {+ ChannelPage(backStack, ypvm, it.channelID)+ }+ entry<Route.SubscriptionVideosPage> {+ SubscriptionVideosPage(backStack, ypvm, it.category)+ }+ entry<Route.CreateSubscriptionCategory>(metadata = DialogPage()) {+ CreateSubscriptionCategory(backStack, ypvm, it.id)+ }+ entry<Route.Downloads> {+ DownloadedVideosPage(backStack, ypvm)+ }+ entry<Route.PlaylistDetail>(metadata = MorphPage()) {+ PlaylistDetailPage(backStack, ypvm, it.playlistId)+ }+ entry<Route.CreatePlaylist>(metadata = DialogPage()) {+ CreatePlaylist(backStack, ypvm)+ }+ entry<Route.AddToPlaylist>(metadata = DialogPage()) {+ AddToPlaylist(backStack, ypvm, it.videoID, it.includeWatchLater)+ }+ entry<Route.AddToWatchLater>(metadata = DialogPage()) {+ AddToWatchLater(backStack, ypvm, it.videoID)+ }+}++private fun EntryProviderScope<Route>.settingsEntries(+ backStack: NavBackStack<Route>,+ ypvm: YouPipeViewModel,+) {+ entry<Route.SettingsGeneral> {+ GeneralSettingsPage(backStack, ypvm)+ }+ entry<Route.SettingsSponsorBlock> {+ SponsorBlockSettingsPage(backStack, ypvm)+ }+ entry<Route.SettingsRecommendations> {+ RecommendationsSettingsPage(backStack, ypvm)+ }+ entry<Route.SettingsData> {+ DataSettingsPage(backStack, ypvm)+ }+ entry<Route.ManageInterests> {+ ManageInterestsPage(backStack, ypvm)+ }+}+ @Composable fun Navigation(initialBackStack: List<Route>, ypvm: YouPipeViewModel) { val backStack = rememberNavBackStack(initialBackStack)- val tabs = listOf<RouteTab<Route>>(- RouteTab(Route.Home, "Home", { IconHome() }),- RouteTab(Route.Subscriptions, "Subscriptions", { IconSubscriptions() }),- RouteTab(Route.History, "History", { IconHistory() }),- RouteTab(Route.Saved, "Saved", { IconSave() }),- RouteTab(Route.Settings, "Settings", { IconSettings() }),- )+ val tabs = navigationTabs() // Route-backed tabs: selecting a tab resets the stack to that sibling // (see TabbedPagerScaffold), and MainNavigation renders the top route — // a tab with SiblingPage() crossfade, or a detail/settings sub-route // pushed over it with no tab selected. TabbedPagerScaffold(backStack = backStack, tabs = tabs) { MainNavigation(backStack) {- entry<Route.Home>(metadata = SiblingPage()) { SearchPage(backStack, ypvm) }- entry<Route.Subscriptions>(metadata = SiblingPage()) { SubscriptionsPage(backStack, ypvm) }- entry<Route.History>(metadata = SiblingPage()) { HistoryPage(backStack, ypvm) }- entry<Route.Saved>(metadata = SiblingPage()) { SavedPage(backStack, ypvm) }- entry<Route.Settings>(metadata = SiblingPage()) { SettingsPage(backStack, ypvm) }- // Morph, not Fullscreen: the feed row's title travels into the title under the player, and- // a morph only works against a crossfade - the immersive scale would move the target while- // the title is still on its way to it.- entry<Route.VideoPage>(metadata = MorphPage()) {- VideoPage(backStack, ypvm, it.videoID)- }- // Morph: a subscription row carries its avatar and name up into the header here. The other- // ways in - a search result, a video's author line - are unkeyed and simply crossfade.- entry<Route.ChannelPage>(metadata = MorphPage()) {- ChannelPage(backStack, ypvm, it.channelID)- }- entry<Route.SubscriptionVideosPage> {- SubscriptionVideosPage(backStack, ypvm, it.category)- }- entry<Route.CreateSubscriptionCategory>(metadata = DialogPage()) {- CreateSubscriptionCategory(backStack, ypvm, it.id)- }- entry<Route.Downloads> {- DownloadedVideosPage(backStack, ypvm)- }- entry<Route.PlaylistDetail>(metadata = MorphPage()) {- PlaylistDetailPage(backStack, ypvm, it.playlistId)- }- entry<Route.CreatePlaylist>(metadata = DialogPage()) {- CreatePlaylist(backStack, ypvm)- }- entry<Route.AddToPlaylist>(metadata = DialogPage()) {- AddToPlaylist(backStack, ypvm, it.videoID, it.includeWatchLater)- }- entry<Route.AddToWatchLater>(metadata = DialogPage()) {- AddToWatchLater(backStack, ypvm, it.videoID)- }- entry<Route.SettingsGeneral> {- GeneralSettingsPage(backStack, ypvm)- }- entry<Route.SettingsSponsorBlock> {- SponsorBlockSettingsPage(backStack, ypvm)- }- entry<Route.SettingsRecommendations> {- RecommendationsSettingsPage(backStack, ypvm)- }- entry<Route.SettingsData> {- DataSettingsPage(backStack, ypvm)- }- entry<Route.ManageInterests> {- ManageInterestsPage(backStack, ypvm)- }+ siblingEntries(backStack, ypvm)+ detailEntries(backStack, ypvm)+ settingsEntries(backStack, ypvm) } } }
youpipe/src/main/java/com/vayunmathur/youpipe/platform/StartupPage.kt
diff --git a/youpipe/src/main/java/com/vayunmathur/youpipe/platform/StartupPage.kt b/youpipe/src/main/java/com/vayunmathur/youpipe/platform/StartupPage.ktindex eb0fcc3d5b..3bb206e604 100644--- a/youpipe/src/main/java/com/vayunmathur/youpipe/platform/StartupPage.kt+++ b/youpipe/src/main/java/com/vayunmathur/youpipe/platform/StartupPage.kt@@ -6,16 +6,22 @@ import com.vayunmathur.youpipe.Route // --- Default startup page ("Open to" setting) --- +private const val TAB_INDEX_HOME = 0+private const val TAB_INDEX_SUBSCRIPTIONS = 1+private const val TAB_INDEX_HISTORY = 2+private const val TAB_INDEX_SAVED = 3+private const val TAB_INDEX_SETTINGS = 4+ /** * The sibling tab route for a legacy tab index (deep-link / default-page * `initialTab`): the index now only chooses the start route, never live * pager state. Out-of-range indices fall back to Home. */ fun tabRoute(initialTab: Int): Route = when (initialTab) {- 1 -> Route.Subscriptions- 2 -> Route.History- 3 -> Route.Saved- 4 -> Route.Settings+ TAB_INDEX_SUBSCRIPTIONS -> Route.Subscriptions+ TAB_INDEX_HISTORY -> Route.History+ TAB_INDEX_SAVED -> Route.Saved+ TAB_INDEX_SETTINGS -> Route.Settings else -> Route.Home } @@ -46,14 +52,14 @@ val DEFAULT_PAGE_OPTIONS: List<Pair<String, Int>> = listOf( /** Map a persisted default-page key to the initial backstack to launch with. */ fun defaultBackStack(key: String?): List<Route> = when (key) {- DEFAULT_PAGE_SUBSCRIPTIONS -> listOf(tabRoute(1))+ DEFAULT_PAGE_SUBSCRIPTIONS -> listOf(tabRoute(TAB_INDEX_SUBSCRIPTIONS)) // Seed the Subscriptions root beneath the all-subscriptions feed so Back // returns to the Subscriptions list instead of exiting the app. DEFAULT_PAGE_ALL_SUBSCRIPTIONS ->- listOf(tabRoute(1), Route.SubscriptionVideosPage(null))- DEFAULT_PAGE_HISTORY -> listOf(tabRoute(2))+ listOf(tabRoute(TAB_INDEX_SUBSCRIPTIONS), Route.SubscriptionVideosPage(null))+ DEFAULT_PAGE_HISTORY -> listOf(tabRoute(TAB_INDEX_HISTORY)) // Both the legacy "downloads" key and the new "saved" key open the Saved hub.- DEFAULT_PAGE_DOWNLOADS, DEFAULT_PAGE_SAVED -> listOf(tabRoute(3))- DEFAULT_PAGE_SETTINGS -> listOf(tabRoute(4))- else -> listOf(tabRoute(0)) // home / unset / unknown+ DEFAULT_PAGE_DOWNLOADS, DEFAULT_PAGE_SAVED -> listOf(tabRoute(TAB_INDEX_SAVED))+ DEFAULT_PAGE_SETTINGS -> listOf(tabRoute(TAB_INDEX_SETTINGS))+ else -> listOf(tabRoute(TAB_INDEX_HOME)) // home / unset / unknown }
youpipe/src/main/java/com/vayunmathur/youpipe/platform/YouPipeVideoLoading.kt
diff --git a/youpipe/src/main/java/com/vayunmathur/youpipe/platform/YouPipeVideoLoading.kt b/youpipe/src/main/java/com/vayunmathur/youpipe/platform/YouPipeVideoLoading.ktindex 6938b45d9f..08017edcb6 100644--- a/youpipe/src/main/java/com/vayunmathur/youpipe/platform/YouPipeVideoLoading.kt+++ b/youpipe/src/main/java/com/vayunmathur/youpipe/platform/YouPipeVideoLoading.kt@@ -270,7 +270,9 @@ private fun registerSabrInfo( videoId: String, sabrVideoOnly: List<org.schabi.newpipe.extractor.stream.VideoStream>, ) {- // Register SABR session metadata for the playback service if present. The content PoToken is minted at play time by createSourceSpec; prewarming it here regressed SABR bootstrap.+ // Register SABR session metadata for the playback service if present. The content+ // PoToken is minted at play time by createSourceSpec; prewarming it here regressed+ // SABR bootstrap. if (sabrVideoOnly.isEmpty()) return sabrVideoOnly.firstOrNull { it.getDeliveryMethodInfo() is
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrMuxerDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrMuxerDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrMuxerDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrMuxerDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrMuxerDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1BootstrapExtraTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1BootstrapExtraTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1BootstrapExtraTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1BootstrapExtraTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1BootstrapExtraTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1DashMuxerTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1DashMuxerTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1DashMuxerTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1DashMuxerTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1DashMuxerTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1ExtraTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1ExtraTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1ExtraTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1ExtraTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1ExtraTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1RetryHandlerTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1RetryHandlerTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1RetryHandlerTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1RetryHandlerTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1RetryHandlerTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1SessionStoreTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1SessionStoreTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1SessionStoreTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1SessionStoreTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1SessionStoreTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1SourceSpecTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1SourceSpecTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1SourceSpecTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1SourceSpecTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1SourceSpecTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1StoreDownloadTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1StoreDownloadTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1StoreDownloadTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1StoreDownloadTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1StoreDownloadTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1TokenUtilTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1TokenUtilTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1TokenUtilTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1TokenUtilTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1TokenUtilTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1UmpServerTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1UmpServerTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1UmpServerTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1UmpServerTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1UmpServerTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1WebViewTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1WebViewTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1WebViewTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/sabr/SabrSlice1WebViewTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/network/sabr/SabrSlice1WebViewTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/AttestationBootstrapTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/AttestationBootstrapTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/AttestationBootstrapTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/AttestationBootstrapTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/AttestationBootstrapTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/C9Slice2DownloadWorkerTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/C9Slice2DownloadWorkerTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/C9Slice2DownloadWorkerTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/C9Slice2DownloadWorkerTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/C9Slice2DownloadWorkerTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/DownloadManagerDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/DownloadManagerDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/DownloadManagerDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/DownloadManagerDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/DownloadManagerDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/DownloadWorkerDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/DownloadWorkerDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/DownloadWorkerDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/DownloadWorkerDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/DownloadWorkerDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/ExtractorPureUtilPass3Test.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/ExtractorPureUtilPass3Test.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/ExtractorPureUtilPass3Test.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/ExtractorPureUtilPass3Test.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/ExtractorPureUtilPass3Test.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/ImportExportDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/ImportExportDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/ImportExportDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/ImportExportDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/ImportExportDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/PlaybackServiceDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/PlaybackServiceDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/PlaybackServiceDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/PlaybackServiceDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/PlaybackServiceDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/RecommenderTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/RecommenderTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/RecommenderTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/RecommenderTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/RecommenderTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/SbShardTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/SbShardTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/SbShardTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/SbShardTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/SbShardTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/SharedLinkDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/SharedLinkDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/SharedLinkDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/SharedLinkDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/SharedLinkDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/StreamMappingDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/StreamMappingDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/StreamMappingDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/StreamMappingDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/StreamMappingDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/SubscriptionBackupTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/SubscriptionBackupTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/SubscriptionBackupTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/SubscriptionBackupTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/SubscriptionBackupTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/VideoLoadingDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/VideoLoadingDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/VideoLoadingDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/VideoLoadingDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/VideoLoadingDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ExtractorHttpTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/W5Slice2ExtractorHttpTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ExtractorHttpTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/W5Slice2ExtractorHttpTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ExtractorHttpTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ExtractorNetTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/W5Slice2ExtractorNetTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ExtractorNetTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/W5Slice2ExtractorNetTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ExtractorNetTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ManagerModelTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/util/W5Slice2ManagerModelTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ManagerModelTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/util/W5Slice2ManagerModelTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/platform/W5Slice2ManagerModelTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvBrowseDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvBrowseDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvBrowseDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvBrowseDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvBrowseDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvFeedDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvFeedDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvFeedDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvFeedDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvFeedDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPagesDeep2Test.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvPagesDeep2Test.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPagesDeep2Test.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvPagesDeep2Test.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPagesDeep2Test.kt
youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPagesTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvPagesTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPagesTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvPagesTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPagesTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPlayerDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvPlayerDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPlayerDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvPlayerDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvPlayerDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvSearchChannelDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvSearchChannelDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvSearchChannelDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvSearchChannelDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvSearchChannelDeepTest.kt
youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvSearchDownloadsDeepTest.kt
diff --git a/youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvSearchDownloadsDeepTest.kt b/youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvSearchDownloadsDeepTest.ktsimilarity index 100%rename from youpipe/src/test/java/com/vayunmathur/youpipe/tv/TvSearchDownloadsDeepTest.ktrename to youpipe/src/test/java/com/vayunmathur/youpipe/ui/tv/TvSearchDownloadsDeepTest.kt