Zac Brown : wininet/tests: Change some traces to skips in tests.

Alexandre Julliard julliard at winehq.org
Thu Jul 10 08:58:54 CDT 2008


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

Author: Zac Brown <zac at zacbrown.org>
Date:   Wed Jul  9 18:04:05 2008 -0700

wininet/tests: Change some traces to skips in tests.

---

 dlls/wininet/tests/http.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index 272e3e7..6e27669 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -881,7 +881,7 @@ static void HttpSendRequestEx_test(void)
             NULL, NULL, NULL, INTERNET_FLAG_NO_CACHE_WRITE, 0);
     if (!hRequest && GetLastError() == ERROR_INTERNET_NAME_NOT_RESOLVED)
     {
-        trace( "Network unreachable, skipping test\n" );
+        skip( "Network unreachable, skipping test\n" );
         goto done;
     }
     ok( hRequest != NULL, "Failed to open request handle err %u\n", GetLastError());
@@ -948,7 +948,7 @@ static void InternetOpenRequest_test(void)
     request = HttpOpenRequestA(connect, NULL, "/", NULL, NULL, types, INTERNET_FLAG_NO_CACHE_WRITE, 0);
     if (!request && GetLastError() == ERROR_INTERNET_NAME_NOT_RESOLVED)
     {
-        trace( "Network unreachable, skipping test\n" );
+        skip( "Network unreachable, skipping test\n" );
         goto done;
     }
     ok(request != NULL, "Failed to open request handle err %u\n", GetLastError());
@@ -990,7 +990,7 @@ static void test_http_cache(void)
     request = HttpOpenRequestA(connect, NULL, "/site/about", NULL, NULL, types, INTERNET_FLAG_NEED_FILE, 0);
     if (!request && GetLastError() == ERROR_INTERNET_NAME_NOT_RESOLVED)
     {
-        trace( "Network unreachable, skipping test\n" );
+        skip( "Network unreachable, skipping test\n" );
 
         ok(InternetCloseHandle(connect), "Close connect handle failed\n");
         ok(InternetCloseHandle(session), "Close session handle failed\n");
@@ -1086,7 +1086,7 @@ static void HttpHeaders_test(void)
             NULL, NULL, NULL, INTERNET_FLAG_NO_CACHE_WRITE, 0);
     if (!hRequest && GetLastError() == ERROR_INTERNET_NAME_NOT_RESOLVED)
     {
-        trace( "Network unreachable, skipping test\n" );
+        skip( "Network unreachable, skipping test\n" );
         goto done;
     }
     ok( hRequest != NULL, "Failed to open request handle\n");




More information about the wine-cvs mailing list