From 1fc045c97511d8c888af3ac441c27bfb7a35ef43 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 24 Feb 2018 15:56:10 +0100 Subject: Snabbdom upgrade to v0.7.1 --- src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt | 4 ++-- src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt | 4 ++-- src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt | 2 +- src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt | 4 ++-- .../kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt | 2 +- src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt | 2 +- src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt | 4 ++-- src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt | 2 +- .../kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt | 2 +- src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt | 2 +- src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt | 2 +- src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt | 4 ++-- src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt | 4 ++-- 13 files changed, 19 insertions(+), 19 deletions(-) (limited to 'src/test') diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt index 67928181..3aa427ed 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckBoxSpec.kt @@ -46,7 +46,7 @@ class CheckBoxSpec : DomSpec { val element = document.getElementById("test") val id = ci.input.id assertEquals( - "
", + "
", element?.innerHTML, "Should render correct checkbox form control" ) @@ -54,7 +54,7 @@ class CheckBoxSpec : DomSpec { ci.circled = false ci.inline = false assertEquals( - "
", + "
", element?.innerHTML, "Should render correct checkbox form control" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt index bb13479f..960dad56 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/check/CheckInputSpec.kt @@ -43,7 +43,7 @@ class CheckInputSpec : DomSpec { root.add(ci) val element = document.getElementById("test") assertEquals( - "", + "", element?.innerHTML, "Should render correct checkbox control" ) @@ -62,7 +62,7 @@ class CheckInputSpec : DomSpec { root.add(ci) val element = document.getElementById("test") assertEquals( - "", + "", element?.innerHTML, "Should render correct radio button control" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt index 80616f5a..62b10f68 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioGroupSpec.kt @@ -45,7 +45,7 @@ class RadioGroupSpec : DomSpec { val rid1 = ci.getChildren().filterIsInstance().first().input.id val rid2 = ci.getChildren().filterIsInstance().last().input.id assertEquals( - "
", + "
", element?.innerHTML, "Should render correct radio button group form control" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt index 20fff041..f7020d09 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/check/RadioSpec.kt @@ -45,7 +45,7 @@ class RadioSpec : DomSpec { val element = document.getElementById("test") val id = ci.input.id assertEquals( - "
", + "
", element?.innerHTML, "Should render correct radio button form control" ) @@ -53,7 +53,7 @@ class RadioSpec : DomSpec { ci.squared = true ci.inline = false assertEquals( - "
", + "
", element?.innerHTML, "Should render correct radio button form control" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt index 055ef020..c51a6b43 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectInputSpec.kt @@ -44,7 +44,7 @@ class SelectInputSpec : DomSpec { root.add(selectInput) val element = document.getElementById("test") assertTrue( - true == element?.innerHTML?.endsWith(""), + true == element?.innerHTML?.endsWith(""), "Should render correct select input" ) } diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt index 3f44c3ed..ae07199c 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/select/SelectSpec.kt @@ -49,7 +49,7 @@ class SelectSpec : DomSpec { "Should render correct select form control" ) assertTrue( - true == element?.innerHTML?.endsWith(""), + true == element?.innerHTML?.endsWith(""), "Should render correct select form control" ) } diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt index c309d526..a8474790 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/spinner/SpinnerSpec.kt @@ -43,13 +43,13 @@ class SpinnerSpec : DomSpec { val element = document.getElementById("test") val id = ti.input.id assertEquals( - "
", + "
", element?.innerHTML, "Should render correct spinner input form control" ) ti.validatorError = "Validation Error" assertEquals( - "
Validation Error
", + "
Validation Error
", element?.innerHTML, "Should render correct spinner input form control with validation error" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt index 47d757f1..f30111b1 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/PasswordSpec.kt @@ -44,7 +44,7 @@ class PasswordSpec : DomSpec { val element = document.getElementById("test") val id = ti.input.id assertEquals( - "
", + "
", element?.innerHTML, "Should render correct input form control" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt index 21c440a6..ff7ed0b0 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaInputSpec.kt @@ -44,7 +44,7 @@ class TextAreaInputSpec : DomSpec { root.add(ti) val element = document.getElementById("test") assertEquals( - "", + "", element?.innerHTML, "Should render correct input control" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt index e75a651e..1b34f7d2 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextAreaSpec.kt @@ -44,7 +44,7 @@ class TextAreaSpec : DomSpec { val element = document.getElementById("test") val id = ti.input.id assertEquals( - "
", + "
", element?.innerHTML, "Should render correct input form control" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt index 9b88b84e..de3bd486 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextInputSpec.kt @@ -45,7 +45,7 @@ class TextInputSpec : DomSpec { root.add(ti) val element = document.getElementById("test") assertEquals( - "", + "", element?.innerHTML, "Should render correct input control" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt index a78be2d0..baa2b20f 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/text/TextSpec.kt @@ -44,13 +44,13 @@ class TextSpec : DomSpec { val element = document.getElementById("test") val id = ti.input.id assertEquals( - "
", + "
", element?.innerHTML, "Should render correct input form control" ) ti.validatorError = "Validation Error" assertEquals( - "
Validation Error
", + "
Validation Error
", element?.innerHTML, "Should render correct input form control with validation error" ) diff --git a/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt index aa0c2d8f..fa158b68 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/form/time/DateTimeSpec.kt @@ -47,13 +47,13 @@ class DateTimeSpec : DomSpec { val id = ti.input.id val datastr = data.toStringF(ti.format) assertEquals( - "
", + "
", element?.innerHTML, "Should render correct date time input form control" ) ti.validatorError = "Validation Error" assertEquals( - "
Validation Error
", + "
Validation Error
", element?.innerHTML, "Should render correct date time input form control with validation error" ) -- cgit