diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2019-10-15 10:07:00 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2019-10-15 11:20:07 +1000 |
| commit | 9dbf5fbb89d146f1ced4a36072a66b9a24fb9015 (patch) | |
| tree | 2287ab7018f270f8ca88b21f7655a7d751864eee /src/test/WixToolsetTest.CoreIntegration/TestData | |
| parent | 5ee3e62691e09ffd3edc9bfafa4deddb26f155c5 (diff) | |
| download | wix-9dbf5fbb89d146f1ced4a36072a66b9a24fb9015.tar.gz wix-9dbf5fbb89d146f1ced4a36072a66b9a24fb9015.tar.bz2 wix-9dbf5fbb89d146f1ced4a36072a66b9a24fb9015.zip | |
Add failing test for Class when IconIndex is 0.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/Class/IconIndex0.wxs | 11 | ||||
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/Icon/SampleIcon.wxs | 6 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Class/IconIndex0.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/Class/IconIndex0.wxs new file mode 100644 index 00000000..c0dc9bc0 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Class/IconIndex0.wxs | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <ComponentGroup Id="ProductComponents"> | ||
| 5 | <Component Id="ClassComp" Directory="INSTALLFOLDER" Guid="9BFDA7DC-CA16-40B3-A6B5-961E60B30892"> | ||
| 6 | <File Source="test.txt" Name="ClassComp.txt"></File> | ||
| 7 | <Class Id="3FAED4CC-C473-4B8A-BE8B-303871377A4A" Advertise="yes" Context="LocalServer32" Description="FakeClass3FAE" ThreadingModel="apartment" Version="0.0.0.1" Icon="SampleIcon" IconIndex="0" /> | ||
| 8 | </Component> | ||
| 9 | </ComponentGroup> | ||
| 10 | </Fragment> | ||
| 11 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Icon/SampleIcon.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/Icon/SampleIcon.wxs new file mode 100644 index 00000000..1de84e81 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Icon/SampleIcon.wxs | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <Icon Id="SampleIcon" SourceFile="burn.exe" /> | ||
| 5 | </Fragment> | ||
| 6 | </Wix> | ||
