projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
28714f8
)
[USP10_WINETEST]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 19 May 2012 15:08:29 +0000
(15:08 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 19 May 2012 15:08:29 +0000
(15:08 +0000)
* Sync to Wine 1.5.4.
svn path=/trunk/; revision=56638
rostests/winetests/usp10/usp10.c
patch
|
blob
|
history
diff --git
a/rostests/winetests/usp10/usp10.c
b/rostests/winetests/usp10/usp10.c
index
8229755
..
0b5033b
100644
(file)
--- a/
rostests/winetests/usp10/usp10.c
+++ b/
rostests/winetests/usp10/usp10.c
@@
-2798,6
+2798,19
@@
static void test_ScriptBreak(void)
hr = ScriptItemize(test, 3, 4, NULL, NULL, items, NULL);
ok(!hr, "ScriptItemize should return S_OK not %08x\n", hr);
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);
memset(&la, 0, sizeof(la));
hr = ScriptBreak(test, 1, &items[0].a, &la);
ok(!hr, "ScriptBreak should return S_OK not %08x\n", hr);