public void bind_empty_node()
        {
            PropertyTree pt = LoadTree("alpha-empty.xml");
            Alpha        a  = new Alpha();

            pt.Bind(a);
            Assert.False(a.A);
            Assert.Null(a.C);
        }
Exemple #2
0
        public void bind_empty_node()
        {
            // Trivial binding of primitive types

            PropertyTree pt = LoadTree("alpha-empty.xml");
            Alpha        a  = pt.Bind <Alpha>();

            Assert.False(a.A);
        }