예제 #1
0
        public void Ngen()
        {
            IEnumerable <string> files = LoadSourceFiles("Data\\wixlib\\ngen");
            string output = CreateOutputFolder("test_ngen", "ngen", ".wixlib");

            var swc = new SwcTool("neutral", "en-us", null, @"Data\content");

            swc.Compile(files, output);
            Assert.Empty(swc.Errors);

            var diff = WixLibUtility.Diff("Data\\wixlib\\ngen\\Expected-Wixlib.xml", output);

            Assert.Empty(diff);
        }
        public void SharedFolder_TwoGroups()
        {
            IEnumerable <string> files = LoadSourceFiles(@"Data\wixlib.filesystem\sharedfolder_twogroups");
            string output = CreateOutputFolder("test_wixlib_filesystem_sharedfolder_twogroups", "sharedfolder_twogroups", ".wixlib");

            var swc = new SwcTool("neutral", "en-us", null, @"Data\content");

            swc.Compile(files, output);
            Assert.Empty(swc.Errors);

            var diff = WixLibUtility.Diff(@"Data\wixlib.filesystem\sharedfolder_twogroups\Expected-Wixlib.xml", output);

            Assert.Empty(diff);
        }
예제 #3
0
        public void Simple()
        {
            var diff = WixLibUtility.Diff("Data\\wixlib\\simple\\Expected-Wixlib.xml", "Data\\wixlib\\simple\\Expected-Wixlib.xml");

            Assert.Empty(diff);
        }