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:
@@ -166,7 +166,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user