Use WARN() instead of wxLogWarning() in the unit tests

The latter isn't shown at all by default while the former one is.
This commit is contained in:
Vadim Zeitlin
2022-04-23 15:36:40 +01:00
parent 684dd4a5a6
commit 89a7a070ea
2 changed files with 3 additions and 3 deletions

View File

@@ -166,8 +166,8 @@ void ImageTestCase::LoadFromSocketStream()
{ {
if (!IsNetworkAvailable()) // implemented in test.cpp if (!IsNetworkAvailable()) // implemented in test.cpp
{ {
wxLogWarning("No network connectivity; skipping the " WARN("No network connectivity; skipping the "
"ImageTestCase::LoadFromSocketStream test unit."); "ImageTestCase::LoadFromSocketStream test unit.");
return; return;
} }

View File

@@ -65,7 +65,7 @@ void URLTestCase::GetInputStream()
{ {
if (!IsNetworkAvailable()) // implemented in test.cpp 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; return;
} }