[NUI][ACR-144][Update TCTS for Tizen.NUI] 58/188358/2
authorwenfeng.ge <wenfeng.ge@samsung.com>
Tue, 4 Sep 2018 07:06:50 +0000 (15:06 +0800)
committerwenfeng.ge <wenfeng.ge@samsung.com>
Tue, 4 Sep 2018 07:38:11 +0000 (15:38 +0800)
Change-Id: I31404bb596fd446a477680c7e16488bb36c64655
Signed-off-by: wenfeng.ge <wenfeng.ge@samsung.com>
16 files changed:
tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyValue.cs [new file with mode: 0755]
tct-suite-vs/Tizen.NUI.Tests/testcase/TSNUIApplication.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition2D.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyArray.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyMap.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector2.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector3.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector4.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize2D.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector2.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector3.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector4.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs

index b6fd5eb..349dd72 100755 (executable)
@@ -63,6 +63,119 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Properties. Check whether Properties is readable and writable.")]
+        [Property("SPEC", "Tizen.NUI.Animation.Properties A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Properties_SET_GET_VALUE()
+        {
+            /* TEST CODE */
+            var animation = new Animation(1000);
+            string[] properties = new string[] { "Opacity", "PositionX"};
+            animation.Properties = properties;
+            Assert.AreEqual("Opacity", animation.Properties[0], "The Properties[0] value of the animation is not correct here.");
+            Assert.AreEqual("PositionX", animation.Properties[1], "The Properties[1] value of the animation is not correct here.");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test DestValue. Check whether DestValue is readable and writable.")]
+        [Property("SPEC", "Tizen.NUI.Animation.DestValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void DestValue_SET_GET_VALUE()
+        {
+            /* TEST CODE */
+            var animation = new Animation(1000);
+            string[] destValue = new string[] { "0.0f", "960,540" };
+            animation.DestValue = destValue;
+            Assert.AreEqual("0.0f", animation.DestValue[0], "The DestValue[0] value of the animation is not correct here.");
+            Assert.AreEqual("960,540", animation.DestValue[1], "The DestValue[1] value of the animation is not correct here.");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test StartTime. Check whether StartTime is readable and writable.")]
+        [Property("SPEC", "Tizen.NUI.Animation.StartTime A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void StartTime_SET_GET_VALUE()
+        {
+            /* TEST CODE */
+            var animation = new Animation(3000);
+            int[] startTime = new int[] { 0, 1000 };
+            animation.StartTime = startTime;
+            Assert.AreEqual(0, animation.StartTime[0], "The StartTime[0] value of the animation is not correct here.");
+            Assert.AreEqual(1000, animation.StartTime[1], "The StartTime[1] value of the animation is not correct here.");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test EndTime. Check whether EndTime is readable and writable.")]
+        [Property("SPEC", "Tizen.NUI.Animation.EndTime A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void EndTime_SET_GET_VALUE()
+        {
+            /* TEST CODE */
+            var animation = new Animation(3000);
+            int[] endTime = new int[] { 1000, 3000 };
+            animation.EndTime = endTime;
+            Assert.AreEqual(1000, animation.EndTime[0], "The EndTime[0] value of the animation is not correct here.");
+            Assert.AreEqual(3000, animation.EndTime[1], "The EndTime[1] value of the animation is not correct here.");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test PlayAnimateTo. Check whether PlayAnimateTo works or not.")]
+        [Property("SPEC", "Tizen.NUI.Animation.PlayAnimateTo M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MCST")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public async Task PlayAnimateTo_CHECK_STATE()
+        {
+            /* TEST CODE */
+            var animation = new Animation(3000);
+
+            string[] properties = new string[] { "Opacity", "PositionX" };
+            animation.Properties = properties;
+
+            string[] destValue = new string[] { "0.0", "960" };
+            animation.DestValue = destValue;
+
+            int[] startTime = new int[] { 0, 1000 };
+            animation.StartTime = startTime;
+
+            int[] endTime = new int[] { 1000, 3000 };
+            animation.EndTime = endTime;
+
+            View view = new View();
+            view.Position2D = new Position2D(0, 0);
+            view.Size2D = new Size2D(200, 200);
+            view.BackgroundColor = Color.Red;
+            Window.Instance.Add(view);
+
+            try
+            {
+                animation.PlayAnimateTo(view);
+                await Task.Delay(3020);
+                Assert.AreEqual(view.PositionX, 960.0f, "PositionX is not correct!");
+                Assert.AreEqual(view.Opacity, 0.0f, "Opacity is not correct!");
+            }
+            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]
+        [Category("P1")]
         [Description("Test AnimateTo. Animate the property to the target value.")]
         [Property("SPEC", "Tizen.NUI.Animation.AnimateTo M")]
         [Property("SPEC_URL", "-")]
@@ -528,7 +641,7 @@ namespace Tizen.NUI.Tests
             Window.Instance.GetDefaultLayer().Add(actor);
 
             Animation animation = new Animation(1000);
-            Position targetPosition = new Position(10.0f, 10.0f, 10.0f);
+            Position targetPosition = new Position(10.0f, 10.0f, 0.0f);
             animation.AnimateTo(actor, "Position", targetPosition, new AlphaFunction(AlphaFunction.BuiltinFunctions.Linear));
             Assert.AreEqual(Animation.EndActions.StopFinal, animation.DisconnectAction, "Test for Animation.EndActions.StopFinal");
             animation.Play();
diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyValue.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyValue.cs
new file mode 100755 (executable)
index 0000000..3874327
--- /dev/null
@@ -0,0 +1,615 @@
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using System;
+using Tizen.NUI;
+using Tizen.NUI.Test;
+
+namespace Tizen.NUI.Tests
+{
+    [TestFixture]
+    [Description("Tizen.NUI.KeyValue Tests")]
+    public class KeyValueTests
+    {
+        private static string TAG = "NUI";
+
+        [SetUp]
+        public static void Init()
+        {
+            Tizen.Log.Info(TAG, "Init() is called!");
+            App.MainTitleChangeText("KeyValueTests");
+            App.MainTitleChangeBackgroundColor(null);
+        }
+
+        [TearDown]
+        public static void Destroy()
+        {
+            Tizen.Log.Info(TAG, "Destroy() is called!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Create a KeyValue object. Check whether Key is successfully created or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.KeyValue C")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "CONSTR")]
+        [Property("COVPARAM", "")]
+        [Property("AUTHOR", "Wu Youxia, youxia.wu@partner.samsung.com")]
+        public void KeyValue_INIT()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            Assert.IsInstanceOf<KeyValue>(keyValue, "Should be an instance of KeyValue type.");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test KeyInt. Check whether KeyInt works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.KeyInt A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void KeyInt_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.KeyInt = 1;
+
+            Assert.AreEqual(1, keyValue.KeyInt, "The value of the KeyInt field should be 1 here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test KeyString. Check whether KeyString works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.KeyString A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void KeyString_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.KeyString = "Test";
+
+            Assert.AreEqual("Test", keyValue.KeyString, "The value of the KeyString field should be 1 here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test TrueValue. Check whether TrueValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.TrueValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void TrueValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.TrueValue = PropertyValue.CreateFromObject(1);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            int value = 0;
+            propertyValue.Get(out value);
+
+            Assert.AreEqual(1, value, "The value should be 1 here!");
+        }\r
+\r
+        [Test]
+        [Category("P1")]
+        [Description("Test Key. Check whether Key works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.Key A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Key_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.Key = "Test";
+
+            Assert.AreEqual("Test", keyValue.Key, "The value of the Key property should be Test here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test OriginalKey. Check whether OriginalKey works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.OriginalKey A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void OriginalKey_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.OriginalKey = "Test";
+
+            Assert.AreEqual("Test", keyValue.OriginalKey, "The value of the OriginalKey property should be Test here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test Value. Check whether Value works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.Value A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Value_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.Value = "Test";
+
+            Assert.AreEqual("Test", keyValue.Value, "The value of the Value property should be Test here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test IntergerValue. Check whether IntergerValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.IntergerValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void IntergerValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.IntergerValue = 1;
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            int value = 0;
+            propertyValue.Get(out value);
+
+            Assert.AreEqual(1, value, "The value should be 1 here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test BooleanValue. Check whether BooleanValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.BooleanValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void BooleanValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.BooleanValue = true;
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            bool value = false;
+            propertyValue.Get(out value);
+
+            Assert.IsTrue(value, "The value should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test SingleValue. Check whether SingleValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.SingleValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void SingleValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.SingleValue = 1.0f;
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            float value = 0.0f;
+            propertyValue.Get(out value);
+
+            Assert.AreEqual(1.0f, value, "The value should be 1.0f here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test StringValue. Check whether StringValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.StringValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void StringValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.StringValue = "TEST";
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            string value = "";
+            propertyValue.Get(out value);
+
+            Assert.AreEqual("TEST", value, "The value should be TEST here!");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test Vector2Value. Check whether Vector2Value works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.Vector2Value A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Vector2Value_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.Vector2Value = new Vector2(1.0f, 1.0f);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Vector2 value = new Vector2(0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1.0f, value.X, "The value.X should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Y, "The value.Y should be equal to the 1.0f");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test Vector3Value. Check whether Vector3Value works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.Vector3Value A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Vector3Value_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.Vector3Value = new Vector3(1.0f, 1.0f, 1.0f);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Vector3 value = new Vector3(0.0f, 0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1.0f, value.X, "The value.X should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Y, "The value.Y should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Z, "The value.Z should be equal to the 1.0f");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test Vector4Value. Check whether Vector4Value works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.Vector4Value A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Vector4Value_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.Vector4Value = new Vector4(1.0f, 1.0f, 1.0f, 1.0f);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Vector4 value = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1.0f, value.X, "The value.X should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Y, "The value.Y should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Z, "The value.Z should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.W, "The value.W should be equal to the 1.0f");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test PositionValue. Check whether PositionValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.PositionValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void PositionValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.PositionValue = new Position(1.0f, 1.0f, 0.0f);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Position value = new Position(0.0f, 0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1.0f, value.X, "The value.X should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Y, "The value.Y should be equal to the 1.0f");
+            Assert.AreEqual(0.0f, value.Z, "The value.Z should be equal to the 0.0f");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test Position2DValue. Check whether Position2DValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.Position2DValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Position2DValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.Position2DValue = new Position2D(1, 1);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Position2D value = new Position2D(0, 0);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1, value.X, "The value.X should be equal to the 1");
+            Assert.AreEqual(1, value.Y, "The value.Y should be equal to the 1");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test SizeValue. Check whether SizeValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.SizeValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void SizeValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.SizeValue = new Size(1.0f, 1.0f, 1.0f);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Size value = new Size(0.0f, 0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1.0f, value.Width, "The value.Width should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Height, "The value.Height should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Depth, "The value.Depth should be equal to the 1.0f");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test Size2DValue. Check whether Size2DValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.Size2DValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Size2DValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.Size2DValue = new Size2D(1, 1);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Size2D value = new Size2D(0, 0);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1, value.Width, "The value.Width should be equal to the 1");
+            Assert.AreEqual(1, value.Height, "The value.Height should be equal to the 1");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test ColorValue. Check whether ColorValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.ColorValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void ColorValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.ColorValue = Color.Red;
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Color value = new Color(0.0f, 0.0f, 0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(Color.Red.R, value.R, "The value.R should be equal to the Color.Red.R");
+            Assert.AreEqual(Color.Red.G, value.G, "The value.R should be equal to the Color.Red.G");
+            Assert.AreEqual(Color.Red.B, value.B, "The value.R should be equal to the Color.Red.B");
+            Assert.AreEqual(Color.Red.A, value.A, "The value.R should be equal to the Color.Red.A");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test RectangleValue. Check whether RectangleValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.RectangleValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void RectangleValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.RectangleValue = new Rectangle(0, 0, 1, 1);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Rectangle value = new Rectangle(0, 0, 0, 0);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(0, value.X, "The value.X should be equal to the 0");
+            Assert.AreEqual(0, value.Y, "The value.Y should be equal to the 0");
+            Assert.AreEqual(1, value.Width, "The value.Width should be equal to the 1");
+            Assert.AreEqual(1, value.Height, "The value.Height should be equal to the 1");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test RotationValue. Check whether RotationValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.RotationValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void RotationValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.RotationValue = new Rotation(new Radian(1.5f), Vector3.XAxis);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Rotation value = new Rotation();
+            propertyValue.Get(value);
+
+            Assert.IsNotNull(value, "Should be not null");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test RelativeVector2Value. Check whether RelativeVector2Value works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.RelativeVector2Value A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void RelativeVector2Value_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.RelativeVector2Value = new RelativeVector2(1.0f, 1.0f);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            RelativeVector2 value = new RelativeVector2(0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1.0f, value.X, "The value.X should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Y, "The value.Y should be equal to the 1.0f");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test RelativeVector3Value. Check whether RelativeVector3Value works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.RelativeVector3Value A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void RelativeVector3Value_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.RelativeVector3Value = new RelativeVector3(1.0f, 1.0f, 1.0f);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            RelativeVector3 value = new RelativeVector3(0.0f, 0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1.0f, value.X, "The value.X should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Y, "The value.Y should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Z, "The value.Z should be equal to the 1.0f");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test RelativeVector4Value. Check whether RelativeVector4Value works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.RelativeVector4Value A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void RelativeVector4Value_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.RelativeVector4Value = new RelativeVector4(1.0f, 1.0f, 1.0f, 1.0f);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            RelativeVector4 value = new RelativeVector4(0.0f, 0.0f, 0.0f, 0.0f);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1.0f, value.X, "The value.X should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Y, "The value.Y should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.Z, "The value.Z should be equal to the 1.0f");
+            Assert.AreEqual(1.0f, value.W, "The value.W should be equal to the 1.0f");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test ExtentsValue. Check whether ExtentsValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.ExtentsValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void ExtentsValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+            keyValue.ExtentsValue = new Extents(1, 1, 1, 1);
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            Extents value = new Extents(0, 0, 0, 0);
+            propertyValue.Get(value);
+
+            Assert.AreEqual(1, value.Start, "The value.Start should be equal to the 1");
+            Assert.AreEqual(1, value.End, "The value.End should be equal to the 1");
+            Assert.AreEqual(1, value.Top, "The value.Top should be equal to the 1");
+            Assert.AreEqual(1, value.Bottom, "The value.Bottom should be equal to the 1");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test PropertyArrayValue. Check whether PropertyArrayValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.PropertyArrayValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void PropertyArrayValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+
+            PropertyArray propertyarray = new PropertyArray();
+            KeyValue keyValue1 = new KeyValue();
+            keyValue1.SingleValue = 14.0f;
+            KeyValue keyValue2 = new KeyValue();
+            keyValue2.SingleValue = 15.0f;
+
+            propertyarray.Add(keyValue1);
+            propertyarray.Add(keyValue2);
+            keyValue.PropertyArrayValue = propertyarray;
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            PropertyArray value = new PropertyArray();
+            propertyValue.Get(value);
+
+            Assert.AreEqual(2, value.Size(), "The count is not correct.");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test PropertyMapValue. Check whether PropertyMapValue works or not.")]
+        [Property("SPEC", "Tizen.NUI.KeyValue.PropertyMapValue A")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "PRW")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void PropertyMapValue_CHECK_VALUE()
+        {
+            /* TEST CODE */
+            var keyValue = new KeyValue();
+            Assert.IsNotNull(keyValue, "Can't create success object KeyValue");
+
+            PropertyMap propertyMap = new PropertyMap();
+            PropertyValue propertyValue1 = new PropertyValue(4.0f);
+            propertyMap.Insert(8, propertyValue1);
+            PropertyValue propertyValue2 = new PropertyValue(5.0f);
+            propertyMap.Insert(18, propertyValue2);
+
+            keyValue.PropertyMapValue = propertyMap;
+
+            PropertyValue propertyValue = keyValue.TrueValue;
+            PropertyMap value = new PropertyMap();
+            propertyValue.Get(value);
+
+            Assert.AreEqual(2, value.Count(), "The count is not correct.");
+        }
+
+    }
+}
index 69f6b73..f61d4d1 100755 (executable)
@@ -72,6 +72,28 @@ namespace Tizen.NUI.Tests
             Assert.IsNotNull(application, "NUIApplication Should return NUIApplication instance.");
         }
 
+        [Test]
+        [Category("P1")]
+        [Description("Test RegisterAssembly. Try to register assembly")]
+        [Property("SPEC", "Tizen.NUI.NUIApplication.RegisterAssembly M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Ge Wenfeng, wenfeng.ge@samsung.com")]
+        public void RegisterAssembly_CHECK()
+        {
+            /* TEST CODE */
+            try
+            {
+                NUIApplication.RegisterAssembly(typeof(NUIApplication).Assembly);
+            }
+            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());
+            }
+        }
+
 #if false // currently ACR is not yet proceed. temporarily blocked.
         //[Test]
         //[Category("P1")]
index 7ba9cee..7197a5e 100755 (executable)
@@ -743,6 +743,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.Position.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            Position position1 = new Position(1.0f, 1.0f, 1.0f);
+            Position position2 = new Position(1.0f, 1.0f, 1.0f);
+
+            bool flag = position1.Equals(position2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test implicit vector3. Try to convert a vector3 instance to a position instance.")]
         [Property("SPEC", "Tizen.NUI.Position.implicit M")]
         [Property("SPEC_URL", "-")]
index 566d85b..27bb0c9 100755 (executable)
@@ -279,6 +279,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.Position2D.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            Position2D position1 = new Position2D(1, 1);
+            Position2D position2 = new Position2D(1, 1);
+
+            bool flag = position1.Equals(position2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test implicit vector2. Try to convert a vector2 instance to a position2D instance.")]
         [Property("SPEC", "Tizen.NUI.Position2D.implicit M")]
         [Property("SPEC_URL", "-")]
index ca23b33..13e313b 100755 (executable)
@@ -279,6 +279,34 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Add. Check whether Add returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.PropertyArray.Add M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("COVPARAM", "KeyValue")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Add_CHECK_VALUE_WITH_KEYVALUE()
+        {
+            /* TEST CODE */
+            PropertyArray propertyarray = new PropertyArray();
+            KeyValue keyValue1 = new KeyValue();
+            keyValue1.SingleValue = 14.0f;
+            KeyValue keyValue2 = new KeyValue();
+            keyValue2.SingleValue = 15.0f;
+
+            propertyarray.Add(keyValue1);
+            propertyarray.Add(keyValue2);
+            Assert.AreEqual(2, propertyarray.Size(), "Add function not work, the size of the array is not equal to the Add number");
+            float tempvalue1 = 0.0f;
+            float tempvalue2 = 0.0f;
+            propertyarray[0].Get(out tempvalue1);
+            propertyarray[1].Get(out tempvalue2);
+            Assert.AreEqual(14.0f, tempvalue1, "Add function not work, the value got from array is not equal to the Add value");
+            Assert.AreEqual(15.0f, tempvalue2, "Add function not work, the value got from array is not equal to the Add value");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test GetElementAt. Check whether GetElementAt returns expected value or not.")]
         [Property("SPEC", "Tizen.NUI.PropertyArray.GetElementAt M")]
         [Property("SPEC_URL", "-")]
index 9726862..93ebad4 100755 (executable)
@@ -227,6 +227,27 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Add. Check whether Add with KeyValue parameter returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.PropertyMap.Add M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR MCST")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        [Property("COVPARAM", "KeyValue")]
+        public void Add_CHECK_VALUE_WITH_KEYVALUE()
+        {
+            /* TEST CODE */
+            PropertyMap propertyMap = new PropertyMap();
+            KeyValue keyValue1 = new KeyValue();
+            keyValue1.KeyInt = 300;
+            keyValue1.SingleValue = 4.0f;
+            var proMap = propertyMap.Add(keyValue1);
+
+            Assert.IsInstanceOf<PropertyMap>(proMap, "Should return PropertyMap instance.");
+            Assert.AreEqual(1, propertyMap.Count(), "Add with string and PropertyValue parameter function does not work");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test GetValue. Check whether GetValue returns expected value or not.")]
         [Property("SPEC", "Tizen.NUI.PropertyMap.GetValue M")]
         [Property("SPEC_URL", "-")]
index cbac1cf..7d044bb 100755 (executable)
@@ -273,6 +273,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.RelativeVector2.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            RelativeVector2 vector1 = new RelativeVector2(0.02f, 0.02f);
+            RelativeVector2 vector2 = new RelativeVector2(0.02f, 0.02f);
+
+            bool flag = vector1.Equals(vector2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test implicit vector2. Try to convert a vector2 instance to a RelativeVector2 instance.")]
         [Property("SPEC", "Tizen.NUI.RelativeVector2.implicit M")]
         [Property("SPEC_URL", "-")]
index 681bd69..b81bd16 100755 (executable)
@@ -301,6 +301,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.RelativeVector3.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            RelativeVector3 vector1 = new RelativeVector3(0.02f, 0.02f, 0.02f);
+            RelativeVector3 vector2 = new RelativeVector3(0.02f, 0.02f, 0.02f);
+
+            bool flag = vector1.Equals(vector2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test implicit vector3. Try to convert a vector3 instance to a RelativeVector3 instance.")]
         [Property("SPEC", "Tizen.NUI.RelativeVector3.implicit M")]
         [Property("SPEC_URL", "-")]
index 5a66d96..a037d31 100755 (executable)
@@ -332,6 +332,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.RelativeVector4.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            RelativeVector4 vector1 = new RelativeVector4(0.02f, 0.02f, 0.02f, 0.02f);
+            RelativeVector4 vector2 = new RelativeVector4(0.02f, 0.02f, 0.02f, 0.02f);
+
+            bool flag = vector1.Equals(vector2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test implicit vector4. Try to convert a Vector4 instance to a RelativeVector4 instance.")]
         [Property("SPEC", "Tizen.NUI.RelativeVector4.implicit M")]
         [Property("SPEC_URL", "-")]
index 1f408a2..663f3f1 100755 (executable)
@@ -260,6 +260,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.Size2D.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            Size2D size1 = new Size2D(1, 1);
+            Size2D size2 = new Size2D(1, 1);
+
+            bool flag = size1.Equals(size2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test implicit vector2. Try to convert a vector2 instance to a size2D instance.")]
         [Property("SPEC", "Tizen.NUI.Size2D.implicit M")]
         [Property("SPEC_URL", "-")]
index 17e5f5d..baf8baf 100755 (executable)
@@ -36,6 +36,20 @@ namespace Tizen.NUI.Tests
         [Property("SPEC", "Tizen.NUI.BaseComponents.TableView.TableView C")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "CONSTR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        [Property("COVPARAM", "")]
+        public void TableView_INIT()
+        {
+            var temp_view = new TableView();
+            Assert.IsInstanceOf<TableView>(temp_view, "Should return Table View instance.");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Test Construct. Check whether Table View construct.")]
+        [Property("SPEC", "Tizen.NUI.BaseComponents.TableView.TableView C")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "CONSTR")]
         [Property("AUTHOR", "Xuemei Chen, xnicole.chen@samsung.com")]
         [Property("COVPARAM", "Uint,Uint")]
         public void TableView_INIT_WITH_UNIT_UNIT()
index 8481b90..0f27421 100755 (executable)
@@ -477,6 +477,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.Vector2.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            Vector2 vector1 = new Vector2(1.0f, 1.0f);
+            Vector2 vector2 = new Vector2(1.0f, 1.0f);
+
+            bool flag = vector1.Equals(vector2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test Dispose, try to dispose the Vector2.")]
         [Property("SPEC", "Tizen.NUI.Vector2.Dispose M")]
         [Property("SPEC_URL", "-")]
index 04db36b..b120b75 100755 (executable)
@@ -618,6 +618,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.Vector3.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            Vector3 vector1 = new Vector3(1.0f, 1.0f, 1.0f);
+            Vector3 vector2 = new Vector3(1.0f, 1.0f, 1.0f);
+
+            bool flag = vector1.Equals(vector2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test Dispose, try to dispose the Vector3.")]
         [Property("SPEC", "Tizen.NUI.Vector3.Dispose M")]
         [Property("SPEC_URL", "-")]
index 4eb67d9..9cff52d 100755 (executable)
@@ -605,6 +605,23 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
+        [Description("Test Equals. Check whether Equals returns expected value or not.")]
+        [Property("SPEC", "Tizen.NUI.Vector4.Equals M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
+        public void Equals_CHECK_RETURN_VALUE()
+        {
+            /* TEST CODE */
+            Vector4 vector1 = new Vector4(1.0f, 1.0f, 1.0f, 1.0f);
+            Vector4 vector2 = new Vector4(1.0f, 1.0f, 1.0f, 1.0f);
+
+            bool flag = vector1.Equals(vector2);
+            Assert.IsTrue(flag, "Should be true here!");
+        }
+
+        [Test]
+        [Category("P1")]
         [Description("Test Dispose, try to dispose the Vector4.")]
         [Property("SPEC", "Tizen.NUI.Vector4.Dispose M")]
         [Property("SPEC_URL", "-")]
index ff2ff6a..3f09f00 100755 (executable)
@@ -179,7 +179,7 @@ namespace Tizen.NUI.Tests
             View actor = new View();
             Assert.AreEqual(-1, actor.HierarchyDepth, "The actor is not in the hierarchy");
             Window.Instance.GetDefaultLayer().Add(actor);
-            Assert.AreEqual(1, actor.HierarchyDepth, "The actor is in the hierarchy");
+            Assert.AreEqual(2, actor.HierarchyDepth, "The actor is in the hierarchy");
             Window.Instance.GetDefaultLayer().Remove(actor);
         }