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

ippCommandParserTestCase Class Reference

Inheritance diagram for ippCommandParserTestCase:

TestSuite List of all members.

Public Member Functions

 ippCommandParserTestCase ()
void setUp ()
void tearDown ()
void test1 ()
void testGetProp ()
void testOnPtMeasReport ()
void testOnPtMeas ()
void testOnMoveReportE ()
void testInvalidCommands ()
void testCommandWithArguments ()
void testScanOnCurve_BadFormat ()
void testScanOnCurve_Format1_BadData ()
void testScanOnCurve_Format2_BadData ()
void testScanOnCurve_Format3_BadData ()
void testScanOnCurve_Format1_OK ()
void testScanOnCurve_Format2_OK ()
void testScanOnCurve_Format3_OK ()
void testScanOnCurve_Format1_very_long_input ()
void testOnSamplePRGFileI ()

Constructor & Destructor Documentation

ippCommandParserTestCase::ippCommandParserTestCase  ) 
 

Definition at line 16 of file ippCommandParserTestCase.h.


Member Function Documentation

void ippCommandParserTestCase::setUp  ) 
 

Definition at line 69 of file ippCommandParserTestCase.cpp.

void ippCommandParserTestCase::tearDown  ) 
 

Definition at line 75 of file ippCommandParserTestCase.cpp.

void ippCommandParserTestCase::test1  ) 
 

Definition at line 80 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_test1::runTest().

void ippCommandParserTestCase::testCommandWithArguments  ) 
 

Definition at line 264 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testCommandWithArguments::runTest().

void ippCommandParserTestCase::testGetProp  ) 
 

some bad examples

Definition at line 241 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testGetProp::runTest().

void ippCommandParserTestCase::testInvalidCommands  ) 
 

Definition at line 103 of file ippCommandParserTestCase.cpp.

References BAD_ARGUMENTS, ippCommandParser::getParserErr(), ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, MUST_HAVE_NO_ARGUMENTS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), ippCommandParser::setInput(), and X_ARGUMENT_USED_TWICE.

Referenced by TestDescription_ippCommandParserTestCase_testInvalidCommands::runTest().

void ippCommandParserTestCase::testOnMoveReportE  ) 
 

Definition at line 160 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getParserErr(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testOnMoveReportE::runTest().

void ippCommandParserTestCase::testOnPtMeas  ) 
 

Definition at line 174 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getParserErr(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testOnPtMeas::runTest().

void ippCommandParserTestCase::testOnPtMeasReport  ) 
 

Definition at line 201 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getParserErr(), ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testOnPtMeasReport::runTest().

void ippCommandParserTestCase::testOnSamplePRGFileI  ) 
 

Definition at line 576 of file ippCommandParserTestCase.cpp.

References ippTestFolder::current_filename(), ippTestFolder::find_first_file(), IPP_UTEST_ASSERT, ippTestFolder::next(), test_file_folder(), and TestCommandsOnFile().

Referenced by TestDescription_ippCommandParserTestCase_testOnSamplePRGFileI::runTest().

void ippCommandParserTestCase::testScanOnCurve_BadFormat  ) 
 

Definition at line 290 of file ippCommandParserTestCase.cpp.

References BAD_SYNTAX_FOR_FORMAT_IN_SCANONCURVE, ippCommandParser::getParserErr(), ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testScanOnCurve_BadFormat::runTest().

void ippCommandParserTestCase::testScanOnCurve_Format1_BadData  ) 
 

Definition at line 327 of file ippCommandParserTestCase.cpp.

References BAD_NUMBER_OF_ARGUMENT_FOR_DATA_IN_SCANONCURVE, ippCommandParser::getParserErr(), ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testScanOnCurve_Format1_BadData::runTest().

void ippCommandParserTestCase::testScanOnCurve_Format1_OK  ) 
 

Definition at line 310 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testScanOnCurve_Format1_OK::runTest().

void ippCommandParserTestCase::testScanOnCurve_Format1_very_long_input  ) 
 

Definition at line 411 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testScanOnCurve_Format1_very_long_input::runTest().

void ippCommandParserTestCase::testScanOnCurve_Format2_BadData  ) 
 

Definition at line 362 of file ippCommandParserTestCase.cpp.

References BAD_NUMBER_OF_ARGUMENT_FOR_DATA_IN_SCANONCURVE, ippCommandParser::getParserErr(), ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testScanOnCurve_Format2_BadData::runTest().

void ippCommandParserTestCase::testScanOnCurve_Format2_OK  ) 
 

Definition at line 345 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testScanOnCurve_Format2_OK::runTest().

void ippCommandParserTestCase::testScanOnCurve_Format3_BadData  ) 
 

Definition at line 395 of file ippCommandParserTestCase.cpp.

References BAD_NUMBER_OF_ARGUMENT_FOR_DATA_IN_SCANONCURVE, ippCommandParser::getParserErr(), ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testScanOnCurve_Format3_BadData::runTest().

void ippCommandParserTestCase::testScanOnCurve_Format3_OK  ) 
 

Definition at line 378 of file ippCommandParserTestCase.cpp.

References ippCommandParser::getTag(), IPP_END_STRING, IPP_UTEST_ASSERT, IPP_UTEST_ASSERT_EQUALS, ippCommandParser::parseCommand(), ippCommandParser::parseTag(), and ippCommandParser::setInput().

Referenced by TestDescription_ippCommandParserTestCase_testScanOnCurve_Format3_OK::runTest().


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