Exemplo n.º 1
0
        public void WebPasswordDataListConstructor()
        {
            tlog.Debug(tag, $"WebPasswordDataListConstructor START");

            using (Tizen.NUI.BaseComponents.WebView webview = new Tizen.NUI.BaseComponents.WebView("Shanghai", "Asia/Shanghai"))
            {
                var testingTarget = new WebPasswordDataList(webview.SwigCPtr.Handle, false);
                Assert.IsNotNull(testingTarget, "null handle");
                Assert.IsInstanceOf <WebPasswordDataList>(testingTarget, "Should return WebPasswordDataList instance.");

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"WebPasswordDataListConstructor END (OK)");
        }
Exemplo n.º 2
0
        public void WebPasswordDataListItemCount()
        {
            tlog.Debug(tag, $"WebPasswordDataListItemCount START");

            using (Tizen.NUI.BaseComponents.WebView webview = new Tizen.NUI.BaseComponents.WebView("Shanghai", "Asia/Shanghai"))
            {
                webview.LoadUrl(url);

                var testingTarget = new WebPasswordDataList(webview.SwigCPtr.Handle, false);
                Assert.IsNotNull(testingTarget, "null handle");
                Assert.IsInstanceOf <WebPasswordDataList>(testingTarget, "Should return WebPasswordDataList instance.");

                tlog.Error(tag, "ItemCount : " + testingTarget.ItemCount);

                testingTarget.Dispose();
            }

            tlog.Debug(tag, $"WebPasswordDataListItemCount END (OK)");
        }