mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 04:46:08 +00:00
fix: keep verified Steam navigation
This commit is contained in:
1 parent
3ccf8ca01a
commit
ea8feebea7
6 files changed
+6
-7
No files matched your search
@@ -7,9 +7,9 @@ import org.junit.Test
|
||||
class SteamSessionUrlTest {
|
||||
@Test
|
||||
fun onlySupportedSteamNavigationRoutesAreAccepted() {
|
||||
listOf("steam://open/downloads", "steam://nav/library", "steam://uninstall/12345")
|
||||
listOf("steam://open/downloads", "steam://uninstall/12345")
|
||||
.forEach { assertTrue(it, SteamSessionUrl.isSupported(it)) }
|
||||
listOf("steam://open/settings", "steam://uninstall/0", "steam://uninstall/01",
|
||||
listOf("steam://open/settings", "steam://nav/library", "steam://uninstall/0", "steam://uninstall/01",
|
||||
"steam://open/downloads\n--exec", "https://example.com")
|
||||
.forEach { assertFalse(it, SteamSessionUrl.isSupported(it)) }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user