Exemplo n.º 1
0
        public void AutofillContainerAutofillListEventSignal()
        {
            tlog.Debug(tag, $"AutofillContainerAutofillListEventSignal START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            a1.AutofillListEventSignal();
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerAutofillListEventSignal END (OK)");
            Assert.Pass("AutofillContainerAutofillListEventSignal");
        }
Exemplo n.º 2
0
        public void AutofillContainerGetAutofillServiceImagePath()
        {
            tlog.Debug(tag, $"AutofillContainerGetAutofillServiceImagePath START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            a1.GetAutofillServiceImagePath();
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerGetAutofillServiceImagePath END (OK)");
            Assert.Pass("AutofillContainerGetAutofillServiceImagePath");
        }
Exemplo n.º 3
0
        public void AutofillContainerSetSelectedItem()
        {
            tlog.Debug(tag, $"AutofillContainerSetSelectedItem START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            a1.SetSelectedItem("testContent");
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerSetSelectedItem END (OK)");
            Assert.Pass("AutofillContainerSetSelectedItem");
        }
Exemplo n.º 4
0
        public void AutofillContainerGetListItem()
        {
            tlog.Debug(tag, $"AutofillContainerGetListItem START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            a1.GetListItem(0);
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerGetListItem END (OK)");
            Assert.Pass("AutofillContainerGetListItem");
        }
Exemplo n.º 5
0
        public void AutofillContainerRequestFillData()
        {
            tlog.Debug(tag, $"AutofillContainerRequestFillData START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            a1.RequestFillData();
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerRequestFillData END (OK)");
            Assert.Pass("AutofillContainerRequestFillData");
        }
Exemplo n.º 6
0
        public void AutofillContainerConstructor()
        {
            tlog.Debug(tag, $"AutofillContainerConstructor START");
            AutofillContainer a1 = new AutofillContainer("myContainer");
            AutofillContainer b1 = new AutofillContainer(a1);

            b1.Dispose();
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerConstructor END (OK)");
            Assert.Pass("AutofillContainerConstructor");
        }
Exemplo n.º 7
0
        public void AutofillContainerRemoveAutofillItem()
        {
            tlog.Debug(tag, $"AutofillContainerRemoveAutofillItem START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            BaseComponents.View view = new BaseComponents.View();
            a1.RemoveAutofillItem(view);
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerRemoveAutofillItem END (OK)");
            Assert.Pass("AutofillContainerRemoveAutofillItem");
        }
Exemplo n.º 8
0
        public void AutofillContainerAssign()
        {
            tlog.Debug(tag, $"AutofillContainerAssign START");
            AutofillContainer a1 = new AutofillContainer("myContainer");
            AutofillContainer b1 = a1;

            b1.Dispose();
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerAssign END (OK)");
            Assert.Pass("AutofillContainerAssign");
        }
Exemplo n.º 9
0
        public void AutofillContainergetCPtr()
        {
            tlog.Debug(tag, $"AutofillContainergetCPtr START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            global::System.Runtime.InteropServices.HandleRef b1 = AutofillContainer.getCPtr(a1);
            global::System.Runtime.InteropServices.HandleRef c1 = AutofillContainer.getCPtr(null);

            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainergetCPtr END (OK)");
            Assert.Pass("AutofillContainergetCPtr");
        }
Exemplo n.º 10
0
        public void AutofillContainerListEvent()
        {
            tlog.Debug(tag, $"AutofillContainerListEvent START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            a1.ListEvent += OnListEvent;
            a1.ListEvent -= OnListEvent;
            object o1 = new object();

            AutofillContainer.AuthenticationEventArgs e = new AutofillContainer.AuthenticationEventArgs();

            OnServiceEvent(o1, e);
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerServiceEvent END (OK)");
            Assert.Pass("AutofillContainerServiceEvent");
        }
Exemplo n.º 11
0
        public void AutofillContainerAddAutofillView()
        {
            tlog.Debug(tag, $"AutofillContainerAddAutofillView START");
            AutofillContainer a1 = new AutofillContainer("myContainer");

            BaseComponents.View view = new BaseComponents.View();
            int    propertyIndex     = 1;
            string id    = "myContainer";
            string label = "testLabel";

            AutofillContainer.ItemHint hint = AutofillContainer.ItemHint.CreditCardExpirationData;
            bool isSensitive = false;

            a1.AddAutofillView(view, propertyIndex, id, label, hint, isSensitive);
            a1.Dispose();

            tlog.Debug(tag, $"AutofillContainerAddAutofillView END (OK)");
            Assert.Pass("AutofillContainerAddAutofillView");
        }