From 736b80835f67c9c34657074ebcfbe0752bef1c18 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 17 Oct 2019 21:58:34 +0200 Subject: Move DSL builder functions out of the companion objects (#93) --- src/test/kotlin/test/pl/treksoft/kvision/core/StyleSpec.kt | 4 ++-- src/test/kotlin/test/pl/treksoft/kvision/state/StateBindingSpec.kt | 6 +++--- src/test/kotlin/test/pl/treksoft/kvision/table/RowSpec.kt | 2 +- src/test/kotlin/test/pl/treksoft/kvision/table/TableSpec.kt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/test/kotlin') diff --git a/src/test/kotlin/test/pl/treksoft/kvision/core/StyleSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/core/StyleSpec.kt index 4fbe3d59..cf7c21b2 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/core/StyleSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/core/StyleSpec.kt @@ -24,8 +24,8 @@ package test.pl.treksoft.kvision.core import pl.treksoft.kvision.core.Col import pl.treksoft.kvision.core.Color import pl.treksoft.kvision.core.Overflow -import pl.treksoft.kvision.core.Style.Companion.style -import pl.treksoft.kvision.core.Widget.Companion.widget +import pl.treksoft.kvision.core.style +import pl.treksoft.kvision.core.widget import pl.treksoft.kvision.panel.Root import pl.treksoft.kvision.utils.px import test.pl.treksoft.kvision.DomSpec diff --git a/src/test/kotlin/test/pl/treksoft/kvision/state/StateBindingSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/state/StateBindingSpec.kt index f5416748..c0de7c6f 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/state/StateBindingSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/state/StateBindingSpec.kt @@ -21,12 +21,12 @@ */ package test.pl.treksoft.kvision.state -import pl.treksoft.kvision.html.Div.Companion.div +import pl.treksoft.kvision.html.div import pl.treksoft.kvision.panel.Root import pl.treksoft.kvision.panel.SimplePanel -import pl.treksoft.kvision.state.StateBinding.Companion.stateBinding -import pl.treksoft.kvision.state.StateBinding.Companion.stateUpdate import pl.treksoft.kvision.state.observableListOf +import pl.treksoft.kvision.state.stateBinding +import pl.treksoft.kvision.state.stateUpdate import test.pl.treksoft.kvision.DomSpec import kotlin.browser.document import kotlin.test.Test diff --git a/src/test/kotlin/test/pl/treksoft/kvision/table/RowSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/table/RowSpec.kt index d9a6fdfa..8f80f465 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/table/RowSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/table/RowSpec.kt @@ -22,8 +22,8 @@ package test.pl.treksoft.kvision.table import pl.treksoft.kvision.panel.Root -import pl.treksoft.kvision.table.Cell.Companion.cell import pl.treksoft.kvision.table.Row +import pl.treksoft.kvision.table.cell import test.pl.treksoft.kvision.DomSpec import kotlin.browser.document import kotlin.test.Test diff --git a/src/test/kotlin/test/pl/treksoft/kvision/table/TableSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/table/TableSpec.kt index 69dc05d3..e81e539d 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/table/TableSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/table/TableSpec.kt @@ -22,11 +22,11 @@ package test.pl.treksoft.kvision.table import pl.treksoft.kvision.panel.Root -import pl.treksoft.kvision.table.Cell.Companion.cell import pl.treksoft.kvision.table.ResponsiveType -import pl.treksoft.kvision.table.Row.Companion.row import pl.treksoft.kvision.table.Table import pl.treksoft.kvision.table.TableType +import pl.treksoft.kvision.table.cell +import pl.treksoft.kvision.table.row import test.pl.treksoft.kvision.DomSpec import kotlin.browser.document import kotlin.test.Test -- cgit