Exemplo n.º 1
0
        public override void CopyAndConfigureUx(string LayoutLocation, WixElement Wix)
        {
            string srcBinDir = WixTest.Settings.WixToolsDirectory;

            // Copy the TestUX binaries
            LayoutManager.CopyFile(Path.Combine(srcBinDir, base.UxBinaryFilename), Path.Combine(LayoutLocation, base.UxBinaryFilename));
            foreach (string uxFile in TestUX.TestUxBinaries)
            {
                string[] paths      = uxFile.Split(new char[] { ';' });
                string   srcUxFile  = Path.Combine(srcBinDir, paths.Length == 2 ? paths[1] : paths[0]);
                string   destUxFile = Path.Combine(LayoutLocation, paths[0]);
                LayoutManager.CopyFile(srcUxFile, destUxFile);
            }
        }
Exemplo n.º 2
0
 internal static void AssertFile(IFileSystemItem expected, WixElement actual)
 {
     Assert.AreEqual(expected.FullPath, actual.GetAttribute("Source"));
 }
Exemplo n.º 3
0
 public abstract void CopyAndConfigureUx(string LayoutLocation, WixElement Wix);
Exemplo n.º 4
0
		internal static void AssertFile(IFileSystemItem expected, WixElement actual)
		{
			Assert.AreEqual(expected.FullPath, actual.GetAttribute("Source"));
		}