mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
add WebSocketTestSuite
This commit is contained in:
parent
c29d4b9f9b
commit
7a8abc0d7e
@ -15,7 +15,8 @@ endif
|
||||
|
||||
objects = NetSSLTestSuite Driver \
|
||||
HTTPSClientSessionTest HTTPSClientTestSuite HTTPSServerTest HTTPSServerTestSuite \
|
||||
HTTPSStreamFactoryTest HTTPSTestServer TCPServerTest TCPServerTestSuite
|
||||
HTTPSStreamFactoryTest HTTPSTestServer TCPServerTest TCPServerTestSuite \
|
||||
WebSocketTest WebSocketTestSuite
|
||||
|
||||
target = testrunner
|
||||
target_version = 1
|
||||
|
@ -13,16 +13,17 @@
|
||||
#include "HTTPSClientTestSuite.h"
|
||||
#include "TCPServerTestSuite.h"
|
||||
#include "HTTPSServerTestSuite.h"
|
||||
#include "WebSocketTestSuite.h"
|
||||
|
||||
|
||||
CppUnit::Test* NetSSLTestSuite::suite()
|
||||
{
|
||||
CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("OpenSSLTestSuite");
|
||||
|
||||
|
||||
pSuite->addTest(HTTPSClientTestSuite::suite());
|
||||
pSuite->addTest(TCPServerTestSuite::suite());
|
||||
pSuite->addTest(HTTPSServerTestSuite::suite());
|
||||
pSuite->addTest(WebSocketTestSuite::suite());
|
||||
|
||||
return pSuite;
|
||||
}
|
||||
|
22
NetSSL_OpenSSL/testsuite/src/WebSocketTestSuite.cpp
Normal file
22
NetSSL_OpenSSL/testsuite/src/WebSocketTestSuite.cpp
Normal file
@ -0,0 +1,22 @@
|
||||
//
|
||||
// WebSocketTestSuite.cpp
|
||||
//
|
||||
// Copyright (c) 2012, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#include "WebSocketTestSuite.h"
|
||||
#include "WebSocketTest.h"
|
||||
|
||||
|
||||
CppUnit::Test* WebSocketTestSuite::suite()
|
||||
{
|
||||
CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("WebSocketTestSuite");
|
||||
|
||||
pSuite->addTest(WebSocketTest::suite());
|
||||
|
||||
return pSuite;
|
||||
}
|
27
NetSSL_OpenSSL/testsuite/src/WebSocketTestSuite.h
Normal file
27
NetSSL_OpenSSL/testsuite/src/WebSocketTestSuite.h
Normal file
@ -0,0 +1,27 @@
|
||||
//
|
||||
// WebSocketTestSuite.h
|
||||
//
|
||||
// Definition of the WebSocketTestSuite class.
|
||||
//
|
||||
// Copyright (c) 2012, Applied Informatics Software Engineering GmbH.
|
||||
// and Contributors.
|
||||
//
|
||||
// SPDX-License-Identifier: BSL-1.0
|
||||
//
|
||||
|
||||
|
||||
#ifndef WebSocketTestSuite_INCLUDED
|
||||
#define WebSocketTestSuite_INCLUDED
|
||||
|
||||
|
||||
#include "CppUnit/TestSuite.h"
|
||||
|
||||
|
||||
class WebSocketTestSuite
|
||||
{
|
||||
public:
|
||||
static CppUnit::Test* suite();
|
||||
};
|
||||
|
||||
|
||||
#endif // WebSocketTestSuite_INCLUDED
|
Loading…
Reference in New Issue
Block a user