libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
fix_simulators.cpp File Reference
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "../exchanges/FIX/v5.0sp2/fix.hpp"
#include "../exchanges/FIX/v5.0sp2/fix_sim.hpp"
#include "core/latency_timestamps.hpp"
Include dependency graph for fix_simulators.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   isimud_tests
 

Typedefs

typedef boost::mpl::list< std::pair< exchanges::FIX::v5_0sp2::connection_t, exchanges::FIX::v5_0sp2::simulator_t >> exchg_t_types
 
using api_thread_traits = ppd::thread_params< ppd::platform_api >
 

Functions

const boost::asio::ip::address localhost (boost::asio::ip::address_v4::loopback())
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (gateway_unavailable, exchg_t, exchg_t_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (gateway_available, exchg_t, exchg_t_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (client_heartbeat, exchg_t, exchg_t_types)
 

Variables

const unsigned short unused_primary_port =12347u
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   isimud_tests

Definition at line 21 of file fix_simulators.cpp.

Typedef Documentation

◆ api_thread_traits

using api_thread_traits = ppd::thread_params<ppd::platform_api>

Definition at line 41 of file fix_simulators.cpp.

◆ exchg_t_types

Definition at line 39 of file fix_simulators.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( client_heartbeat  ,
exchg_t  ,
exchg_t_types   
)

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( gateway_available  ,
exchg_t  ,
exchg_t_types   
)

\xrefitem test 150. \xrefitem test 290.

Definition at line 77 of file fix_simulators.cpp.

References jmmcg::LIBJMMCG_VER_NAMESPACE::no_latency_timestamps::no_latency_timestamps(), and unused_primary_port.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/3]

BOOST_AUTO_TEST_CASE_TEMPLATE ( gateway_unavailable  ,
exchg_t  ,
exchg_t_types   
)

\xrefitem test 149. \xrefitem test 289.

Definition at line 52 of file fix_simulators.cpp.

References isimud::ISIMUD_VER_NAMESPACE::exchanges::common::thread_traits::client_to_exchange_thread.

◆ localhost()

const boost::asio::ip::address localhost ( boost::asio::ip::address_v4::loopback()  )

Variable Documentation

◆ unused_primary_port

const unsigned short unused_primary_port =12347u

Definition at line 35 of file fix_simulators.cpp.

Referenced by BOOST_AUTO_TEST_CASE_TEMPLATE().