COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Macros | Functions
utest-ui-network-connection.cpp File Reference
#include <iostream>
#include <boost/assign/list_of.hpp>
#include <boost/test/unit_test.hpp>
#include "common/TypeInfo.hpp"
#include "common/XML/SignalFrame.hpp"
#include "common/XML/FileOperations.hpp"
#include "ui/network/TCPConnection.hpp"
#include "ui/network/ErrorHandler.hpp"

Go to the source code of this file.

Classes

struct  LastCallbackInfo
 
class  MyErrorHandler
 
class  Client
 
class  Server
 
struct  Server::ClientInfo
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   "Test module for the ui network Connection class"
 
#define NETWORK_PORT   62784
 
#define NETWORK_HOST   "127.0.0.1"
 

Functions

SignalFrame generate_message_frame (const std::string &message)
 
std::string get_message (const SignalFrame &frame)
 
 BOOST_AUTO_TEST_CASE (connect_failure)
 
 BOOST_AUTO_TEST_CASE (multi_client_read)
 
 BOOST_AUTO_TEST_CASE (multi_client_send)
 
 BOOST_AUTO_TEST_CASE (disconnect)
 
 BOOST_AUTO_TEST_CASE (bad_header)
 
 BOOST_AUTO_TEST_CASE (bad_data)
 

Macro Definition Documentation

#define BOOST_TEST_DYN_LINK

Definition at line 7 of file utest-ui-network-connection.cpp.

#define BOOST_TEST_MODULE   "Test module for the ui network Connection class"

Definition at line 8 of file utest-ui-network-connection.cpp.

#define NETWORK_HOST   "127.0.0.1"

Definition at line 23 of file utest-ui-network-connection.cpp.

#define NETWORK_PORT   62784

Definition at line 22 of file utest-ui-network-connection.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( connect_failure  )

Definition at line 296 of file utest-ui-network-connection.cpp.

BOOST_AUTO_TEST_CASE ( multi_client_read  )

Definition at line 312 of file utest-ui-network-connection.cpp.

BOOST_AUTO_TEST_CASE ( multi_client_send  )

Definition at line 395 of file utest-ui-network-connection.cpp.

BOOST_AUTO_TEST_CASE ( disconnect  )

Definition at line 509 of file utest-ui-network-connection.cpp.

BOOST_AUTO_TEST_CASE ( bad_header  )

Definition at line 517 of file utest-ui-network-connection.cpp.

BOOST_AUTO_TEST_CASE ( bad_data  )

Definition at line 526 of file utest-ui-network-connection.cpp.

SignalFrame generate_message_frame ( const std::string &  message)

Definition at line 63 of file utest-ui-network-connection.cpp.

std::string get_message ( const SignalFrame frame)

Definition at line 74 of file utest-ui-network-connection.cpp.

Send comments to:
COOLFluiD Web Admin