From cb536ac20c27a6aa0c5b01bb7309b49f8516f08c Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sat, 17 Feb 2018 18:44:28 -0600 Subject: [PATCH] ole32-HGLOBALStream: Rebase. --- ...a-bunch-of-tests-for-HGLOBAL-based-I.patch | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/patches/ole32-HGLOBALStream/0001-ole32-tests-Add-a-bunch-of-tests-for-HGLOBAL-based-I.patch b/patches/ole32-HGLOBALStream/0001-ole32-tests-Add-a-bunch-of-tests-for-HGLOBAL-based-I.patch index f402a0c1..a8486600 100644 --- a/patches/ole32-HGLOBALStream/0001-ole32-tests-Add-a-bunch-of-tests-for-HGLOBAL-based-I.patch +++ b/patches/ole32-HGLOBALStream/0001-ole32-tests-Add-a-bunch-of-tests-for-HGLOBAL-based-I.patch @@ -1,14 +1,15 @@ -From 267315dd040ccfa527f8ba48038a268236ca1d29 Mon Sep 17 00:00:00 2001 +From ecbbd1eba3491e634bb138044bb8e283be7bba28 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 2 Feb 2016 12:49:16 +0800 -Subject: ole32/tests: Add a bunch of tests for HGLOBAL based IStream::Clone. +Subject: [PATCH 1/7] ole32/tests: Add a bunch of tests for HGLOBAL based + IStream::Clone. --- - dlls/ole32/tests/hglobalstream.c | 244 +++++++++++++++++++++++++++++++++++++++ - 1 file changed, 244 insertions(+) + dlls/ole32/tests/hglobalstream.c | 243 +++++++++++++++++++++++++++++++++++++++ + 1 file changed, 243 insertions(+) diff --git a/dlls/ole32/tests/hglobalstream.c b/dlls/ole32/tests/hglobalstream.c -index e20d81b..0dc3c52 100644 +index 6a0498a..d8b8081 100644 --- a/dlls/ole32/tests/hglobalstream.c +++ b/dlls/ole32/tests/hglobalstream.c @@ -2,6 +2,7 @@ @@ -19,7 +20,7 @@ index e20d81b..0dc3c52 100644 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public -@@ -508,11 +509,254 @@ static void test_freed_hglobal(void) +@@ -514,9 +515,251 @@ static void test_freed_hglobal(void) IStream_Release(pStream); } @@ -266,14 +267,11 @@ index e20d81b..0dc3c52 100644 + START_TEST(hglobalstream) { - HRESULT hr; - IStream *pStream; - + test_streamonhglobal(); + test_copyto(); + test_freed_hglobal(); + test_IStream_Clone(); -+ - hr = CreateStreamOnHGlobal(NULL, TRUE, &pStream); - ok_ole_success(hr, "CreateStreamOnHGlobal"); - + } -- -2.7.0 +2.7.4