aboutsummaryrefslogtreecommitdiff
path: root/src/burn/test/BurnUnitTest
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-07-19 18:50:27 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-07-19 19:20:56 -0500
commitab47449ca6ccd2ae2b6f0bf477bcea7e49aa8f6b (patch)
tree4a782518ae501e645aa635403bfd535576c3917e /src/burn/test/BurnUnitTest
parent041cbc2ab9ca6b29841f19792c5b66fd1233dd37 (diff)
downloadwix-ab47449ca6ccd2ae2b6f0bf477bcea7e49aa8f6b.tar.gz
wix-ab47449ca6ccd2ae2b6f0bf477bcea7e49aa8f6b.tar.bz2
wix-ab47449ca6ccd2ae2b6f0bf477bcea7e49aa8f6b.zip
Add fixed buffer butil APIs.
Diffstat (limited to 'src/burn/test/BurnUnitTest')
-rw-r--r--src/burn/test/BurnUnitTest/RegistrationTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/burn/test/BurnUnitTest/RegistrationTest.cpp b/src/burn/test/BurnUnitTest/RegistrationTest.cpp
index a8319bb2..b1c911f7 100644
--- a/src/burn/test/BurnUnitTest/RegistrationTest.cpp
+++ b/src/burn/test/BurnUnitTest/RegistrationTest.cpp
@@ -593,9 +593,10 @@ namespace Bootstrapper
593 Assert::Empty((System::Collections::IEnumerable ^)Registry::GetValue(gcnew String(TEST_VARIABLE_KEY), gcnew String(L"WixBundleForcedRestartPackage"), nullptr)); 593 Assert::Empty((System::Collections::IEnumerable ^)Registry::GetValue(gcnew String(TEST_VARIABLE_KEY), gcnew String(L"WixBundleForcedRestartPackage"), nullptr));
594 594
595 hr = StrAlloc(&sczRelatedBundleId, MAX_GUID_CHARS + 1); 595 hr = StrAlloc(&sczRelatedBundleId, MAX_GUID_CHARS + 1);
596 NativeAssert::Succeeded(hr, "Failed to allocate buffer for related bundle id.");
596 597
597 // Verify we can find ourself via the UpgradeCode 598 // Verify we can find ourself via the UpgradeCode
598 hr = BundleEnumRelatedBundle(TEST_BUNDLE_UPGRADE_CODE, BUNDLE_INSTALL_CONTEXT_USER, &dwRelatedBundleIndex, sczRelatedBundleId); 599 hr = BundleEnumRelatedBundleFixed(TEST_BUNDLE_UPGRADE_CODE, BUNDLE_INSTALL_CONTEXT_USER, &dwRelatedBundleIndex, sczRelatedBundleId);
599 TestThrowOnFailure(hr, L"Failed to enumerate related bundle."); 600 TestThrowOnFailure(hr, L"Failed to enumerate related bundle.");
600 601
601 NativeAssert::StringEqual(TEST_BUNDLE_ID, sczRelatedBundleId); 602 NativeAssert::StringEqual(TEST_BUNDLE_ID, sczRelatedBundleId);