X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0912690b65b3c58c0e12870fb971675ca5572ae6..8f99e9c3148205809ce076bcf69668926f945cd8:/tests/filekind/filekind.cpp?ds=sidebyside diff --git a/tests/filekind/filekind.cpp b/tests/filekind/filekind.cpp index 7cb6aa38ca..d55c02e9de 100644 --- a/tests/filekind/filekind.cpp +++ b/tests/filekind/filekind.cpp @@ -47,7 +47,9 @@ class FileKindTestCase : public CppUnit::TestCase #endif CPPUNIT_TEST(Stdin); CPPUNIT_TEST(MemoryStream); +#if wxUSE_SOCKETS CPPUNIT_TEST(SocketStream); +#endif CPPUNIT_TEST_SUITE_END(); void File(); @@ -55,7 +57,9 @@ class FileKindTestCase : public CppUnit::TestCase void Socket(); void Stdin(); void MemoryStream(); +#if wxUSE_SOCKETS void SocketStream(); +#endif void TestFILE(wxFFile& file, bool expected); void TestFd(wxFile& file, bool expected);