com.github.mvysny.kaributesting.v10.VaadinVersion.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of karibu-testing-v10 Show documentation
Show all versions of karibu-testing-v10 Show documentation
Karibu Testing, support for browserless Vaadin testing in Kotlin
package com.github.mvysny.kaributesting.v10
import com.github.mvysny.kaributesting.v10.mock.MockVaadinHelper
import com.github.mvysny.kaributesting.v10.mock.checkVaadinSupportedByKaribuTesting
import elemental.json.JsonObject
public object VaadinMeta {
public val flowBuildInfo: JsonObject? by lazy(LazyThreadSafetyMode.PUBLICATION) {
MockVaadinHelper.getTokenFileFromClassloader()
}
/**
* Always false.
*/
public val isCompatibilityMode: Boolean by lazy(LazyThreadSafetyMode.PUBLICATION) {
checkVaadinSupportedByKaribuTesting()
false
}
}