Remove appendUrlArguments tests

Since appendUrlArguments doesn't exist anymore.
This commit is contained in:
Markus Fisch
2026-05-31 21:45:02 +02:00
parent 5378e50fe9
commit 1ef9f39978
@@ -1,36 +0,0 @@
package de.markusfisch.android.binaryeye.net
import junit.framework.TestCase.assertEquals
import org.junit.Test
class ScanSenderTest {
@Test
fun appendUrlArgumentsTests() {
assertEquals(
"https://example.com",
appendUrlArguments("https://example.com", "")
)
assertEquals(
"https://example.com?deviceId=1",
appendUrlArguments("https://example.com", "deviceId=1")
)
assertEquals(
"https://example.com?content=test&deviceId=1",
appendUrlArguments(
"https://example.com?content=test",
"deviceId=1"
)
)
assertEquals(
"https://example.com?deviceId=1",
appendUrlArguments("https://example.com?", "deviceId=1")
)
assertEquals(
"https://example.com?content=test&deviceId=1",
appendUrlArguments(
"https://example.com?content=test&",
"deviceId=1"
)
)
}
}