lsp_test_proxy.cc
Go to the documentation of this file.
1 #include "lsp_test_proxy.hh"
2 
3 using namespace lspTest;
4 
5 const double Proxy::Delta = 0.01;
6 
7 void Proxy::connect() {
8  client = playerc_client_create( NULL, "localhost", 6665 );
9  CPPUNIT_ASSERT( playerc_client_connect( client ) == 0 );
10  CPPUNIT_ASSERT( playerc_client_datamode (client, PLAYERC_DATAMODE_PULL) == 0 );
11  CPPUNIT_ASSERT( playerc_client_set_replace_rule (client, -1, -1, PLAYER_MSGTYPE_DATA, -1, 1) == 0 );
12 }
13 
15  CPPUNIT_ASSERT( playerc_client_disconnect( client ) == 0 );
16  playerc_client_destroy( client );
17 }
static const double Delta
playerc_client_t * client


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:09