Exemplo n.º 1
0
        public void ExpandAllIntoBuildItems()
        {
            BuildPropertyGroup pg = new BuildPropertyGroup();
            pg.SetProperty("a", "aaa");
            pg.SetProperty("b", "bbb");
            pg.SetProperty("c", "cc;dd");

            Expander expander = new Expander(pg);

            List<BuildItem> itemsOut = expander.ExpandAllIntoBuildItems("foo$(a);$(b);$(c);$(d", null);

            Assertion.AssertEquals(5, itemsOut.Count);
        }