diff options
Diffstat (limited to 'src/test/burn/WixTestTools')
-rw-r--r-- | src/test/burn/WixTestTools/BundleRegistration.cs | 3 | ||||
-rw-r--r-- | src/test/burn/WixTestTools/BundleVerifier.cs | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/test/burn/WixTestTools/BundleRegistration.cs b/src/test/burn/WixTestTools/BundleRegistration.cs index 75660838..3541e7ea 100644 --- a/src/test/burn/WixTestTools/BundleRegistration.cs +++ b/src/test/burn/WixTestTools/BundleRegistration.cs | |||
@@ -66,6 +66,8 @@ namespace WixTestTools | |||
66 | 66 | ||
67 | public string Publisher { get; set; } | 67 | public string Publisher { get; set; } |
68 | 68 | ||
69 | public int? SystemComponent { get; set; } | ||
70 | |||
69 | public string QuietUninstallString { get; set; } | 71 | public string QuietUninstallString { get; set; } |
70 | 72 | ||
71 | public string QuietUninstallCommand { get; set; } | 73 | public string QuietUninstallCommand { get; set; } |
@@ -125,6 +127,7 @@ namespace WixTestTools | |||
125 | registration.Installed = idKey.GetValue(REGISTRY_BUNDLE_INSTALLED) as int?; | 127 | registration.Installed = idKey.GetValue(REGISTRY_BUNDLE_INSTALLED) as int?; |
126 | registration.ModifyPath = idKey.GetValue(REGISTRY_BUNDLE_MODIFY_PATH) as string; | 128 | registration.ModifyPath = idKey.GetValue(REGISTRY_BUNDLE_MODIFY_PATH) as string; |
127 | registration.Publisher = idKey.GetValue(REGISTRY_BUNDLE_PUBLISHER) as string; | 129 | registration.Publisher = idKey.GetValue(REGISTRY_BUNDLE_PUBLISHER) as string; |
130 | registration.SystemComponent = idKey.GetValue(REGISTRY_BUNDLE_SYSTEM_COMPONENT) as int?; | ||
128 | registration.UrlInfoAbout = idKey.GetValue(REGISTRY_BUNDLE_URL_INFO_ABOUT) as string; | 131 | registration.UrlInfoAbout = idKey.GetValue(REGISTRY_BUNDLE_URL_INFO_ABOUT) as string; |
129 | registration.UrlUpdateInfo = idKey.GetValue(REGISTRY_BUNDLE_URL_UPDATE_INFO) as string; | 132 | registration.UrlUpdateInfo = idKey.GetValue(REGISTRY_BUNDLE_URL_UPDATE_INFO) as string; |
130 | 133 | ||
diff --git a/src/test/burn/WixTestTools/BundleVerifier.cs b/src/test/burn/WixTestTools/BundleVerifier.cs index e0edb081..a5dbe0ec 100644 --- a/src/test/burn/WixTestTools/BundleVerifier.cs +++ b/src/test/burn/WixTestTools/BundleVerifier.cs | |||
@@ -87,10 +87,12 @@ namespace WixTestTools | |||
87 | } | 87 | } |
88 | } | 88 | } |
89 | 89 | ||
90 | public string VerifyRegisteredAndInPackageCache() | 90 | public string VerifyRegisteredAndInPackageCache(int? expectedSystemComponent = null) |
91 | { | 91 | { |
92 | Assert.True(this.TryGetRegistration(out var registration)); | 92 | Assert.True(this.TryGetRegistration(out var registration)); |
93 | 93 | ||
94 | Assert.Equal(expectedSystemComponent, registration.SystemComponent); | ||
95 | |||
94 | Assert.NotNull(registration.CachePath); | 96 | Assert.NotNull(registration.CachePath); |
95 | Assert.True(File.Exists(registration.CachePath)); | 97 | Assert.True(File.Exists(registration.CachePath)); |
96 | 98 | ||