[TCSACR-397][NUI] Remove UIComponents and fix build error 62/254562/1
authorDongsug Song <dongsug.song@samsung.com>
Thu, 4 Mar 2021 12:04:58 +0000 (21:04 +0900)
committerDongsug Song <dongsug.song@samsung.com>
Thu, 4 Mar 2021 12:04:58 +0000 (21:04 +0900)
Change-Id: I778a95be02f617733350d1710c081cac7a09dd4e

33 files changed:
tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSBindableProperty.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomViewRegistry.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSFontClient.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethod.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ActivatedEventArgs.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.CallbackData.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventData.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventReceivedEventArgs.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.KeyboardTypeChangedEventArgs.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.LanguageChangedEventArgs.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ResizedEventArgs.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.StatusChangedEventArgs.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSLottieAnimationView.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSNUIApplication.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSNUIEventType.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSNUIWidgetApplication.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSPaddingType.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.NotifyEventArgs.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.Hint.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSSpin.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTypeInfo.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.FinishedEventArgs.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSWidget.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.cs

index a405fec..82934e0 100755 (executable)
@@ -1,10 +1,7 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
-using System.Runtime.InteropServices;
 using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
@@ -562,17 +559,17 @@ namespace Tizen.NUI.Tests
             float targetPositionX = 1.0f;
             animation.AnimateTo(actor, "PositionX", targetPositionX, new AlphaFunction(AlphaFunction.BuiltinFunctions.Linear));
             animation.EndAction = Animation.EndActions.Cancel;
-            animation.Play();\r
-\r
+            animation.Play();
+
             Tizen.Log.Debug(TAG, $"before PositionX={actor.PositionX}");
             await Task.Delay(1020);
             animation.Clear();
-            await Task.Delay(100);\r
-            Tizen.Log.Debug(TAG, $"after PositionX={actor.PositionX}");\r
-\r
-            //in native TC code of utc-dali-animation-common.cpp, const float ANIMATION_EPSILON = 0.0001f;\r
-            const float ANIMATION_EPSILON = 0.0001f;\r
-            Assert.AreEqual(1.0f, actor.PositionX, ANIMATION_EPSILON, "The PositionX of the actor is not correct here!");\r
+            await Task.Delay(100);
+            Tizen.Log.Debug(TAG, $"after PositionX={actor.PositionX}");
+
+            //in native TC code of utc-dali-animation-common.cpp, const float ANIMATION_EPSILON = 0.0001f;
+            const float ANIMATION_EPSILON = 0.0001f;
+            Assert.AreEqual(1.0f, actor.PositionX, ANIMATION_EPSILON, "The PositionX of the actor is not correct here!");
         }
 
 
index 7855f4f..b52530a 100755 (executable)
@@ -1,8 +1,6 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
 using Tizen.NUI.Test;
 using System.Threading.Tasks;
@@ -144,8 +142,8 @@ namespace Tizen.NUI.Tests
         public void GetTypeName_CHECK_RETURN_TYPE()
         {
             /* TEST CODE */
-            PushButton button = new PushButton();
-            Assert.AreEqual("PushButton", button.GetTypeName(), "Should be equal!");
+            TextLabel text = new TextLabel();
+            Assert.AreEqual("TextLabel", text.GetTypeName(), "Should be equal!");
         }
 
         [Test]
@@ -403,78 +401,78 @@ namespace Tizen.NUI.Tests
             }
         }
 
