diff options
Diffstat (limited to '')
| -rw-r--r-- | src/burn/test/BurnUnitTest/RegistrationTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/burn/test/BurnUnitTest/RegistrationTest.cpp b/src/burn/test/BurnUnitTest/RegistrationTest.cpp index 883b9cc8..aa3bd34b 100644 --- a/src/burn/test/BurnUnitTest/RegistrationTest.cpp +++ b/src/burn/test/BurnUnitTest/RegistrationTest.cpp | |||
| @@ -108,8 +108,8 @@ namespace Bootstrapper | |||
| 108 | TestThrowOnFailure(hr, L"Failed to register bundle."); | 108 | TestThrowOnFailure(hr, L"Failed to register bundle."); |
| 109 | 109 | ||
| 110 | // verify that registration was created | 110 | // verify that registration was created |
| 111 | Assert::True(Directory::Exists(cacheDirectory)); | 111 | Assert::True(Directory::Exists(cacheDirectory), "Cache directory didn't exist."); |
| 112 | Assert::True(File::Exists(Path::Combine(cacheDirectory, gcnew String(L"setup.exe")))); | 112 | Assert::True(File::Exists(Path::Combine(cacheDirectory, gcnew String(L"setup.exe"))), "Bundle exe wasn't cached."); |
| 113 | 113 | ||
| 114 | this->ValidateUninstallKeyResume(Int32(BURN_RESUME_MODE_ACTIVE)); | 114 | this->ValidateUninstallKeyResume(Int32(BURN_RESUME_MODE_ACTIVE)); |
| 115 | this->ValidateRunOnceKeyEntry(cacheExePath); | 115 | this->ValidateRunOnceKeyEntry(cacheExePath); |
| @@ -119,7 +119,7 @@ namespace Bootstrapper | |||
| 119 | TestThrowOnFailure(hr, L"Failed to unregister bundle."); | 119 | TestThrowOnFailure(hr, L"Failed to unregister bundle."); |
| 120 | 120 | ||
| 121 | // verify that registration was removed | 121 | // verify that registration was removed |
| 122 | Assert::False(Directory::Exists(cacheDirectory)); | 122 | Assert::False(Directory::Exists(cacheDirectory), "Cache directory wasn't removed."); |
| 123 | 123 | ||
| 124 | this->ValidateUninstallKeyNull(L"Resume"); | 124 | this->ValidateUninstallKeyNull(L"Resume"); |
| 125 | this->ValidateRunOnceKeyString(TEST_BUNDLE_ID, nullptr); | 125 | this->ValidateRunOnceKeyString(TEST_BUNDLE_ID, nullptr); |
