enable the rest of wxSocketStream tests now that they pass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,7 +81,10 @@ protected:
|
|||||||
|
|
||||||
wxSocketBase *socket = srv.Accept();
|
wxSocketBase *socket = srv.Accept();
|
||||||
if ( socket )
|
if ( socket )
|
||||||
|
{
|
||||||
(*m_accept)(*socket);
|
(*m_accept)(*socket);
|
||||||
|
delete socket;
|
||||||
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@@ -106,19 +109,12 @@ public:
|
|||||||
CPPUNIT_TEST_SUITE(socketStream);
|
CPPUNIT_TEST_SUITE(socketStream);
|
||||||
// Base class stream tests the socketStream supports.
|
// Base class stream tests the socketStream supports.
|
||||||
CPPUNIT_TEST(Input_GetC);
|
CPPUNIT_TEST(Input_GetC);
|
||||||
|
|
||||||
// This one fails because wxSocketInputStream::Eof() is not implemented
|
|
||||||
// correctly
|
|
||||||
//CPPUNIT_TEST(Input_Read);
|
|
||||||
|
|
||||||
// The other ones untested yet
|
|
||||||
#if 0
|
|
||||||
CPPUNIT_TEST(Input_Eof);
|
CPPUNIT_TEST(Input_Eof);
|
||||||
|
CPPUNIT_TEST(Input_Read);
|
||||||
CPPUNIT_TEST(Input_LastRead);
|
CPPUNIT_TEST(Input_LastRead);
|
||||||
CPPUNIT_TEST(Input_CanRead);
|
CPPUNIT_TEST(Input_CanRead);
|
||||||
CPPUNIT_TEST(Input_Peek);
|
CPPUNIT_TEST(Input_Peek);
|
||||||
CPPUNIT_TEST(Input_Ungetch);
|
CPPUNIT_TEST(Input_Ungetch);
|
||||||
#endif
|
|
||||||
|
|
||||||
CPPUNIT_TEST(Output_PutC);
|
CPPUNIT_TEST(Output_PutC);
|
||||||
CPPUNIT_TEST(Output_Write);
|
CPPUNIT_TEST(Output_Write);
|
||||||
|
Reference in New Issue
Block a user