Aric Stewart : usp10/tests: Remove a test for a bug corrected in later versions of usp10.

Alexandre Julliard julliard at winehq.org
Thu Jun 17 11:17:15 CDT 2010


Module: wine
Branch: master
Commit: 5c5e6a5fc94169e2a26d39ece0cc6fb81d59be79
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5c5e6a5fc94169e2a26d39ece0cc6fb81d59be79

Author: Aric Stewart <aric at codeweavers.com>
Date:   Thu Jun 17 11:23:49 2010 +0900

usp10/tests: Remove a test for a bug corrected in later versions of usp10.
    
The undocumented interaction with ScriptStringCPtoX causing
ScriptStringFree is an undocumented bug that appears to have been
fixed in later versions of Uniscribe. We should not be trying to
conform to that.

---

 dlls/usp10/tests/usp10.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 8b1f603..7d0f3eb 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -1388,13 +1388,7 @@ static void test_ScriptStringXtoCP_CPtoX(HDC hdc)
         hr = ScriptStringCPtoX(ssa, Cp, fTrailing, &X);
         ok(hr == E_INVALIDARG, "ScriptStringCPtoX should return E_INVALIDARG not %08x\n", hr);
 
-        hr = ScriptStringFree(&ssa);
-        /*
-         * ScriptStringCPtoX should free ssa, hence ScriptStringFree should fail
-         */
-        ok(hr == E_INVALIDARG ||
-           hr == E_FAIL, /* win2k3 */
-           "ScriptStringFree should return E_INVALIDARG or E_FAIL not %08x\n", hr);
+        ScriptStringFree(&ssa);
     }
 }
 




More information about the wine-cvs mailing list