From 56072818e7f18611ba7d5e717a6b3dafc952f440 Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Mon, 26 May 2025 10:52:16 +0300 Subject: Add exists option to ProductSearchResult for matching other search types (e.g. FileSearch, DirectorySearch, RegistrySearch) Signed-off-by: Raul Metsma --- src/burn/test/BurnUnitTest/SearchTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/burn/test/BurnUnitTest/SearchTest.cpp') diff --git a/src/burn/test/BurnUnitTest/SearchTest.cpp b/src/burn/test/BurnUnitTest/SearchTest.cpp index a8e397c2..e3c714cb 100644 --- a/src/burn/test/BurnUnitTest/SearchTest.cpp +++ b/src/burn/test/BurnUnitTest/SearchTest.cpp @@ -410,6 +410,8 @@ namespace Bootstrapper L" " L" " L" " + L" " + L" " L""; // load XML document @@ -429,6 +431,8 @@ namespace Bootstrapper Assert::Equal(5ll, VariableGetNumericHelper(&variables, L"Variable4")); Assert::Equal(1ll, VariableGetNumericHelper(&variables, L"Variable5")); Assert::Equal(gcnew String(L"1.0.0.0"), VariableGetVersionHelper(&variables, L"Variable6")); + Assert::Equal(1ll, VariableGetNumericHelper(&variables, L"Variable7")); + Assert::Equal(0ll, VariableGetNumericHelper(&variables, L"Variable8")); } finally { -- cgit v1.2.3-55-g6feb