- 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>
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");
}