From 176215818b2572eefc1df18401ddaa896ea8a1fb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 24 Sep 2017 05:42:20 +0200 Subject: New containers: StackPanel, SplitPanel, Tabs --- src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/kotlin') diff --git a/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt index f3210e22..8f327928 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/dropdown/DropDownSpec.kt @@ -39,7 +39,7 @@ class DropDownSpec : DomSpec { fun render_HeaderElement() { run { val root = Root("test") - val dd = DropDown("Dropdown", listOf("abc" to DD.HEADER.POS), "flag") + val dd = DropDown("Dropdown", listOf("abc" to DD.HEADER.type), "flag") root.add(dd) dd.toggle() val element = document.getElementById("test") @@ -51,7 +51,7 @@ class DropDownSpec : DomSpec { fun render_SeparatorElement() { run { val root = Root("test") - val dd = DropDown("Dropdown", listOf("abc" to DD.SEPARATOR.POS), "flag") + val dd = DropDown("Dropdown", listOf("abc" to DD.SEPARATOR.type), "flag") root.add(dd) dd.toggle() val element = document.getElementById("test") @@ -63,7 +63,7 @@ class DropDownSpec : DomSpec { fun render_DisabledElement() { run { val root = Root("test") - val dd = DropDown("Dropdown", listOf("abc" to DD.DISABLED.POS), "flag") + val dd = DropDown("Dropdown", listOf("abc" to DD.DISABLED.type), "flag") root.add(dd) dd.toggle() val element = document.getElementById("test") -- cgit