summaryrefslogtreecommitdiff
path: root/src/test/kotlin
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-10-01 03:12:58 +0200
committerRobert Jaros <rjaros@finn.pl>2017-10-01 03:12:58 +0200
commitd732f672bfbfa565c6ec4fc037381554de251ad3 (patch)
treeb0a8388de30e568d2ca5b6d33c330ccdedfebe09 /src/test/kotlin
parent69826202db3424beb47923f80d86bf1412053941 (diff)
downloadkvision-d732f672bfbfa565c6ec4fc037381554de251ad3.tar.gz
kvision-d732f672bfbfa565c6ec4fc037381554de251ad3.tar.bz2
kvision-d732f672bfbfa565c6ec4fc037381554de251ad3.zip
GridPanel, HPanel and VPanel
Diffstat (limited to 'src/test/kotlin')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/panel/TabPanelSpec.kt (renamed from src/test/kotlin/test/pl/treksoft/kvision/tabs/TabsSpec.kt)12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/tabs/TabsSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/panel/TabPanelSpec.kt
index 60e2ef60..4a1f9652 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/tabs/TabsSpec.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/panel/TabPanelSpec.kt
@@ -1,20 +1,20 @@
-package test.pl.treksoft.kvision.tabs
+package test.pl.treksoft.kvision.panel
import pl.treksoft.kvision.basic.Label
import pl.treksoft.kvision.core.Root
-import pl.treksoft.kvision.tabs.Tabs
+import pl.treksoft.kvision.panel.TabPanel
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
import kotlin.test.Test
import kotlin.test.assertEquals
-class TabsSpec : DomSpec {
+class TabPanelSpec : DomSpec {
@Test
fun render() {
run {
val root = Root("test")
- val tabs = Tabs()
+ val tabs = TabPanel()
root.add(tabs)
val label1 = Label("abc")
val label2 = Label("def")
@@ -29,7 +29,7 @@ class TabsSpec : DomSpec {
fun setActiveIndex() {
run {
val root = Root("test")
- val tabs = Tabs()
+ val tabs = TabPanel()
root.add(tabs)
val label1 = Label("abc")
val label2 = Label("def")
@@ -45,7 +45,7 @@ class TabsSpec : DomSpec {
fun removeTab() {
run {
val root = Root("test")
- val tabs = Tabs()
+ val tabs = TabPanel()
root.add(tabs)
val label1 = Label("abc")
val label2 = Label("def")