diff options
Diffstat (limited to '')
| -rw-r--r-- | src/burn/test/BurnUnitTest/RegistrationTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/burn/test/BurnUnitTest/RegistrationTest.cpp b/src/burn/test/BurnUnitTest/RegistrationTest.cpp index 9aadc2cc..883b9cc8 100644 --- a/src/burn/test/BurnUnitTest/RegistrationTest.cpp +++ b/src/burn/test/BurnUnitTest/RegistrationTest.cpp | |||
| @@ -559,6 +559,7 @@ namespace Bootstrapper | |||
| 559 | L" <Variable Id='MyBurnVariable2' Type='string' Value='foo' Hidden='no' Persisted='yes' />" | 559 | L" <Variable Id='MyBurnVariable2' Type='string' Value='foo' Hidden='no' Persisted='yes' />" |
| 560 | L" <Variable Id='MyBurnVariable3' Type='version' Value='v1.1-alpha' Hidden='no' Persisted='yes' />" | 560 | L" <Variable Id='MyBurnVariable3' Type='version' Value='v1.1-alpha' Hidden='no' Persisted='yes' />" |
| 561 | L" <Variable Id='MyBurnVariable4' Type='string' Value='foo' Hidden='no' Persisted='no' />" | 561 | L" <Variable Id='MyBurnVariable4' Type='string' Value='foo' Hidden='no' Persisted='no' />" |
| 562 | L" <Variable Id='MyBurnVariable5' Type='version' Hidden='no' Persisted='yes' />" | ||
| 562 | L" <CommandLine Variables='upperCase' />" | 563 | L" <CommandLine Variables='upperCase' />" |
| 563 | L"</Bundle>"; | 564 | L"</Bundle>"; |
| 564 | 565 | ||
| @@ -597,6 +598,7 @@ namespace Bootstrapper | |||
| 597 | VariableSetNumericHelper(&variables, L"MyBurnVariable1", 42); | 598 | VariableSetNumericHelper(&variables, L"MyBurnVariable1", 42); |
| 598 | VariableSetStringHelper(&variables, L"MyBurnVariable2", L"bar", FALSE); | 599 | VariableSetStringHelper(&variables, L"MyBurnVariable2", L"bar", FALSE); |
| 599 | VariableSetVersionHelper(&variables, L"MyBurnVariable3", L"v1.0-beta"); | 600 | VariableSetVersionHelper(&variables, L"MyBurnVariable3", L"v1.0-beta"); |
| 601 | VariableSetVersionHelper(&variables, L"MyBurnVariable5", L"vvv"); | ||
| 600 | 602 | ||
| 601 | hr = VariableSerialize(&variables, TRUE, &pbBuffer, &cbBuffer); | 603 | hr = VariableSerialize(&variables, TRUE, &pbBuffer, &cbBuffer); |
| 602 | TestThrowOnFailure(hr, "Failed to serialize variables."); | 604 | TestThrowOnFailure(hr, "Failed to serialize variables."); |
| @@ -616,6 +618,7 @@ namespace Bootstrapper | |||
| 616 | this->ValidateVariableKey(L"MyBurnVariable1", gcnew String(L"42")); | 618 | this->ValidateVariableKey(L"MyBurnVariable1", gcnew String(L"42")); |
| 617 | this->ValidateVariableKey(L"MyBurnVariable2", gcnew String(L"bar")); | 619 | this->ValidateVariableKey(L"MyBurnVariable2", gcnew String(L"bar")); |
| 618 | this->ValidateVariableKey(L"MyBurnVariable3", gcnew String(L"1.0-beta")); | 620 | this->ValidateVariableKey(L"MyBurnVariable3", gcnew String(L"1.0-beta")); |
| 621 | this->ValidateVariableKey(L"MyBurnVariable5", gcnew String(L"vvv")); | ||
| 619 | this->ValidateVariableKeyEmpty(L"WixBundleForcedRestartPackage"); | 622 | this->ValidateVariableKeyEmpty(L"WixBundleForcedRestartPackage"); |
| 620 | 623 | ||
| 621 | hr = StrAlloc(&sczRelatedBundleId, MAX_GUID_CHARS + 1); | 624 | hr = StrAlloc(&sczRelatedBundleId, MAX_GUID_CHARS + 1); |
