1 /* 2 * Copyright 2023, Andrew Lindesay <apl@lindesay.co.nz> 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef STRING_UTILS_TEST_H 6 #define STRING_UTILS_TEST_H 7 8 #include <TestCase.h> 9 #include <TestSuite.h> 10 11 12 class StringUtilsTest : public CppUnit::TestCase { 13 public: 14 StringUtilsTest(); 15 virtual ~StringUtilsTest(); 16 17 void TestStartInSituTrimSpaceAndControl(); 18 void TestEndInSituTrimSpaceAndControl(); 19 void TestStartAndEndInSituTrimSpaceAndControl(); 20 void TestNoTrimInSituTrimSpaceAndControl(); 21 22 void TestInSituStripSpaceAndControl(); 23 void TestNoInSituStripSpaceAndControl(); 24 25 static void AddTests(BTestSuite& suite); 26 }; 27 28 29 #endif // STRING_UTILS_TEST_H 30