diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-06-03 17:49:15 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-06-07 19:44:36 -0500 |
| commit | 584213c5ffeca09b3fe24bd5e92f73fd057ac642 (patch) | |
| tree | 45619273a56248d662dda598bca3076efa8a5135 /src/burn/test/BurnUnitTest/TestRegistryFixture.cpp | |
| parent | 648f370f7966b2738c1446601057d888bbd2c70f (diff) | |
| download | wix-584213c5ffeca09b3fe24bd5e92f73fd057ac642.tar.gz wix-584213c5ffeca09b3fe24bd5e92f73fd057ac642.tar.bz2 wix-584213c5ffeca09b3fe24bd5e92f73fd057ac642.zip | |
Add RegReadUnexpandedString to get an unexpanded REG_EXPAND_SZ value.
Diffstat (limited to 'src/burn/test/BurnUnitTest/TestRegistryFixture.cpp')
| -rw-r--r-- | src/burn/test/BurnUnitTest/TestRegistryFixture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/burn/test/BurnUnitTest/TestRegistryFixture.cpp b/src/burn/test/BurnUnitTest/TestRegistryFixture.cpp index 1f3d7680..89704d09 100644 --- a/src/burn/test/BurnUnitTest/TestRegistryFixture.cpp +++ b/src/burn/test/BurnUnitTest/TestRegistryFixture.cpp | |||
| @@ -186,7 +186,7 @@ namespace WixBuildTools | |||
| 186 | void TestRegistryFixture::SetUp() | 186 | void TestRegistryFixture::SetUp() |
| 187 | { | 187 | { |
| 188 | // set mock API's | 188 | // set mock API's |
| 189 | RegFunctionOverride(TestRegistryFixture_RegCreateKeyExW, TestRegistryFixture_RegOpenKeyExW, TestRegistryFixture_RegDeleteKeyExW, NULL, NULL, NULL, NULL, NULL, NULL); | 189 | RegFunctionOverride(TestRegistryFixture_RegCreateKeyExW, TestRegistryFixture_RegOpenKeyExW, TestRegistryFixture_RegDeleteKeyExW, NULL, NULL, NULL, NULL, NULL, NULL, NULL); |
| 190 | 190 | ||
| 191 | Registry::CurrentUser->CreateSubKey(TEST_REGISTRY_FIXTURE_HKCU_PATH); | 191 | Registry::CurrentUser->CreateSubKey(TEST_REGISTRY_FIXTURE_HKCU_PATH); |
| 192 | Registry::CurrentUser->CreateSubKey(TEST_REGISTRY_FIXTURE_HKCU32_PATH); | 192 | Registry::CurrentUser->CreateSubKey(TEST_REGISTRY_FIXTURE_HKCU32_PATH); |
| @@ -198,7 +198,7 @@ namespace WixBuildTools | |||
| 198 | { | 198 | { |
| 199 | Registry::CurrentUser->DeleteSubKeyTree(this->rootPath, false); | 199 | Registry::CurrentUser->DeleteSubKeyTree(this->rootPath, false); |
| 200 | 200 | ||
| 201 | RegFunctionOverride(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); | 201 | RegFunctionOverride(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); |
| 202 | } | 202 | } |
| 203 | 203 | ||
| 204 | String^ TestRegistryFixture::GetDirectHkcuPath(REG_KEY_BITNESS bitness, ... array<String^>^ paths) | 204 | String^ TestRegistryFixture::GetDirectHkcuPath(REG_KEY_BITNESS bitness, ... array<String^>^ paths) |
