diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2019-09-30 09:34:40 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2019-09-30 13:14:35 +1000 |
| commit | 1b266e62a450813718d0ff1c78f4470055adc5f3 (patch) | |
| tree | 6b7567f7e395c2c32dba16c824b50c485645fe35 /src/test/WixToolsetTest.CoreIntegration/TestData | |
| parent | 3ad41f4926fddf4776c8de1baf5284c0d2f51077 (diff) | |
| download | wix-1b266e62a450813718d0ff1c78f4470055adc5f3.tar.gz wix-1b266e62a450813718d0ff1c78f4470055adc5f3.tar.bz2 wix-1b266e62a450813718d0ff1c78f4470055adc5f3.zip | |
Add failing tests for AppSearch tables.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData')
4 files changed, 50 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/ComponentSearch.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/ComponentSearch.wxs new file mode 100644 index 00000000..4dd701f0 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/ComponentSearch.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 | <ComponentGroup Id="ProductComponents"> | ||
| 5 | <ComponentGroupRef Id="MinimalComponentGroup"></ComponentGroupRef> | ||
| 6 | </ComponentGroup> | ||
| 7 | |||
| 8 | <Property Id="SAMPLECOMPFOUND"> | ||
| 9 | <ComponentSearch Id="SampleCompSearch" Guid="{4D9A0D20-D0CC-40DE-B580-EAD38B985217}"></ComponentSearch> | ||
| 10 | </Property> | ||
| 11 | </Fragment> | ||
| 12 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DirectorySearch.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DirectorySearch.wxs new file mode 100644 index 00000000..e255c83d --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/DirectorySearch.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 | <ComponentGroup Id="ProductComponents"> | ||
| 5 | <ComponentGroupRef Id="MinimalComponentGroup"></ComponentGroupRef> | ||
| 6 | </ComponentGroup> | ||
| 7 | |||
| 8 | <Property Id="SAMPLEDIRFOUND"> | ||
| 9 | <DirectorySearch Id="SampleDirSearch" AssignToProperty="yes" Path="C:\SampleDir"></DirectorySearch> | ||
| 10 | </Property> | ||
| 11 | </Fragment> | ||
| 12 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/FileSearch.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/FileSearch.wxs new file mode 100644 index 00000000..c17d9848 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/FileSearch.wxs | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <ComponentGroup Id="ProductComponents"> | ||
| 5 | <ComponentGroupRef Id="MinimalComponentGroup"></ComponentGroupRef> | ||
| 6 | </ComponentGroup> | ||
| 7 | |||
| 8 | <Property Id="SAMPLEFILEFOUND"> | ||
| 9 | <IniFileSearch Id="SampleIniFileSearch" Name="sample.fil" Section="MySection" Key="MyKey"> | ||
| 10 | <FileSearch Id="SampleFileSearch" Name="sample.fil"></FileSearch> | ||
| 11 | </IniFileSearch> | ||
| 12 | </Property> | ||
| 13 | </Fragment> | ||
| 14 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/RegistrySearch.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/RegistrySearch.wxs new file mode 100644 index 00000000..f800264d --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/AppSearch/RegistrySearch.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 | <ComponentGroup Id="ProductComponents"> | ||
| 5 | <ComponentGroupRef Id="MinimalComponentGroup"></ComponentGroupRef> | ||
| 6 | </ComponentGroup> | ||
| 7 | |||
| 8 | <Property Id="SAMPLEREGFOUND"> | ||
| 9 | <RegistrySearch Id="SampleRegSearch" Root="HKLM" Key="SampleReg" Type="raw"></RegistrySearch> | ||
| 10 | </Property> | ||
| 11 | </Fragment> | ||
| 12 | </Wix> | ||
