[NUI][Non-ACR] Modify PropertyNotification TCT 64/248564/1
authorhuiyu.eun <huiyu.eun@samsung.com>
Mon, 30 Nov 2020 04:48:48 +0000 (13:48 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Mon, 30 Nov 2020 04:53:30 +0000 (13:53 +0900)
- Change PropertyNotification instance from view.
- Change the empty object to an object that operates as a correct TCT

Change-Id: I3679fdfb143188b99d2952011eac7e74ff4b7c11
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.cs

index 42d7148..4e772e2 100755 (executable)
@@ -227,7 +227,8 @@ namespace Tizen.NUI.Tests
         public void DownCast_CHECK_RETURN_TYPE()
         {
             /* TEST CODE */
-            BaseHandle handle = new PropertyNotification();
+            View view = new View();
+            BaseHandle handle = view.AddPropertyNotification("positionX", PropertyCondition.GreaterThan(100.0f));
             PropertyNotification propertyNotification = PropertyNotification.DownCast(handle);
             Assert.IsInstanceOf<PropertyNotification>(propertyNotification, "Should return a instance of PropertyNotification");
         }