mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
ole32-HGLOBALStream: Rebase.
This commit is contained in:
parent
1537775f66
commit
cb536ac20c
@ -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 <dmitry@baikal.ru>
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user