Author: akhaldi
Date: Sat May 19 15:08:29 2012
New Revision: 56638
URL:
http://svn.reactos.org/svn/reactos?rev=56638&view=rev
Log:
[USP10_WINETEST]
* Sync to Wine 1.5.4.
Modified:
trunk/rostests/winetests/usp10/usp10.c
Modified: trunk/rostests/winetests/usp10/usp10.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/usp10/usp10.c?r…
==============================================================================
--- trunk/rostests/winetests/usp10/usp10.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/usp10/usp10.c [iso-8859-1] Sat May 19 15:08:29 2012
@@ -2798,6 +2798,19 @@
hr = ScriptItemize(test, 3, 4, NULL, NULL, items, NULL);
ok(!hr, "ScriptItemize should return S_OK not %08x\n", hr);
+ /*
+ * This Test crashes pre Vista.
+
+ hr = ScriptBreak(test, 1, &items[0].a, NULL);
+ ok(hr == E_INVALIDARG, "ScriptBreak should return E_INVALIDARG not %08x\n",
hr);
+ */
+
+ hr = ScriptBreak(test, 0, &items[0].a, &la);
+ ok(hr == E_FAIL || broken(hr == S_OK), "ScriptBreak should return E_FAIL not
%08x\n", hr);
+
+ hr = ScriptBreak(test, -1, &items[0].a, &la);
+ ok(hr == E_INVALIDARG || broken(hr == S_OK), "ScriptBreak should return
E_INVALIDARG not %08x\n", hr);
+
memset(&la, 0, sizeof(la));
hr = ScriptBreak(test, 1, &items[0].a, &la);
ok(!hr, "ScriptBreak should return S_OK not %08x\n", hr);