예제 #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);
            }
        }
예제 #2
0
 internal static void AssertFile(IFileSystemItem expected, WixElement actual)
 {
     Assert.AreEqual(expected.FullPath, actual.GetAttribute("Source"));
 }
예제 #3
0
 public abstract void CopyAndConfigureUx(string LayoutLocation, WixElement Wix);
예제 #4
0
파일: WixAssert.cs 프로젝트: superyfwy/db4o
		internal static void AssertFile(IFileSystemItem expected, WixElement actual)
		{
			Assert.AreEqual(expected.FullPath, actual.GetAttribute("Source"));
		}