17 #ifndef stringutil_cpp 18 #define stringutil_cpp 20 #include <cppunit/ui/text/TestRunner.h> 21 #include <cppunit/TextOutputter.h> 22 #include <cppunit/extensions/TestFactoryRegistry.h> 23 #include <cppunit/extensions/HelperMacros.h> 24 #include <cppunit/TestAssert.h> 26 #include <coil/stringutil.h> 35 :
public CppUnit::TestFixture
159 int main(
int argc,
char* argv[])
161 CppUnit::TextUi::TestRunner runner;
162 runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
163 CppUnit::Outputter* outputter =
164 new CppUnit::TextOutputter(&runner.result(), std::cout);
165 runner.setOutputter(outputter);
170 #endif // stringutil_cpp void test_replaceString()
void test_eraseHeadBlank()
int main(int argc, char **argv)
virtual void setUp()
Test initialization.
void test_isAbsolutePath()
CPPUNIT_TEST_SUITE_REGISTRATION(stringutil::stringutilTests)
stringutilTests()
Constructor.
void test_togetlinePortable()
virtual void tearDown()
Test finalization.
CPPUNIT_TEST(test_toUpper)
void test_eraseTailBlank()
~stringutilTests()
Destructor.
CPPUNIT_TEST_SUITE(stringutilTests)