summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/qa/zip/ziptest.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/qa/zip/ziptest.cxx b/shell/qa/zip/ziptest.cxx
index 3335aea52d62..df501a6c107d 100644
--- a/shell/qa/zip/ziptest.cxx
+++ b/shell/qa/zip/ziptest.cxx
@@ -82,10 +82,12 @@ Test::Test() : documentName(), pStream(NULL)
LPVOID pvData = GlobalLock(hGlobal);
DWORD dwBytesRead = 0;
BOOL bRead = ReadFile(hFile, pvData, dwFileSize, &dwBytesRead, NULL);
+ CPPUNIT_ASSERT_MESSAGE("FileStream: ReadFile error.", bRead);
GlobalUnlock(hGlobal);
CloseHandle(hFile);
HRESULT hr = CreateStreamOnHGlobal(hGlobal, TRUE, &pStream);
+ CPPUNIT_ASSERT_MESSAGE("FileStream: CreateStreamOnHGlobal failure.", hr == S_OK);
}
void Test::test_file_directory()