httpreq.c
saxreader.c
schema.c
- testlist.c
xmldoc.c
xmlparser.c
- xmlview.c)
+ xmlview.c
+ precomp.h)
-add_executable(msxml3_winetest ${SOURCE} rsrc.rc)
+add_executable(msxml3_winetest ${SOURCE} testlist.c rsrc.rc)
add_idl_headers(xmlparser_idlheader_test xmlparser.idl)
add_dependencies(msxml3_winetest xmlparser_idlheader_test)
set_module_type(msxml3_winetest win32cui)
add_importlibs(msxml3_winetest ntdll)
endif()
+add_pch(msxml3_winetest precomp.h SOURCE)
add_rostests_file(TARGET msxml3_winetest)
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "precomp.h"
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#define COBJMACROS
-#define CONST_VTABLE
-
-#include <stdio.h>
-#include <assert.h>
-
-//#include "windows.h"
-
-#include <wine/test.h>
-
-#include <winnls.h>
-#include <ole2.h>
-#include <msxml.h>
-#include <msxml2.h>
-#include <msxml2did.h>
-#include <dispex.h>
-#include <objsafe.h>
-#include <initguid.h>
#include <asptlb.h>
/* undef the #define in msxml2 so that we can access all versions */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#define COBJMACROS
-#define CONST_VTABLE
-
-#include <stdio.h>
-#include <assert.h>
-
-//#include "windows.h"
-
-#include <wine/test.h>
-
-#include <winnls.h>
-#include <wingdi.h>
-#include <ole2.h>
-//#include "msxml2.h"
-//#include "msxml2did.h"
-//#include "dispex.h"
-#include <initguid.h>
-#include <objsafe.h>
-#include <mshtml.h>
-
+#include "precomp.h"
#define EXPECT_HR(hr,hr_exp) \
ok(hr == hr_exp, "got 0x%08x, expected 0x%08x\n", hr, hr_exp)
--- /dev/null
+#ifndef _MSXML3_WINETEST_PRECOMP_H_
+#define _MSXML3_WINETEST_PRECOMP_H_
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#define COBJMACROS
+#define CONST_VTABLE
+
+#include <stdio.h>
+#include <assert.h>
+
+#include <wine/test.h>
+
+#include <winnls.h>
+#include <wingdi.h>
+#include <initguid.h>
+#include <ole2.h>
+#include <msxml2.h>
+#include <msxml2did.h>
+#include <objsafe.h>
+#include <mshtml.h>
+#include <xmlparser.h>
+
+#endif /* !_MSXML3_WINETEST_PRECOMP_H_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#define COBJMACROS
-#define CONST_VTABLE
-
-#include <stdio.h>
-#include <assert.h>
-
-#include <wine/test.h>
-//#include "windows.h"
-#include <winnls.h>
-#include <ole2.h>
-#include <msxml2.h>
-#include <msxml2did.h>
-//#include "ocidl.h"
-#include <dispex.h>
+#include "precomp.h"
+
+DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
static const WCHAR emptyW[] = {0};
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-//#include <stdio.h>
-#include <assert.h>
-#define COBJMACROS
-
-#include <wine/test.h>
-
-#include <initguid.h>
-//#include "windows.h"
-#include <winnls.h>
-#include <ole2.h>
-#include <msxml2.h>
-#undef CLSID_DOMDocument
-#include <msxml2did.h>
-#include <dispex.h>
-
+#include "precomp.h"
DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#define COBJMACROS
-
-#include <wine/test.h>
-
-//#include <stdio.h>
-//#include "windows.h"
-#include <winnls.h>
-#include <ole2.h>
-#include <msxml2.h>
-#include <msxml2did.h>
-#include <ocidl.h>
+#include "precomp.h"
#define EXPECT_HR(hr,hr_exp) \
ok(hr == hr_exp, "got 0x%08x, expected 0x%08x\n", hr, hr_exp)
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#define COBJMACROS
-#define CONST_VTABLE
-
-//#include <stdio.h>
-//#include <assert.h>
-
-#include <wine/test.h>
-
-//#include "windows.h"
-#include <ole2.h>
-#include <xmlparser.h>
+#include "precomp.h"
static HRESULT WINAPI nodefact_QueryInterface(IXMLNodeFactory *iface,
REFIID riid, void **ppvObject)
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
+#include "precomp.h"
-#define COBJMACROS
-#define CONST_VTABLE
-
-//#include <stdio.h>
-//#include <assert.h>
-
-#include <wine/test.h>
-
-//#include "windows.h"
-#include <winnls.h>
-#include <wingdi.h>
-#include <ole2.h>
-#include <mshtml.h>
-#include <mshtmdid.h>
-#include <initguid.h>
#include <perhist.h>
#include <docobj.h>
-//#include "urlmon.h"
-#include <xmlparser.h>
+
+#define DISPID_HTMLDOCUMENTEVENTS2_ONREADYSTATECHANGE DISPID_READYSTATECHANGE
HRESULT (WINAPI *pCreateURLMoniker)(IMoniker*, LPCWSTR, IMoniker**);