Example #1
0
        public void TimePickerApplyStyle()
        {
            tlog.Debug(tag, $"TimePickerApplyStyle START");

            var testingTarget = new TimePicker();

            Assert.IsNotNull(testingTarget, "null handle");
            Assert.IsInstanceOf <TimePicker>(testingTarget, "Should return TimePicker instance.");

            try
            {
                testingTarget.ApplyStyle(new ViewStyle()
                {
                    Size = new Size(100, 200)
                });
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

            testingTarget.Dispose();
            tlog.Debug(tag, $"TimePickerApplyStyle END (OK)");
        }