public void AnyContainerBaseGetType() { tlog.Debug(tag, $"AnyContainerBaseGetType START"); SWIGTYPE_p_std__type_info type = new SWIGTYPE_p_std__type_info(new View().SwigCPtr.Handle); SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase cloneFunc = new SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase(new ImageView().SwigCPtr.Handle); SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void deleteFunc = new SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void(new TextLabel().SwigCPtr.Handle); var testingTarget = new Any.AnyContainerBase(type, cloneFunc, deleteFunc); Assert.IsNotNull(testingTarget, "Can't create success object AnyContainerBase"); Assert.IsInstanceOf <Any.AnyContainerBase>(testingTarget, "Should be an instance of AnyContainerBase type."); try { testingTarget.GetType(); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception: Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"AnyContainerBaseGetType END (OK)"); }
public void AnyContainerBaseConstructor() { tlog.Debug(tag, $"AnyContainerBaseConstructor START"); SWIGTYPE_p_std__type_info type = new SWIGTYPE_p_std__type_info(new View().SwigCPtr.Handle); SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase cloneFunc = new SWIGTYPE_p_f_r_q_const__Dali__Any__AnyContainerBase__p_Dali__Any__AnyContainerBase(new ImageView().SwigCPtr.Handle); SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void deleteFunc = new SWIGTYPE_p_f_p_q_const__Dali__Any__AnyContainerBase__void(new TextLabel().SwigCPtr.Handle); var testingTarget = new Any.AnyContainerBase(type, cloneFunc, deleteFunc); Assert.IsNotNull(testingTarget, "Can't create success object AnyContainerBase"); Assert.IsInstanceOf <Any.AnyContainerBase>(testingTarget, "Should be an instance of AnyContainerBase type."); testingTarget.Dispose(); tlog.Debug(tag, $"AnyContainerBaseConstructor END (OK)"); }