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