aboutsummaryrefslogtreecommitdiff
path: root/src/burn/test/BurnUnitTest/SearchTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/test/BurnUnitTest/SearchTest.cpp')
-rw-r--r--src/burn/test/BurnUnitTest/SearchTest.cpp4
1 files changed, 4 insertions, 0 deletions
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
410 L" <MsiProductSearch Id='Search4' Type='state' ProductCode='{600D0000-0000-0000-0000-000000000000}' Variable='Variable4' />" 410 L" <MsiProductSearch Id='Search4' Type='state' ProductCode='{600D0000-0000-0000-0000-000000000000}' Variable='Variable4' />"
411 L" <MsiProductSearch Id='Search5' Type='assignment' ProductCode='{600D0000-0000-0000-0000-000000000000}' Variable='Variable5' />" 411 L" <MsiProductSearch Id='Search5' Type='assignment' ProductCode='{600D0000-0000-0000-0000-000000000000}' Variable='Variable5' />"
412 L" <MsiProductSearch Id='Search6' Type='version' ProductCode='{600D0000-1000-0000-0000-000000000000}' Variable='Variable6' />" 412 L" <MsiProductSearch Id='Search6' Type='version' ProductCode='{600D0000-1000-0000-0000-000000000000}' Variable='Variable6' />"
413 L" <MsiProductSearch Id='Search7' Type='exists' ProductCode='{600D0000-0000-0000-0000-000000000000}' Variable='Variable7' />"
414 L" <MsiProductSearch Id='Search8' Type='exists' ProductCode='{BAD00000-0000-0000-0000-000000000000}' Variable='Variable8' />"
413 L"</Bundle>"; 415 L"</Bundle>";
414 416
415 // load XML document 417 // load XML document
@@ -429,6 +431,8 @@ namespace Bootstrapper
429 Assert::Equal(5ll, VariableGetNumericHelper(&variables, L"Variable4")); 431 Assert::Equal(5ll, VariableGetNumericHelper(&variables, L"Variable4"));
430 Assert::Equal(1ll, VariableGetNumericHelper(&variables, L"Variable5")); 432 Assert::Equal(1ll, VariableGetNumericHelper(&variables, L"Variable5"));
431 Assert::Equal<String^>(gcnew String(L"1.0.0.0"), VariableGetVersionHelper(&variables, L"Variable6")); 433 Assert::Equal<String^>(gcnew String(L"1.0.0.0"), VariableGetVersionHelper(&variables, L"Variable6"));
434 Assert::Equal(1ll, VariableGetNumericHelper(&variables, L"Variable7"));
435 Assert::Equal(0ll, VariableGetNumericHelper(&variables, L"Variable8"));
432 } 436 }
433 finally 437 finally
434 { 438 {