[NUI][NUI.Devel.Tests] Fix build errors of NUI.Devel following latest codes.
[platform/core/csapi/tizenfx.git] / test / Tizen.NUI.Tests / Tizen.NUI.Devel.Tests / testcase / internal / Widget / TSWidgetApplication.cs
index c09d820..fe3eb27 100755 (executable)
@@ -247,8 +247,9 @@ namespace Tizen.NUI.Devel.Tests
 
             try
             {
-                string widgetName = null;
-                WidgetApplication.WidgetCreateFunction(ref widgetName);
+                Widget widget = new Widget();
+                global::System.IntPtr widgetPtr = widget.GetIntPtr();
+                WidgetApplication.WidgetCreateFunction(ref widgetPtr);
             }
             catch (Exception e)
             {