kotest-assertions-core / io.kotest.matchers.url / java.net.URL

Extensions for java.net.URL

shouldBeOpaque

fun URL.shouldBeOpaque(): Unit

shouldHaveAuthority

infix fun URL.shouldHaveAuthority(authority: String): Unit

shouldHaveHost

infix fun URL.shouldHaveHost(host: String): Unit

shouldHaveParameter

infix fun URL.shouldHaveParameter(key: String): Unit

shouldHaveParameterValue

fun URL.shouldHaveParameterValue(key: String, value: String): Unit

shouldHavePath

infix fun URL.shouldHavePath(path: String): Unit

shouldHavePort

infix fun URL.shouldHavePort(port: Int): Unit

shouldHaveProtocol

infix fun URL.shouldHaveProtocol(protocol: String): Unit

shouldHaveQuery

infix fun URL.shouldHaveQuery(q: String): Unit

shouldHaveRef

infix fun URL.shouldHaveRef(ref: String): Unit

shouldNotBeOpaque

fun URL.shouldNotBeOpaque(): Unit

shouldNotHaveAuthority

infix fun URL.shouldNotHaveAuthority(authority: String): Unit

shouldNotHaveHost

infix fun URL.shouldNotHaveHost(host: String): Unit

shouldNotHaveParameter

infix fun URL.shouldNotHaveParameter(key: String): Unit

shouldNotHaveParameterValue

fun URL.shouldNotHaveParameterValue(key: String, value: String): Unit

shouldNotHavePath

infix fun URL.shouldNotHavePath(path: String): Unit

shouldNotHavePort

infix fun URL.shouldNotHavePort(port: Int): Unit

shouldNotHaveProtocol

infix fun URL.shouldNotHaveProtocol(protocol: String): Unit

shouldNotHaveQuery

infix fun URL.shouldNotHaveQuery(q: String): Unit

shouldNotHaveRef

infix fun URL.shouldNotHaveRef(ref: String): Unit