#include "wx/image.h"
#include "wx/url.h"
+#include "wx/log.h"
#include "wx/mstream.h"
#include "wx/zstream.h"
#include "wx/wfstream.h"
void ImageTestCase::LoadFromSocketStream()
{
+ if (!IsNetworkAvailable()) // implemented in test.cpp
+ {
+ wxLogWarning("No network connectivity; skipping the ImageTestCase::LoadFromSocketStream test unit.");
+ return;
+ }
+
struct {
const char* url;
wxBitmapType type;