Nikolay Sivov : comctl32/ipaddress: Skip test on Win95 with common controls 4.70.

Alexandre Julliard julliard at winehq.org
Wed May 27 09:26:57 CDT 2009


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Wed May 27 16:02:47 2009 +0400

comctl32/ipaddress: Skip test on Win95 with common controls 4.70.

---

 dlls/comctl32/tests/ipaddress.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/tests/ipaddress.c b/dlls/comctl32/tests/ipaddress.c
index d04223c..85f92b1 100644
--- a/dlls/comctl32/tests/ipaddress.c
+++ b/dlls/comctl32/tests/ipaddress.c
@@ -33,8 +33,6 @@ static HWND create_ipaddress_control (void)
     handle = CreateWindowEx(0, WC_IPADDRESS, NULL,
 			    WS_BORDER|WS_VISIBLE, 0, 0, 0, 0,
 			    NULL, NULL, NULL, NULL);
-    assert(handle);
-
     return handle;
 }
 
@@ -45,6 +43,11 @@ static void test_get_set_text(void)
     INT r;
 
     hwnd = create_ipaddress_control();
+    if (!hwnd)
+    {
+        win_skip("IPAddress control not implemented\n");
+        return;
+    }
 
     /* check text just after creation */
     r = GetWindowText(hwnd, ip, sizeof(ip)/sizeof(CHAR));




More information about the wine-cvs mailing list