Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippSimpleServerTestCase Class Reference

Inheritance diagram for ippSimpleServerTestCase:

TestSuite List of all members.

Public Member Functions

 ippSimpleServerTestCase ()
void setUp ()
void tearDown ()
void testSimpleServer1 ()
void testSimpleServer2 ()
void testSimpleServer3 ()
void testSimpleServer4 ()
void testSimpleServer5 ()
void testSimpleServerStartSessionEndSession ()
void testSimpleServerReceivingInvalidCommand ()
void testSimpleServerReceivingAbortE ()

Protected Member Functions

void SendCommands (ippSimpleClient &client, ippSimpleServer &server, const char *filename)

Constructor & Destructor Documentation

ippSimpleServerTestCase::ippSimpleServerTestCase  ) 
 

Definition at line 17 of file ippSimpleServerTestCase.h.


Member Function Documentation

void ippSimpleServerTestCase::SendCommands ippSimpleClient client,
ippSimpleServer server,
const char *  filename
[protected]
 

Definition at line 274 of file ippSimpleServerTestCase.cpp.

References IPP_UTEST_ASSERT, ippCommandParser::parseCommand(), and ippCommandParser::setInput().

Referenced by testSimpleServer5().

void ippSimpleServerTestCase::setUp  ) 
 

Definition at line 19 of file ippSimpleServerTestCase.h.

void ippSimpleServerTestCase::tearDown  ) 
 

Definition at line 20 of file ippSimpleServerTestCase.h.

class void ippSimpleServerTestCase::testSimpleServer1  ) 
 

Definition at line 64 of file ippSimpleServerTestCase.cpp.

References ippSimpleClient::Connect(), ippSimpleClient::Disconnect(), ippSimpleClient::GetState(), ippSimpleServer::GetState(), ippSimpleServer::HeartBeat(), ippSimpleClient::HeartBeat(), IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippSleep(), PortForTesting, ippSimpleServer::PowerOff(), ippSimpleServer::PowerOn(), ippEngine::ProbeConnection(), and ippSimpleClient::ReadyToSend().

Referenced by TestDescription_ippSimpleServerTestCase_testSimpleServer1::runTest().

void ippSimpleServerTestCase::testSimpleServer2  ) 
 

Definition at line 121 of file ippSimpleServerTestCase.cpp.

References ippTraceLogger::_ouput_on_cout, ippSimpleClient::ClearAllErrors(), ippSimpleClient::Connect(), ippSimpleClient::HeartBeat(), ippSimpleServer::HeartBeat(), IPP_UTEST_ASSERT, ippSimpleClient::NeedToSendClearAllErrors(), PortForTesting, ippSimpleServer::PowerOn(), ippSimpleClient::ReadyToSend(), ippSimpleClient::SendCommand(), and ippEngine::setLogger().

Referenced by TestDescription_ippSimpleServerTestCase_testSimpleServer2::runTest().

void ippSimpleServerTestCase::testSimpleServer3  ) 
 

Definition at line 197 of file ippSimpleServerTestCase.cpp.

References ippTraceLogger::_ouput_on_cout, ippSimpleClient::Connect(), ippSimpleClient::GetState(), ippSimpleClient::HeartBeat(), ippSimpleServer::HeartBeat(), IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, PortForTesting, ippSimpleServer::PowerOff(), ippSimpleServer::PowerOn(), ippSimpleClient::SendCommand(), and ippEngine::setLogger().

Referenced by TestDescription_ippSimpleServerTestCase_testSimpleServer3::runTest().

void ippSimpleServerTestCase::testSimpleServer4  ) 
 

Definition at line 237 of file ippSimpleServerTestCase.cpp.

References ippSimpleClient::Connect(), ippSimpleClient::GetState(), ippSimpleClient::HeartBeat(), ippSimpleServer::HeartBeat(), IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, PortForTesting, ippSimpleServer::PowerOn(), and ippEngine::setLogger().

Referenced by TestDescription_ippSimpleServerTestCase_testSimpleServer4::runTest().

void ippSimpleServerTestCase::testSimpleServer5  ) 
 

Definition at line 329 of file ippSimpleServerTestCase.cpp.

References ippSimpleClient::Connect(), ippTestFolder::current_filename(), ippTestFolder::find_first_file(), ippSimpleClient::GetState(), ippSimpleClient::HeartBeat(), ippSimpleServer::HeartBeat(), IPP_UTEST_ASSERT, ippTestFolder::next(), PortForTesting, ippSimpleServer::PowerOn(), SendCommands(), ippEngine::setLogger(), and test_file_folder().

Referenced by TestDescription_ippSimpleServerTestCase_testSimpleServer5::runTest().

void ippSimpleServerTestCase::testSimpleServerReceivingAbortE  ) 
 

Definition at line 490 of file ippSimpleServerTestCase.cpp.

References ippTraceLogger::_ouput_on_cout, CommandTag, ippSimpleClient::Connect(), ippSimpleServer::GetState(), ippSimpleClient::GetState(), ippSimpleClient::HeartBeat(), ippSimpleServer::HeartBeat(), ippSimpleClient::InErrorState(), ippSimpleServer::InSession(), IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommand, ippSimpleClient::NumberOfUncompletedCommandsInQueue(), PortForTesting, ippSimpleServer::PowerOn(), ippSimpleClient::SendCommand(), and ippEngine::setLogger().

Referenced by TestDescription_ippSimpleServerTestCase_testSimpleServerReceivingAbortE::runTest().

void ippSimpleServerTestCase::testSimpleServerReceivingInvalidCommand  ) 
 

Definition at line 442 of file ippSimpleServerTestCase.cpp.

References ippTraceLogger::_ouput_on_cout, CommandTag, ippSimpleClient::Connect(), ippSimpleServer::GetState(), ippSimpleClient::GetState(), ippSimpleClient::HeartBeat(), ippSimpleServer::HeartBeat(), ippSimpleClient::InErrorState(), ippSimpleServer::InSession(), IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommand, PortForTesting, ippSimpleServer::PowerOn(), ippSimpleClient::ReadyToSend(), ippSimpleClient::SendCommand(), and ippEngine::setLogger().

Referenced by TestDescription_ippSimpleServerTestCase_testSimpleServerReceivingInvalidCommand::runTest().

void ippSimpleServerTestCase::testSimpleServerStartSessionEndSession  ) 
 

Definition at line 369 of file ippSimpleServerTestCase.cpp.

References ippTraceLogger::_ouput_on_cout, ippSimpleClient::ClearAllErrors(), CommandTag, ippSimpleClient::Connect(), ippSimpleClient::GetState(), ippSimpleClient::HeartBeat(), ippSimpleServer::HeartBeat(), ippSimpleClient::InErrorState(), ippSimpleServer::InSession(), IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommand, PortForTesting, ippSimpleServer::PowerOn(), ippSimpleClient::ReadyToSend(), ippSimpleClient::SendCommand(), and ippEngine::setLogger().

Referenced by TestDescription_ippSimpleServerTestCase_testSimpleServerStartSessionEndSession::runTest().


The documentation for this class was generated from the following files:
Generated on Wed Nov 8 00:21:07 2006 for IPPDME by  doxygen 1.4.1