Пример #1
0
        public void WidgetImplWidgetInstanceOnUpdateArgsForce()
        {
            tlog.Debug(tag, $"WidgetImplWidgetInstanceOnUpdateArgsForce START");

            var testingTarget = new WidgetImpl.WidgetInstanceOnUpdateArgs();

            Assert.IsNotNull(testingTarget, "Can't create success object WidgetInstanceOnUpdateArgs");
            Assert.IsInstanceOf <WidgetImpl.WidgetInstanceOnUpdateArgs>(testingTarget, "Should be an instance of WidgetInstanceOnUpdateArgs type.");

            tlog.Debug(tag, "Default testingTarget.Force is : " + testingTarget.Force);

            testingTarget.Force = 0;
            tlog.Debug(tag, "testingTarget.Force : " + testingTarget.Force);

            tlog.Debug(tag, $"WidgetImplWidgetInstanceOnUpdateArgsForce END (OK)");
        }
Пример #2
0
        public void WidgetImplWidgetInstanceOnUpdateArgsContentInfo()
        {
            tlog.Debug(tag, $"WidgetImplWidgetInstanceOnUpdateArgsContentInfo START");

            var testingTarget = new WidgetImpl.WidgetInstanceOnUpdateArgs();

            Assert.IsNotNull(testingTarget, "Can't create success object WidgetInstanceOnUpdateArgs");
            Assert.IsInstanceOf <WidgetImpl.WidgetInstanceOnUpdateArgs>(testingTarget, "Should be an instance of WidgetInstanceOnUpdateArgs type.");

            tlog.Debug(tag, "Default testingTarget.ContentInfo is : " + testingTarget.ContentInfo);

            testingTarget.ContentInfo = "WidgetInstanceOnUpdateArgs";
            tlog.Debug(tag, "testingTarget.ContentInfo : " + testingTarget.ContentInfo);

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