1 | // |
---|---|
2 | // CppParserTest.h |
3 | // |
4 | // Definition of the CppParserTest class. |
5 | // |
6 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | |
13 | #ifndef CppParserTest_INCLUDED |
14 | #define CppParserTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/CppParser/CppParser.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class CppParserTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | CppParserTest(const std::string& name); |
25 | ~CppParserTest(); |
26 | |
27 | void testParseDir(); |
28 | void testExtractName(); |
29 | void testNumberLiterals(); |
30 | |
31 | void setUp(); |
32 | void tearDown(); |
33 | |
34 | static CppUnit::Test* suite(); |
35 | |
36 | protected: |
37 | void testNumberLiteral(const std::string& literal); |
38 | |
39 | private: |
40 | }; |
41 | |
42 | |
43 | #endif // CppParserTest_INCLUDED |
44 |