public void PropertyNotificationConstructor() { tlog.Debug(tag, $"PropertyNotificationConstructor START"); var testintTarget = new Tizen.NUI.PropertyNotification(); Assert.IsNotNull(testintTarget, "should not be null."); Assert.IsInstanceOf<PropertyNotification>(testintTarget, "should be an instance of PropertyNotification class!"); testintTarget.Dispose(); tlog.Debug(tag, $"PropertyNotificationConstructor END (OK)"); }
public void PropertyNotificationConstructorWithPropertyNotification() { tlog.Debug(tag, $"PropertyNotificationConstructorWithPropertyNotification START"); var view = new View(); Assert.IsNotNull(view, "should not be null."); Assert.IsInstanceOf<View>(view, "should be an instance of View class!"); var dummy = view.AddPropertyNotification("PositionX", PropertyCondition.GreaterThan(100.0f)); Assert.IsNotNull(dummy, "should not be null."); Assert.IsInstanceOf<PropertyNotification>(dummy, "should be an instance of PropertyNotification class!"); var testingTarget = new Tizen.NUI.PropertyNotification(dummy); Assert.IsNotNull(testingTarget, "should not be null."); Assert.IsInstanceOf<PropertyNotification>(testingTarget, "should be an instance of PropertyNotification class!"); testingTarget.Dispose(); dummy.Dispose(); view.Dispose(); tlog.Debug(tag, $"PropertyNotificationConstructorWithPropertyNotification END (OK)"); }