diff --git a/tests/app/ui/slider/slider-tests.ts b/tests/app/ui/slider/slider-tests.ts index da35bce06..b3c677750 100644 --- a/tests/app/ui/slider/slider-tests.ts +++ b/tests/app/ui/slider/slider-tests.ts @@ -354,7 +354,7 @@ export function test_binding_value_to_bindingContext() { sourceProperty: "age", targetProperty: "value" }; - slider.bind(options, model); + slider.bind(options); TKUnit.assertEqual(slider.value, 21, "slider.value"); model.set("age", 22); diff --git a/tests/app/ui/text-field/text-field-tests.ts b/tests/app/ui/text-field/text-field-tests.ts index 07157297a..e94d09bab 100644 --- a/tests/app/ui/text-field/text-field-tests.ts +++ b/tests/app/ui/text-field/text-field-tests.ts @@ -211,7 +211,7 @@ export var testBindTextToBindingContext = function () { targetProperty: "text" } - textField.bind(options, model); + textField.bind(options); TKUnit.assert(textField.text === "john", "Actual: " + textField.text + "; Expected: " + "john"); TKUnit.assert(textFieldTestsNative.getNativeText(textField) === "john", "Actual: " + textFieldTestsNative.getNativeText(textField) + "; Expected: " + "john"); @@ -289,7 +289,7 @@ export var testBindHintToBindingConext = function () { targetProperty: "hint" } - textField.bind(options, model); + textField.bind(options); TKUnit.assert(textField.hint === "type your username here", "Actual: " + textField.hint + "; Expected: " + "type your username here"); TKUnit.assert(textFieldTestsNative.getNativeHint(textField) === "type your username here", "Actual: " + textFieldTestsNative.getNativeHint(textField) + "; Expected: " + "type your username here"); @@ -354,7 +354,7 @@ export var testBindSecureToBindingConext = function () { targetProperty: "secure" } - textField.bind(options, model); + textField.bind(options); TKUnit.assert(textField.secure === true, "Actual: " + textField.secure + "; Expected: " + true); TKUnit.assert(textFieldTestsNative.getNativeSecure(textField) === true, "Actual: " + textFieldTestsNative.getNativeSecure(textField) + "; Expected: " + true); diff --git a/tests/app/ui/text-view/text-view-tests.ts b/tests/app/ui/text-view/text-view-tests.ts index 9b97a5fc5..961af9ee1 100644 --- a/tests/app/ui/text-view/text-view-tests.ts +++ b/tests/app/ui/text-view/text-view-tests.ts @@ -133,7 +133,7 @@ export var testBindTextToBindingContext = function () { targetProperty: "text" } - textView.bind(options, model); + textView.bind(options); TKUnit.assert(textView.text === "john", "Actual: " + textView.text + "; Expected: " + "john"); TKUnit.assert(textViewTestsNative.getNativeText(textView) === "john", "Actual: " + textViewTestsNative.getNativeText(textView) + "; Expected: " + "john"); @@ -214,7 +214,7 @@ export var testBindHintToBindingConext = function () { targetProperty: "hint" } - textView.bind(options, model); + textView.bind(options); TKUnit.assert(textView.hint === "type your username here", "Actual: " + textView.hint + "; Expected: " + "type your username here"); TKUnit.assert(textViewTestsNative.getNativeHint(textView) === "type your username here", "Actual: " + textViewTestsNative.getNativeHint(textView) + "; Expected: " + "type your username here"); @@ -334,7 +334,7 @@ export var testBindEditableToBindingConext = function () { targetProperty: "editable" } - textView.bind(options, model); + textView.bind(options); TKUnit.assert(textView.editable === false, "Actual: " + textView.text + "; Expected: " + false); TKUnit.assert(textViewTestsNative.getNativeEditable(textView) === false, "Actual: " + textViewTestsNative.getNativeEditable(textView) + "; Expected: " + false);