mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Fix tests
This commit is contained in:
parent
7345b04061
commit
f786ec647e
1 changed files with 6 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ class TestHomeRowSamples {
|
|||
),
|
||||
viewOptions = HomeRowViewOptions(),
|
||||
),
|
||||
HomeRowConfig.Favorite(kind = BaseItemKind.SERIES),
|
||||
HomeRowConfig.Recordings(),
|
||||
HomeRowConfig.TvPrograms(),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -88,6 +91,9 @@ class TestHomeRowSamples {
|
|||
is HomeRowConfig.RecentlyReleased -> foundTypes.add(it::class)
|
||||
is HomeRowConfig.ByParent -> foundTypes.add(it::class)
|
||||
is HomeRowConfig.GetItems -> foundTypes.add(it::class)
|
||||
is HomeRowConfig.Favorite -> foundTypes.add(it::class)
|
||||
is HomeRowConfig.Recordings -> foundTypes.add(it::class)
|
||||
is HomeRowConfig.TvPrograms -> foundTypes.add(it::class)
|
||||
}
|
||||
}
|
||||
Assert.assertEquals(HomeRowConfig::class.sealedSubclasses.size, foundTypes.size)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue