diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-27 16:28:42 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-03-02 15:50:47 -0600 |
| commit | ed20ef6dc8caa5d585c1a715ff4ba577687bf291 (patch) | |
| tree | ac457c8d3fe13578b495504bfd4c458897ce3547 /src/test/WixToolsetTest.CoreIntegration/TestData | |
| parent | 263c62069df0f154001915cca00d6d4926f2fbb5 (diff) | |
| download | wix-ed20ef6dc8caa5d585c1a715ff4ba577687bf291.tar.gz wix-ed20ef6dc8caa5d585c1a715ff4ba577687bf291.tar.bz2 wix-ed20ef6dc8caa5d585c1a715ff4ba577687bf291.zip | |
Add failing tests for package description and packages sharing payloads
In Core projects, treat warnings as errors.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData')
2 files changed, 30 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/CustomPackageDescription/CustomPackageDescription.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/CustomPackageDescription/CustomPackageDescription.wxs new file mode 100644 index 00000000..db8b05f2 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/CustomPackageDescription/CustomPackageDescription.wxs | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <PackageGroup Id="BundlePackages"> | ||
| 5 | <ExePackage SourceFile="burn.exe" Permanent="yes" /> | ||
| 6 | <ExePackage Id="RemotePayloadExe" Name="fake.exe" Compressed="no" DownloadUrl="example.com" Description="Override RemotePayload description" DisplayName="Override RemotePayload display name" Permanent="yes"> | ||
| 7 | <RemotePayload Description="RemotePayload description" Hash="a" ProductName="RemotePayload product name" Size="1" Version="1.0.0.0" /> | ||
| 8 | </ExePackage> | ||
| 9 | <ExePackage SourceFile="C:\Windows\system32\calc.exe" Permanent="yes" Description="Override harvested description" DisplayName="Override harvested display name" /> | ||
| 10 | </PackageGroup> | ||
| 11 | </Fragment> | ||
| 12 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/SharedPayloadsBetweenPackages/SharedPayloadsBetweenPackages.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/SharedPayloadsBetweenPackages/SharedPayloadsBetweenPackages.wxs new file mode 100644 index 00000000..2588ffc1 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/SharedPayloadsBetweenPackages/SharedPayloadsBetweenPackages.wxs | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <PackageGroup Id="BundlePackages"> | ||
| 5 | <ExePackage SourceFile="C:\Windows\system32\credwiz.exe" Permanent="yes"> | ||
| 6 | <PayloadGroupRef Id="SharedPayloads" /> | ||
| 7 | </ExePackage> | ||
| 8 | <ExePackage SourceFile="C:\Windows\system32\cscript.exe" Permanent="yes"> | ||
| 9 | <PayloadGroupRef Id="SharedPayloads" /> | ||
| 10 | </ExePackage> | ||
| 11 | </PackageGroup> | ||
| 12 | </Fragment> | ||
| 13 | <Fragment> | ||
| 14 | <PayloadGroup Id="SharedPayloads"> | ||
| 15 | <Payload SourceFile="$(sys.SOURCEFILEPATH)" /> | ||
| 16 | </PayloadGroup> | ||
| 17 | </Fragment> | ||
| 18 | </Wix> | ||
