| 1 | // | 
|---|
| 2 | // RegularExpressionTest.h | 
|---|
| 3 | // | 
|---|
| 4 | // Definition of the RegularExpressionTest class. | 
|---|
| 5 | // | 
|---|
| 6 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. | 
|---|
| 7 | // and Contributors. | 
|---|
| 8 | // | 
|---|
| 9 | // SPDX-License-Identifier:	BSL-1.0 | 
|---|
| 10 | // | 
|---|
| 11 |  | 
|---|
| 12 |  | 
|---|
| 13 | #ifndef RegularExpressionTest_INCLUDED | 
|---|
| 14 | #define RegularExpressionTest_INCLUDED | 
|---|
| 15 |  | 
|---|
| 16 |  | 
|---|
| 17 | #include "Poco/Foundation.h" | 
|---|
| 18 | #include "Poco/CppUnit/TestCase.h" | 
|---|
| 19 |  | 
|---|
| 20 |  | 
|---|
| 21 | class RegularExpressionTest: public CppUnit::TestCase | 
|---|
| 22 | { | 
|---|
| 23 | public: | 
|---|
| 24 | RegularExpressionTest(const std::string& name); | 
|---|
| 25 | ~RegularExpressionTest(); | 
|---|
| 26 |  | 
|---|
| 27 | void testIndex(); | 
|---|
| 28 | void testMatch1(); | 
|---|
| 29 | void testMatch2(); | 
|---|
| 30 | void testMatch3(); | 
|---|
| 31 | void testMatch4(); | 
|---|
| 32 | void testMatch5(); | 
|---|
| 33 | void testMatch6(); | 
|---|
| 34 | void (); | 
|---|
| 35 | void testSplit1(); | 
|---|
| 36 | void testSplit2(); | 
|---|
| 37 | void testSubst1(); | 
|---|
| 38 | void testSubst2(); | 
|---|
| 39 | void testSubst3(); | 
|---|
| 40 | void testSubst4(); | 
|---|
| 41 | void testError(); | 
|---|
| 42 | void testGroup(); | 
|---|
| 43 |  | 
|---|
| 44 | void setUp(); | 
|---|
| 45 | void tearDown(); | 
|---|
| 46 |  | 
|---|
| 47 | static CppUnit::Test* suite(); | 
|---|
| 48 |  | 
|---|
| 49 | private: | 
|---|
| 50 | }; | 
|---|
| 51 |  | 
|---|
| 52 |  | 
|---|
| 53 | #endif // RegularExpressionTest_INCLUDED | 
|---|
| 54 |  | 
|---|