Disable test due to crash in XUL during Release call. ROSTESTS-81
authorMike Nordell <tamlin@algonet.se>
Fri, 12 Oct 2012 20:29:50 +0000 (20:29 +0000)
committerMike Nordell <tamlin@algonet.se>
Fri, 12 Oct 2012 20:29:50 +0000 (20:29 +0000)
svn path=/trunk/; revision=57542

rostests/winetests/mshtml/htmldoc.c
rostests/winetests/mshtml/msxml_ros.diff [new file with mode: 0644]

index 65451b1..a59039a 100644 (file)
@@ -23,6 +23,8 @@
 #include <stdarg.h>
 #include <stdio.h>
 
+#if ROSTESTS_81_IS_FIXED
+
 #include "windef.h"
 #include "winbase.h"
 #include "initguid.h"
@@ -5272,8 +5274,11 @@ static void test_IPersistHistory(void)
     ok(ref == 0, "ref=%d, expected 0\n", ref);
 }
 
+#endif /* ROSTESTS_81_IS_FIXED*/
+
 START_TEST(htmldoc)
 {
+#if ROSTESTS_81_IS_FIXED
     CoInitialize(NULL);
     container_hwnd = create_container_window();
     register_protocol();
@@ -5299,4 +5304,5 @@ START_TEST(htmldoc)
 
     DestroyWindow(container_hwnd);
     CoUninitialize();
+#endif /* ROSTESTS_81_IS_FIXED*/
 }
diff --git a/rostests/winetests/mshtml/msxml_ros.diff b/rostests/winetests/mshtml/msxml_ros.diff
new file mode 100644 (file)
index 0000000..1bf057e
--- /dev/null
@@ -0,0 +1,31 @@
+Index: htmldoc.c\r
+===================================================================\r
+--- htmldoc.c  (revision 57539)\r
++++ htmldoc.c  (working copy)\r
+@@ -23,6 +23,8 @@\r
+ #include <stdarg.h>
+ #include <stdio.h>
++#if ROSTESTS_81_IS_FIXED
++
+ #include "windef.h"
+ #include "winbase.h"
+ #include "initguid.h"
+@@ -5272,8 +5274,11 @@\r
+     ok(ref == 0, "ref=%d, expected 0\n", ref);
+ }
++#endif /* ROSTESTS_81_IS_FIXED*/
++
+ START_TEST(htmldoc)
+ {
++#if ROSTESTS_81_IS_FIXED
+     CoInitialize(NULL);
+     container_hwnd = create_container_window();
+     register_protocol();
+@@ -5299,4 +5304,5 @@\r
+     DestroyWindow(container_hwnd);
+     CoUninitialize();
++#endif /* ROSTESTS_81_IS_FIXED*/
+ }