From 89a7a070eab0f01909b94e3a5d8f6bd733ad29c5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 23 Apr 2022 15:36:40 +0100 Subject: [PATCH] Use WARN() instead of wxLogWarning() in the unit tests The latter isn't shown at all by default while the former one is. --- tests/image/image.cpp | 4 ++-- tests/uris/url.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/image/image.cpp b/tests/image/image.cpp index 99a85fa66f..e0acece78f 100644 --- a/tests/image/image.cpp +++ b/tests/image/image.cpp @@ -166,8 +166,8 @@ void ImageTestCase::LoadFromSocketStream() { if (!IsNetworkAvailable()) // implemented in test.cpp { - wxLogWarning("No network connectivity; skipping the " - "ImageTestCase::LoadFromSocketStream test unit."); + WARN("No network connectivity; skipping the " + "ImageTestCase::LoadFromSocketStream test unit."); return; } diff --git a/tests/uris/url.cpp b/tests/uris/url.cpp index b6100eee06..65c878aa1d 100644 --- a/tests/uris/url.cpp +++ b/tests/uris/url.cpp @@ -65,7 +65,7 @@ void URLTestCase::GetInputStream() { if (!IsNetworkAvailable()) // implemented in test.cpp { - wxLogWarning("No network connectivity; skipping the URLTestCase::GetInputStream test unit."); + WARN("No network connectivity; skipping the URLTestCase::GetInputStream test unit."); return; }