diff options
Diffstat (limited to 'src/burn/test')
-rw-r--r-- | src/burn/test/BurnUnitTest/CacheTest.cpp | 2 | ||||
-rw-r--r-- | src/burn/test/BurnUnitTest/PlanTest.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/burn/test/BurnUnitTest/CacheTest.cpp b/src/burn/test/BurnUnitTest/CacheTest.cpp index d0cc237f..e9ad555b 100644 --- a/src/burn/test/BurnUnitTest/CacheTest.cpp +++ b/src/burn/test/BurnUnitTest/CacheTest.cpp | |||
@@ -71,6 +71,8 @@ namespace Bootstrapper | |||
71 | payload.sczFilePath = L"CacheSignatureTest.File"; | 71 | payload.sczFilePath = L"CacheSignatureTest.File"; |
72 | payload.pbHash = pb; | 72 | payload.pbHash = pb; |
73 | payload.cbHash = cb; | 73 | payload.cbHash = cb; |
74 | payload.qwFileSize = 27; | ||
75 | payload.verification = BURN_PAYLOAD_VERIFICATION_HASH; | ||
74 | 76 | ||
75 | hr = CacheCompletePayload(package.fPerMachine, &payload, package.sczCacheId, sczPayloadPath, FALSE, CacheTestEventRoutine, CacheTestProgressRoutine, &context); | 77 | hr = CacheCompletePayload(package.fPerMachine, &payload, package.sczCacheId, sczPayloadPath, FALSE, CacheTestEventRoutine, CacheTestProgressRoutine, &context); |
76 | Assert::Equal(S_OK, hr); | 78 | Assert::Equal(S_OK, hr); |
diff --git a/src/burn/test/BurnUnitTest/PlanTest.cpp b/src/burn/test/BurnUnitTest/PlanTest.cpp index 001acaee..045c510e 100644 --- a/src/burn/test/BurnUnitTest/PlanTest.cpp +++ b/src/burn/test/BurnUnitTest/PlanTest.cpp | |||
@@ -71,7 +71,7 @@ namespace Bootstrapper | |||
71 | Assert::Equal(dwIndex, pPlan->cRollbackCacheActions); | 71 | Assert::Equal(dwIndex, pPlan->cRollbackCacheActions); |
72 | 72 | ||
73 | Assert::Equal(107082ull, pPlan->qwEstimatedSize); | 73 | Assert::Equal(107082ull, pPlan->qwEstimatedSize); |
74 | Assert::Equal(506145ull, pPlan->qwCacheSizeTotal); | 74 | Assert::Equal(522548ull, pPlan->qwCacheSizeTotal); |
75 | 75 | ||
76 | fRollback = FALSE; | 76 | fRollback = FALSE; |
77 | dwIndex = 0; | 77 | dwIndex = 0; |