From 637fe8bc436edb51a08d319bc9401d3d834a8c37 Mon Sep 17 00:00:00 2001 From: Xianbing Teng Date: Mon, 27 Sep 2021 18:38:23 +0800 Subject: [PATCH] [NUI][Non-ACR][Remove obsolete apis of XAML] Change-Id: I34a30468575b8bf7cd8d1261eb1890604bb55571 --- .../Tizen.NUI.Tests/testcase/TSBindableProperty.cs | 70 ---------------------- 1 file changed, 70 deletions(-) diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBindableProperty.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBindableProperty.cs index 02cc45b..32dc66c 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBindableProperty.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBindableProperty.cs @@ -151,41 +151,6 @@ namespace Tizen.NUI.Tests [Test] [Category("P1")] - [Description("Creates a new instance of the BindableProperty class.")] - [Property("SPEC", "Tizen.NUI.Binding.BindableProperty.Create M")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "MR")] - [Property("AUTHOR", "Feng Jin, feng16.jin@partner.samsung.com")] - public void Create_CHECK_INSTANCE_EXPRESSION() - { - /* TEST CODE */ - var bindableProperty = BindableProperty.Create(b => b.Text, null, BindingMode.TwoWay); - Assert.IsNotNull(bindableProperty, "BindableProperty instance is null"); - Assert.IsInstanceOf(bindableProperty, "Should be instance of BindableProperty."); - } - - [Test] - [Category("P1")] - [Description("Creates a new instance of the BindableProperty class.")] - [Property("SPEC", "Tizen.NUI.Binding.BindableProperty.Create M")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "MR")] - [Property("AUTHOR", "Feng Jin, feng16.jin@partner.samsung.com")] - public void Create_CHECK_INSTANCE_EXPRESSION_CREATE_DEFAULT_VALUE_DELEGATE() - { - /* TEST CODE */ - BindableProperty.ValidateValueDelegate validateValueDelegate = (b, v) => true; - BindableProperty.BindingPropertyChangedDelegate changedDelegate = (b, ov, nv) => { }; - BindableProperty.BindingPropertyChangingDelegate changingDelegate = (b, ov, nv) => { }; - BindableProperty.CoerceValueDelegate coerceValueDelegate = (bindable, value) => value; - - var bindableProperty = BindableProperty.Create(b => b.Text, null, BindingMode.TwoWay, validateValueDelegate, changedDelegate, changingDelegate, coerceValueDelegate); - Assert.IsNotNull(bindableProperty, "BindableProperty instance is null"); - Assert.IsInstanceOf(bindableProperty, "Should be instance of BindableProperty."); - } - - [Test] - [Category("P1")] [Description("Creates a new instance of the BindableProperty class for an attached property.")] [Property("SPEC", "Tizen.NUI.Binding.BindableProperty.CreateAttached M")] [Property("SPEC_URL", "-")] @@ -288,40 +253,5 @@ namespace Tizen.NUI.Tests Assert.IsNotNull(bindableProperty, "BindableProperty instance is null"); Assert.IsInstanceOf(bindableProperty, "Should be instance of BindableProperty."); } - - [Test] - [Category("P1")] - [Description("Creates a new instance of the BindablePropertyKey class.")] - [Property("SPEC", "Tizen.NUI.Binding.BindableProperty.CreateReadOnly M")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "MR")] - [Property("AUTHOR", "Feng Jin, feng16.jin@partner.samsung.com")] - public void CreateReadOnly_CHECK_INSTANCE_EXPRESSION() - { - /* TEST CODE */ - BindableProperty.ValidateValueDelegate validateValueDelegate = (b, v) => true; - BindableProperty.BindingPropertyChangedDelegate changedDelegate = (b, ov, nv) => { }; - BindableProperty.BindingPropertyChangingDelegate changingDelegate = (b, ov, nv) => { }; - BindableProperty.CoerceValueDelegate coerceValueDelegate = (bindable, value) => value; - - var bindableProperty = BindableProperty.CreateReadOnly(b => b.Text, "Tizen", BindingMode.TwoWay, validateValueDelegate, changedDelegate, changingDelegate, coerceValueDelegate); - Assert.IsNotNull(bindableProperty, "BindableProperty instance is null"); - Assert.IsInstanceOf(bindableProperty, "Should be instance of BindableProperty."); - } - - [Test] - [Category("P1")] - [Description("Creates a new instance of the BindablePropertyKey class.")] - [Property("SPEC", "Tizen.NUI.Binding.BindableProperty.CreateReadOnly M")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "MR")] - [Property("AUTHOR", "Feng Jin, feng16.jin@partner.samsung.com")] - public void CreateReadOnly_CHECK_INSTANCE_EXPRESSION_CREATE_DEFAULT_VALUE_DELEGATE() - { - /* TEST CODE */ - var bindableProperty = BindableProperty.CreateReadOnly(b => b.Text, "Tizen", BindingMode.TwoWay); - Assert.IsNotNull(bindableProperty, "BindableProperty instance is null"); - Assert.IsInstanceOf(bindableProperty, "Should be instance of BindableProperty."); - } } } -- 2.7.4