A helper class for the unit tests. More...
Public Member Functions | |
void | test_add () |
void | test_add_v () |
void | test_add_c () |
void | test_sub () |
void | test_network_read_v () |
void | test_network_read_c () |
A helper class for the unit tests.
Definition at line 78 of file cppunit.cpp.
void Calculator_test::test_add | ( | ) |
Definition at line 117 of file cppunit.cpp.
References Calculator::add(), and MOCKPP_ASSERT_EQUALS.
void Calculator_test::test_add_c | ( | ) |
Definition at line 124 of file cppunit.cpp.
References eq(), MOCKPP_ASSERT_EQUALS, MOCKPP_CHAINER_FOR_EXT, and returnValue().
void Calculator_test::test_add_v | ( | ) |
Definition at line 150 of file cppunit.cpp.
References MOCKPP_ASSERT_EQUALS, and MOCKPP_CONTROLLER_FOR_EXT.
void Calculator_test::test_network_read_c | ( | ) |
Definition at line 176 of file cppunit.cpp.
References exactly(), MOCKPP_ASSERT_EQUALS, MOCKPP_CATCH, MOCKPP_CHAINER_FOR, MOCKPP_FAIL, MOCKPP_PCHAR, MOCKPP_TRY, once(), and returnValue().
void Calculator_test::test_network_read_v | ( | ) |
Definition at line 218 of file cppunit.cpp.
References MOCKPP_ASSERT_EQUALS, MOCKPP_CATCH, MOCKPP_CONTROLLER_FOR, MOCKPP_FAIL, MOCKPP_PCHAR, and MOCKPP_TRY.
void Calculator_test::test_sub | ( | ) |
Definition at line 273 of file cppunit.cpp.
References MOCKPP_ASSERT_EQUALS, and Calculator::sub().