Commit ba6b7e8b authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

inetcomm: Add a test for MimeOleCreateVirtualStream.

parent 94799c3c
......@@ -187,6 +187,9 @@ dlls/imm.dll16
dlls/imm32/libimm32.def
dlls/imm32/version.res
dlls/inetcomm/libinetcomm.def
dlls/inetcomm/tests/*.ok
dlls/inetcomm/tests/inetcomm_crosstest.exe
dlls/inetcomm/tests/testlist.c
dlls/infosoft/tests/*.ok
dlls/infosoft/tests/infosoft_crosstest.exe
dlls/infosoft/tests/testlist.c
......@@ -719,6 +722,7 @@ programs/winetest/dsound_test.exe
programs/winetest/gdi32_test.exe
programs/winetest/gdiplus_test.exe
programs/winetest/hlink_test.exe
programs/winetest/inetcomm_test.exe
programs/winetest/infosoft_test.exe
programs/winetest/iphlpapi_test.exe
programs/winetest/itss_test.exe
......
......@@ -258,6 +258,7 @@ ALL_MAKEFILES = \
dlls/imagehlp/Makefile \
dlls/imm32/Makefile \
dlls/inetcomm/Makefile \
dlls/inetcomm/tests/Makefile \
dlls/infosoft/Makefile \
dlls/infosoft/tests/Makefile \
dlls/inkobj/Makefile \
......@@ -637,6 +638,7 @@ dlls/imaadp32.acm/Makefile: dlls/imaadp32.acm/Makefile.in dlls/Makedll.rules
dlls/imagehlp/Makefile: dlls/imagehlp/Makefile.in dlls/Makedll.rules
dlls/imm32/Makefile: dlls/imm32/Makefile.in dlls/Makedll.rules
dlls/inetcomm/Makefile: dlls/inetcomm/Makefile.in dlls/Makedll.rules
dlls/inetcomm/tests/Makefile: dlls/inetcomm/tests/Makefile.in dlls/Maketest.rules
dlls/infosoft/Makefile: dlls/infosoft/Makefile.in dlls/Makedll.rules
dlls/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in dlls/Maketest.rules
dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules
......
......@@ -20714,6 +20714,8 @@ ac_config_files="$ac_config_files dlls/imm32/Makefile"
ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
ac_config_files="$ac_config_files dlls/infosoft/Makefile"
ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
......@@ -21908,6 +21910,7 @@ do
"dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
"dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
"dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
"dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
"dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
"dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
"dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
......
......@@ -1674,6 +1674,7 @@ AC_CONFIG_FILES([dlls/imaadp32.acm/Makefile])
AC_CONFIG_FILES([dlls/imagehlp/Makefile])
AC_CONFIG_FILES([dlls/imm32/Makefile])
AC_CONFIG_FILES([dlls/inetcomm/Makefile])
AC_CONFIG_FILES([dlls/inetcomm/tests/Makefile])
AC_CONFIG_FILES([dlls/infosoft/Makefile])
AC_CONFIG_FILES([dlls/infosoft/tests/Makefile])
AC_CONFIG_FILES([dlls/inkobj/Makefile])
......
......@@ -269,6 +269,7 @@ TESTSUBDIRS = \
gdi32/tests \
gdiplus/tests \
hlink/tests \
inetcomm/tests \
infosoft/tests \
iphlpapi/tests \
itss/tests \
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../../..
SRCDIR = @srcdir@
VPATH = @srcdir@
TESTDLL = inetcomm.dll
IMPORTS = inetcomm ole32 kernel32
EXTRALIBS =
CTESTS = \
mimeole.c
@MAKE_TEST_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* MimeOle tests
*
* Copyright 2007 Huw Davies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COBJMACROS
#include "windows.h"
#include "ole2.h"
#include "mimeole.h"
#include <stdio.h>
#include <assert.h>
#include "wine/test.h"
static void test_CreateVirtualStream(void)
{
HRESULT hr;
IStream *pstm;
hr = MimeOleCreateVirtualStream(&pstm);
ok(hr == S_OK, "ret %08x\n", hr);
IStream_Release(pstm);
}
START_TEST(mimeole)
{
OleInitialize(NULL);
test_CreateVirtualStream();
OleUninitialize();
}
......@@ -42,6 +42,7 @@ TESTBINS = \
gdi32_test.exe \
gdiplus_test.exe \
hlink_test.exe \
inetcomm_test.exe \
infosoft_test.exe \
iphlpapi_test.exe \
itss_test.exe \
......@@ -137,6 +138,8 @@ gdiplus_test.exe: $(DLLDIR)/gdiplus/tests/gdiplus_test.exe$(DLLEXT)
cp $(DLLDIR)/gdiplus/tests/gdiplus_test.exe$(DLLEXT) $@ && $(STRIP) $@
hlink_test.exe: $(DLLDIR)/hlink/tests/hlink_test.exe$(DLLEXT)
cp $(DLLDIR)/hlink/tests/hlink_test.exe$(DLLEXT) $@ && $(STRIP) $@
inetcomm_test.exe: $(DLLDIR)/inetcomm/tests/inetcomm_test.exe$(DLLEXT)
cp $(DLLDIR)/inetcomm/tests/inetcomm_test.exe$(DLLEXT) $@ && $(STRIP) $@
infosoft_test.exe: $(DLLDIR)/infosoft/tests/infosoft_test.exe$(DLLEXT)
cp $(DLLDIR)/infosoft/tests/infosoft_test.exe$(DLLEXT) $@ && $(STRIP) $@
iphlpapi_test.exe: $(DLLDIR)/iphlpapi/tests/iphlpapi_test.exe$(DLLEXT)
......
......@@ -100,6 +100,7 @@ dsound_test.exe TESTRES "dsound_test.exe"
gdi32_test.exe TESTRES "gdi32_test.exe"
gdiplus_test.exe TESTRES "gdiplus_test.exe"
hlink_test.exe TESTRES "hlink_test.exe"
inetcomm_test.exe TESTRES "inetcomm_test.exe"
infosoft_test.exe TESTRES "infosoft_test.exe"
iphlpapi_test.exe TESTRES "iphlpapi_test.exe"
itss_test.exe TESTRES "itss_test.exe"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment