public void EXamlAddToCollectionPropertyActionConstructor() { tlog.Debug(tag, $"EXamlAddToCollectionPropertyActionConstructor START"); var testingTarget = new Tizen.NUI.EXaml.AddToCollectionPropertyAction(new Tizen.NUI.EXaml.GlobalDataList(), null); Assert.IsNotNull(testingTarget, "Can't create success object AddToCollectionPropertyAction"); Assert.IsInstanceOf <Tizen.NUI.EXaml.AddToCollectionPropertyAction>(testingTarget, "Should be an instance of AddToCollectionPropertyAction type."); tlog.Debug(tag, $"EXamlAddToCollectionPropertyActionConstructor END (OK)"); }
public void EXamlAddToCollectionPropertyActionInit() { tlog.Debug(tag, $"EXamlAddToCollectionPropertyActionInit START"); var testingTarget = new Tizen.NUI.EXaml.AddToCollectionPropertyAction(new Tizen.NUI.EXaml.GlobalDataList(), null); Assert.IsNotNull(testingTarget, "Can't create success object AddToCollectionPropertyAction"); Assert.IsInstanceOf <Tizen.NUI.EXaml.AddToCollectionPropertyAction>(testingTarget, "Should be an instance of AddToCollectionPropertyAction type."); try { testingTarget.Init(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } tlog.Debug(tag, $"EXamlAddToCollectionPropertyActionInit END (OK)"); }