aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2019-11-12 13:33:23 +1000
committerSean Hall <r.sean.hall@gmail.com>2019-11-12 13:39:14 +1000
commite1d974378d049004c73d65dbb43a405f67ececd4 (patch)
tree551e3976b2d70d723f799f2aaadf2e6e8d02f040 /src
parent5174575d7bb4a86bdf8edc4d22d57f81f4456f6a (diff)
downloadwix-e1d974378d049004c73d65dbb43a405f67ececd4.tar.gz
wix-e1d974378d049004c73d65dbb43a405f67ececd4.tar.bz2
wix-e1d974378d049004c73d65dbb43a405f67ececd4.zip
Update DefaultDir test for duplicate ShortName and Name.
Diffstat (limited to 'src')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs3
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/TestData/DefaultDir/DefaultDir.wxs1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
index 48d16ac1..83f53aca 100644
--- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
+++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
@@ -384,7 +384,7 @@ namespace WixToolsetTest.CoreIntegration
384 } 384 }
385 } 385 }
386 386
387 [Fact] 387 [Fact(Skip = "Test demonstrates failure")]
388 public void PopulatesDirectoryTableWithValidDefaultDir() 388 public void PopulatesDirectoryTableWithValidDefaultDir()
389 { 389 {
390 var folder = TestData.Get(@"TestData"); 390 var folder = TestData.Get(@"TestData");
@@ -411,6 +411,7 @@ namespace WixToolsetTest.CoreIntegration
411 var results = Query.QueryDatabase(msiPath, new[] { "Directory" }); 411 var results = Query.QueryDatabase(msiPath, new[] { "Directory" });
412 Assert.Equal(new[] 412 Assert.Equal(new[]
413 { 413 {
414 "Directory:DUPLICATENAMEANDSHORTNAME\tINSTALLFOLDER\tduplicat",
414 "Directory:INSTALLFOLDER\tProgramFilesFolder\toekcr5lq|MsiPackage", 415 "Directory:INSTALLFOLDER\tProgramFilesFolder\toekcr5lq|MsiPackage",
415 "Directory:NAMEANDSHORTNAME\tINSTALLFOLDER\tSHORTNAM|NameAndShortName", 416 "Directory:NAMEANDSHORTNAME\tINSTALLFOLDER\tSHORTNAM|NameAndShortName",
416 "Directory:NAMEANDSHORTSOURCENAME\tINSTALLFOLDER\tNAMEASSN|NameAndShortSourceName", 417 "Directory:NAMEANDSHORTSOURCENAME\tINSTALLFOLDER\tNAMEASSN|NameAndShortSourceName",
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/DefaultDir/DefaultDir.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/DefaultDir/DefaultDir.wxs
index aeb3d554..a217fa34 100644
--- a/src/test/WixToolsetTest.CoreIntegration/TestData/DefaultDir/DefaultDir.wxs
+++ b/src/test/WixToolsetTest.CoreIntegration/TestData/DefaultDir/DefaultDir.wxs
@@ -8,6 +8,7 @@
8 </ComponentGroup> 8 </ComponentGroup>
9 9
10 <DirectoryRef Id="INSTALLFOLDER"> 10 <DirectoryRef Id="INSTALLFOLDER">
11 <Directory Id="DUPLICATENAMEANDSHORTNAME" Name="duplicat" ShortName="duplicat"></Directory>
11 <Directory Id="NAMEWITHSHORTVALUE" Name="SHORTVAL"></Directory> 12 <Directory Id="NAMEWITHSHORTVALUE" Name="SHORTVAL"></Directory>
12 <Directory Id="NAMEANDSHORTNAME" Name="NameAndShortName" ShortName="SHORTNAM"></Directory> 13 <Directory Id="NAMEANDSHORTNAME" Name="NameAndShortName" ShortName="SHORTNAM"></Directory>
13 <Directory Id="SHORTNAMEONLY" Name="SHORTONL"></Directory> 14 <Directory Id="SHORTNAMEONLY" Name="SHORTONL"></Directory>