-        [Test]\r
-        [Category("P1")]\r
-        [Description("Test GetTypeInfo. Check whether GetTypeInfo returns expected value or not.")]\r
-        [Property("SPEC", "Tizen.NUI.BaseHandle.GetTypeInfo M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]\r
-        public void GetTypeInfo_CHECK_RETURN_VALUE()\r
-        {\r
-            /* TEST CODE */\r
-            try\r
-            {\r
-                PushButton view = new PushButton();\r
-                var typeInfo = TypeRegistry.Get().GetTypeInfo("PushButton");\r
-                Assert.IsInstanceOf<TypeInfo>(typeInfo, "Should be an instance of TypeInfo type.");\r
-                Assert.True(view.GetTypeInfo(typeInfo), "Should be true");\r
-            }\r
-            catch (Exception e)\r
-            {\r
-                Tizen.Log.Error(TAG, "Caught Exception" + e.ToString());\r
-                LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString());\r
-                Assert.Fail("Caught Exception" + e.ToString());\r
-            }\r
+        [Test]
+        [Category("P1")]
+        [Description("Test GetTypeInfo. Check whether GetTypeInfo returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.BaseHandle.GetTypeInfo M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]
+        public void GetTypeInfo_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            try
+            {
+                TextLabel text = new TextLabel();
+                var typeInfo = TypeRegistry.Get().GetTypeInfo("TextLabel");
+                Assert.IsInstanceOf<TypeInfo>(typeInfo, "Should be an instance of TypeInfo type.");
+                Assert.True(text.GetTypeInfo(typeInfo), "Should be true");
+            }
+            catch (Exception e)
+            {
+                Tizen.Log.Error(TAG, "Caught Exception" + e.ToString());
+                LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString());
+                Assert.Fail("Caught Exception" + e.ToString());
+            }
         }
 
-        [Test]\r
-        [Category("P1")]\r
-        [Description("Test Equals. Check whether Equals returns expected value or not.")]\r
-        [Property("SPEC", "Tizen.NUI.BaseHandle.Equals M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]\r
-        public void Equals_CHECK_RETURN_VALUE()\r
-        {\r
-            /* TEST CODE */\r
-            try\r
-            {\r
-                BaseHandle baseHandle = new View();\r
-                View view = baseHandle as View;\r
-                View view2 = new View();\r
-                Assert.True(baseHandle.Equals(view), "Should be true");\r
-                Assert.False(baseHandle.Equals(view2), "Should be false");\r
-            }\r
-            catch (Exception e)\r
-            {\r
-                Tizen.Log.Error(TAG, "Caught Exception" + e.ToString());\r
-                LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString());\r
-                Assert.Fail("Caught Exception" + e.ToString());\r
-            }\r
+        [Test]
+        [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.BaseHandle.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            try
+            {
+                BaseHandle baseHandle = new View();
+                View view = baseHandle as View;
+                View view2 = new View();
+                Assert.True(baseHandle.Equals(view), "Should be true");
+                Assert.False(baseHandle.Equals(view2), "Should be false");
+            }
+            catch (Exception e)
+            {
+                Tizen.Log.Error(TAG, "Caught Exception" + e.ToString());
+                LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString());
+                Assert.Fail("Caught Exception" + e.ToString());
+            }
         }
 
-        [Test]\r
-        [Category("P1")]\r
-        [Description("Test GetHashCode. Check whether GetHashCode returns expected value or not.")]\r
-        [Property("SPEC", "Tizen.NUI.BaseHandle.GetHashCode M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]\r
-        public void GetHashCode_CHECK_RETURN_VALUE()\r
-        {\r
-            /* TEST CODE */\r
-            try\r
-            {\r
-                BaseHandle baseHandle = new View();\r
-                Assert.GreaterOrEqual(baseHandle.GetHashCode(), 0, "Should be true");\r
-            }\r
-            catch (Exception e)\r
-            {\r
-                Tizen.Log.Error(TAG, "Caught Exception" + e.ToString());\r
-                LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString());\r
-                Assert.Fail("Caught Exception" + e.ToString());\r
-            }\r
+        [Test]
+        [Category("P1")]
+        [Description("Test GetHashCode. Check whether GetHashCode returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.BaseHandle.GetHashCode M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]
+        public void GetHashCode_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            try
+            {
+                BaseHandle baseHandle = new View();
+                Assert.GreaterOrEqual(baseHandle.GetHashCode(), 0, "Should be true");
+            }
+            catch (Exception e)
+            {
+                Tizen.Log.Error(TAG, "Caught Exception" + e.ToString());
+                LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Caught Exception" + e.ToString());
+                Assert.Fail("Caught Exception" + e.ToString());
+            }
         }
     }
 }
index 7c63179..02cc45b 100755 (executable)
@@ -1,8 +1,6 @@
 using System;
-using System.Linq.Expressions;
 using NUnit.Framework;
 using Tizen.NUI.Binding;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
 
 namespace Tizen.NUI.Tests
@@ -161,7 +159,7 @@ namespace Tizen.NUI.Tests
         public void Create_CHECK_INSTANCE_EXPRESSION()
         {
             /* TEST CODE */
-            var bindableProperty = BindableProperty.Create<PushButton, string>(b => b.LabelText, null, BindingMode.TwoWay);
+            var bindableProperty = BindableProperty.Create<TextLabel, string>(b => b.Text, null, BindingMode.TwoWay);
             Assert.IsNotNull(bindableProperty, "BindableProperty instance is null");
             Assert.IsInstanceOf<BindableProperty>(bindableProperty, "Should be instance of BindableProperty.");
         }
@@ -181,7 +179,7 @@ namespace Tizen.NUI.Tests
             BindableProperty.BindingPropertyChangingDelegate<string> changingDelegate = (b, ov, nv) => { };
             BindableProperty.CoerceValueDelegate<string> coerceValueDelegate = (bindable, value) => value;
 
-            var bindableProperty = BindableProperty.Create<PushButton, string>(b => b.LabelText, null, BindingMode.TwoWay, validateValueDelegate, changedDelegate, changingDelegate, coerceValueDelegate);
+            var bindableProperty = BindableProperty.Create<TextLabel, string>(b => b.Text, null, BindingMode.TwoWay, validateValueDelegate, changedDelegate, changingDelegate, coerceValueDelegate);
             Assert.IsNotNull(bindableProperty, "BindableProperty instance is null");
             Assert.IsInstanceOf<BindableProperty>(bindableProperty, "Should be instance of BindableProperty.");
         }
@@ -306,7 +304,7 @@ namespace Tizen.NUI.Tests
             BindableProperty.BindingPropertyChangingDelegate<string> changingDelegate = (b, ov, nv) => { };
             BindableProperty.CoerceValueDelegate<string> coerceValueDelegate = (bindable, value) => value;
 
-            var bindableProperty = BindableProperty.CreateReadOnly<PushButton, string>(b => b.LabelText, "Tizen", BindingMode.TwoWay, validateValueDelegate, changedDelegate, changingDelegate, coerceValueDelegate);
+            var bindableProperty = BindableProperty.CreateReadOnly<TextLabel, string>(b => b.Text, "Tizen", BindingMode.TwoWay, validateValueDelegate, changedDelegate, changingDelegate, coerceValueDelegate);
             Assert.IsNotNull(bindableProperty, "BindableProperty instance is null");
             Assert.IsInstanceOf<BindablePropertyKey>(bindableProperty, "Should be instance of BindableProperty.");
         }
@@ -321,7 +319,7 @@ namespace Tizen.NUI.Tests
         public void CreateReadOnly_CHECK_INSTANCE_EXPRESSION_CREATE_DEFAULT_VALUE_DELEGATE()
         {
             /* TEST CODE */
-            var bindableProperty = BindableProperty.CreateReadOnly<PushButton, string>(b => b.LabelText, "Tizen", BindingMode.TwoWay);
+            var bindableProperty = BindableProperty.CreateReadOnly<TextLabel, string>(b => b.Text, "Tizen", BindingMode.TwoWay);
             Assert.IsNotNull(bindableProperty, "BindableProperty instance is null");
             Assert.IsInstanceOf<BindablePropertyKey>(bindableProperty, "Should be instance of BindableProperty.");
         }
index d3e3c07..949b70f 100755 (executable)
@@ -1,9 +1,7 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
 using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index c1dc2b9..33273b8 100755 (executable)
@@ -1,8 +1,6 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
 using Tizen.NUI.Test;
 
@@ -26,8 +24,8 @@ namespace Tizen.NUI.Tests
         public void Destroy()
         {
             Tizen.Log.Info(TAG, "Destroy() is called!");
-        }\r
-        private void OnFocusGroupChanged(object obj, EventArgs e)\r
+        }
+        private void OnFocusGroupChanged(object obj, EventArgs e)
         { }
 
         [Test]
@@ -146,13 +144,13 @@ namespace Tizen.NUI.Tests
             /* TEST CODE */
             try
             {
-                PushButton button = new PushButton();
-                button.LabelText = "Focus";
-                FocusManager.Instance.SetCurrentFocusView(button);
+                TextLabel text = new TextLabel();
+                text.Text = "Focus";
+                FocusManager.Instance.SetCurrentFocusView(text);
 
                 FocusManager.Instance.ClearFocus();
 
-                Assert.IsFalse(button == FocusManager.Instance.GetCurrentFocusView(), "button view should be not foucused");
+                Assert.IsFalse(text == FocusManager.Instance.GetCurrentFocusView(), "button view should be not foucused");
             }
             catch (Exception e)
             {
index 11a5824..77da0f7 100755 (executable)
@@ -1,8 +1,6 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 
 namespace Tizen.NUI.Tests
 {
index 364832a..6a654f2 100755 (executable)
@@ -1,9 +1,6 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
 using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
 using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
@@ -345,7 +342,7 @@ namespace Tizen.NUI.Tests
         public void BorderOnly_SET_GET_VALUE()
         {
             /* TEST CODE */
-            ImageView imageView = new ImageView();\r
+            ImageView imageView = new ImageView();
             imageView.ResourceUrl = image_path;
             imageView.Border = new Rectangle(10, 10, 10, 10);
             imageView.BorderOnly = true;
index be918e8..a07b7c3 100755 (executable)
@@ -1,10 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index 7e9711b..9be0711 100755 (executable)
@@ -1,13 +1,7 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
-using Tizen.NUI.BaseComponents;\r
-\r
+using Tizen.NUI.BaseComponents;
+
 namespace Tizen.NUI.Tests
 {
     [TestFixture]
index 93c5337..4f94ba9 100755 (executable)
@@ -1,10 +1,5 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index 3080f09..3cffcbf 100755 (executable)
@@ -1,10 +1,5 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index ca4557f..3a3f45d 100755 (executable)
@@ -1,13 +1,7 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
-using Tizen.NUI.BaseComponents;\r
-\r
+using Tizen.NUI.BaseComponents;
+
 namespace Tizen.NUI.Tests
 {
     [TestFixture]
index cfb50a4..c1e82d4 100755 (executable)
@@ -1,10 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index 9eff81b..18c36db 100755 (executable)
@@ -1,10 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index fa6a4fc..a9253cf 100755 (executable)
@@ -1,10 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index 15f198c..05472d8 100755 (executable)
@@ -1,10 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index 7320395..7991291 100755 (executable)
@@ -1,8 +1,6 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
 using System.Threading.Tasks;
 using Tizen.NUI.Test;
index c68339f..1bb7da5 100755 (executable)
@@ -1,13 +1,6 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
-using System.Runtime.InteropServices;
 using System.Threading.Tasks;
-using Tizen.NUI.Test;
-using System.Collections.Generic;
 
 namespace Tizen.NUI.BaseComponents.Tests
 {
@@ -329,7 +322,7 @@ namespace Tizen.NUI.BaseComponents.Tests
 
             lottie.StopBehavior = LottieAnimationView.StopBehaviorType.MinimumFrame;
             lottie.Play();
-            await Task.Delay(300);\r
+            await Task.Delay(300);
             L.Debug(tag, $"1. stop behavior ={lottie.StopBehavior} total frame={lottie.TotalFrame}");
             lottie.Stop();
             await Task.Delay(300);
index 6d137f5..fe093ad 100755 (executable)
@@ -1,15 +1,7 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
 using Tizen.NUI.Test;
-
-using Tizen;
-using System.Runtime.InteropServices;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.Constants;
-using Tizen.Applications;
 using System.Globalization;
 
 namespace Tizen.NUI.Tests
index f12874b..0de02c9 100755 (executable)
@@ -1,8 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
@@ -56,8 +52,8 @@ namespace Tizen.NUI.Tests
             var nuiEventType = NUIEventType.TimeTick;
             Assert.IsInstanceOf<NUIEventType>(nuiEventType, "Should be an instance of NUIEventType type.");
             Assert.AreEqual(NUIEventType.TimeTick, nuiEventType, "Should be equal!");
-        }\r
-\r
+        }
+
         [Test]
         [Category("P1")]
         [Description("Test AmbientTick, Check whether AmbientTick property is readable.")]
index 8f117ca..bdc3822 100644 (file)
@@ -2,10 +2,7 @@ using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
 using System.Collections.Generic;
-using Tizen;
-using Tizen.NUI;
 using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
 
 namespace Tizen.NUI.Tests
 {
index e14a4f5..c268ee8 100755 (executable)
@@ -1,8 +1,6 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
@@ -208,39 +206,39 @@ namespace Tizen.NUI.Tests
             }
         }
 
-        [Test]\r
-        [Category("P1")]\r
-        [Description("Test Equals. Check whether Equals returns expected value or not.")]\r
-        [Property("SPEC", "Tizen.NUI.PaddingType.Equals M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]\r
-        public void Equals_CHECK_RETURN_VALUE()\r
-        {\r
-            /* TEST CODE */\r
+        [Test]
+        [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.PaddingType.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
             var paddingType1 = new PaddingType(0.0f, 0.0f, 20.0f, 30.0f);
             var paddingType2 = new PaddingType(0.0f, 0.0f, 20.0f, 30.0f);
             var paddingType3 = new PaddingType(10.0f, 0.0f, 20.0f, 30.0f);
             bool flagTrue = paddingType1.Equals(paddingType2);
             bool flagFalse = paddingType1.Equals(paddingType3);
-            Assert.IsTrue(flagTrue, "Should be true!");\r
-            Assert.IsFalse(flagFalse, "Should be false!");\r
+            Assert.IsTrue(flagTrue, "Should be true!");
+            Assert.IsFalse(flagFalse, "Should be false!");
         }
 
-        [Test]\r
-        [Category("P1")]\r
-        [Description("Test GetHashCode. Check whether GetHashCode returns expected value or not.")]\r
-        [Property("SPEC", "Tizen.NUI.PaddingType.GetHashCode M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]\r
-        public void GetHashCode_CHECK_RETURN_VALUE()\r
-        {\r
-            /* TEST CODE */\r
+        [Test]
+        [Category("P1")]
+        [Description("Test GetHashCode. Check whether GetHashCode returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.PaddingType.GetHashCode M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Xianbing teng, xb.teng@samsung.com")]
+        public void GetHashCode_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
             var paddingType = new PaddingType();
             Assert.IsNotNull(paddingType, "Can't create success object PaddingType");
-            Assert.IsInstanceOf<PaddingType>(paddingType, "Should be an instance of PaddingType type.");\r
-            Assert.GreaterOrEqual(paddingType.GetHashCode(), 0, "Should be true");\r
+            Assert.IsInstanceOf<PaddingType>(paddingType, "Should be an instance of PaddingType type.");
+            Assert.GreaterOrEqual(paddingType.GetHashCode(), 0, "Should be true");
         }
     }
 }
index 532c094..8844a1c 100755 (executable)
@@ -1,10 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.BaseComponents;
 using Tizen.NUI.Test;
 
index 6294469..5eecb76 100755 (executable)
@@ -1,10 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index b71ebca..f13ba2f 100755 (executable)
@@ -1,9 +1,7 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
 using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index 5120c39..c12901b 100755 (executable)
@@ -1,9 +1,5 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using System.Runtime.InteropServices;
 using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
index b893f51..b117f59 100755 (executable)
@@ -1,10 +1,7 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
 using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
-using System.Threading;
 using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
index 0c35230..bc1ffb1 100755 (executable)
@@ -1,9 +1,9 @@
 using NUnit.Framework;\r
 using NUnit.Framework.TUnit;\r
 using System;\r
-using Tizen.NUI;\r
-using Tizen.NUI.UIComponents;\r
 using Tizen.NUI.Test;\r
+using Tizen.NUI.BaseComponents;\r
+\r
 namespace Tizen.NUI.Tests\r
 {\r
     [TestFixture]\r
@@ -159,11 +159,11 @@ namespace Tizen.NUI.Tests
             /* TEST CODE */\r
             try\r
             {\r
-                var typeInfo = TypeRegistry.Get().GetTypeInfo("PushButton");\r
+                var typeInfo = TypeRegistry.Get().GetTypeInfo("TextLabel");\r
                 Assert.IsInstanceOf<TypeInfo>(typeInfo, "Should be an instance of TypeInfo type.");\r
-                PushButton view = new PushButton();\r
-                int propertyIndex = view.GetPropertyIndex("label");\r
-                Assert.AreEqual("label", typeInfo.GetPropertyName(propertyIndex), "Should be equal");\r
+                TextLabel textLabel = new TextLabel();\r
+                int propertyIndex = textLabel.GetPropertyIndex("text");\r
+                Assert.AreEqual("text", typeInfo.GetPropertyName(propertyIndex), "Should be equal");\r
             }\r
             catch (Exception e)\r
             {\r
index 098b0b1..c492ea7 100755 (executable)
@@ -1,8 +1,4 @@
 using NUnit.Framework;
-using NUnit.Framework.TUnit;
-using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
 using Tizen.NUI.Test;
 
@@ -56,7 +52,7 @@ namespace Tizen.NUI.Tests
             VideoView.FinishedEventArgs finishedEventArgs = new VideoView.FinishedEventArgs();
             VideoView videoView = new VideoView();
             finishedEventArgs.VideoView = videoView;
-            Assert.AreEqual(videoView, finishedEventArgs.VideoView, "Retrieved VideoView should be equal to set value");\r
+            Assert.AreEqual(videoView, finishedEventArgs.VideoView, "Retrieved VideoView should be equal to set value");
             videoView.Dispose();
         }
     }
index bb123c9..6758aea 100755 (executable)
@@ -1,12 +1,8 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using System.Threading;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
 using System.Threading.Tasks;
-using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
 {
index 9e65164..48b3c41 100755 (executable)
@@ -1,10 +1,7 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
-using System.Runtime.InteropServices;
 using System.Threading.Tasks;
 using Tizen.NUI.Test;
 using System.Collections.Generic;
index 614a6dc..a2b3ecc 100755 (executable)
@@ -1,9 +1,6 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests
index d84efd6..b3a3b99 100644 (file)
@@ -1,10 +1,7 @@
 using NUnit.Framework;
 using NUnit.Framework.TUnit;
 using System;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
 using Tizen.NUI.BaseComponents;
-using System.Threading.Tasks;
 using Tizen.NUI.Test;
 
 namespace Tizen.NUI.Tests