Ejemplo n.º 1
0
        public void SourceTest()
        {
            tlog.Debug(tag, $"SourceTest START");
            MyTypedBindingBase mt = new MyTypedBindingBase();

            Assert.IsNotNull(mt, "null Binding");
            var ret = mt.Source;

            mt.Source = ret;
            Assert.AreEqual(ret, mt.Source, "Should be equal");

            tlog.Debug(tag, $"SourceTest END");
        }
Ejemplo n.º 2
0
        public void ConverterParameterTest()
        {
            tlog.Debug(tag, $"ConverterParameterTest START");
            MyTypedBindingBase mt = new MyTypedBindingBase();

            Assert.IsNotNull(mt, "null Binding");
            var ret = mt.ConverterParameter;

            mt.ConverterParameter = ret;
            Assert.AreEqual(ret, mt.ConverterParameter, "Should be equal");

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