lsp_test_speech.cc
Go to the documentation of this file.
00001 #include "lsp_test_speech.hh"
00002 
00003 using namespace lspTest;
00004 
00005 void Speech::setUp() {
00006         connect();
00007         speechProxy = playerc_speech_create( client, 0 );
00008         CPPUNIT_ASSERT( playerc_speech_subscribe( speechProxy, PLAYER_OPEN_MODE ) == 0 );
00009 }
00010 
00011 void Speech::tearDown() {
00012         CPPUNIT_ASSERT( playerc_speech_unsubscribe( speechProxy ) == 0 );
00013         playerc_speech_destroy( speechProxy );
00014         disconnect();
00015 }
00016 
00017 void Speech::testSay1() {
00018         CPPUNIT_ASSERT( playerc_speech_say( speechProxy, "Test" ) == 0 );
00019 }


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 Thu Aug 27 2015 15:20:57