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