Ejemplo n.º 1
0
            public void Datetime(bool useCompiledXaml)
            {
                var layout = new BuiltInConversions(useCompiledXaml);

                Assert.AreEqual(new DateTime(2015, 01, 16), layout.datetime0.Date);
                Assert.AreEqual(new DateTime(2015, 01, 16), layout.datetime1.Date);
            }
Ejemplo n.º 2
0
            public void String(bool useCompiledXaml)
            {
                var layout = new BuiltInConversions(useCompiledXaml);

                Assert.AreEqual("foobar", layout.label0.Text);
                Assert.AreEqual("foobar", layout.label1.Text);

                //Issue #2122, implicit content property not trimmed
                Assert.AreEqual("foobar", layout.label2.Text);
            }