TestMorfeusz.hpp
1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
* File: TestMorfeusz.hpp
* Author: lennyn
*
* Created on Jun 27, 2014, 1:03:19 PM
*/
#ifndef TESTMORFEUSZ_HPP
#define TESTMORFEUSZ_HPP
#include <cppunit/extensions/HelperMacros.h>
#include "morfeusz2.h"
class TestMorfeusz : public CPPUNIT_NS::TestFixture {
CPPUNIT_TEST_SUITE(TestMorfeusz);
CPPUNIT_TEST(testAnalyzeIterate1);
CPPUNIT_TEST(testAnalyzeIterateWithWhitespaceHandlingKEEP);
CPPUNIT_TEST(testAnalyzeIterateWithWhitespaceHandlingAPPEND);
CPPUNIT_TEST(testAnalyzeVector1);
CPPUNIT_TEST(testOpenInvalidDict);
CPPUNIT_TEST(testOpenNonExistentDict);
CPPUNIT_TEST(testSetInvalidAgglOption);
CPPUNIT_TEST(testSetInvalidPraetOption);
CPPUNIT_TEST(testWhitespaceHandlingKEEP);
CPPUNIT_TEST(testWhitespaceHandlingAPPEND);
CPPUNIT_TEST(testDefaultWhitespaceHandling);
CPPUNIT_TEST(testDefaultCaseHandling);
CPPUNIT_TEST(testDefaultTokenNumbering);
CPPUNIT_TEST_SUITE_END();
public:
TestMorfeusz();
virtual ~TestMorfeusz();
void setUp();
void tearDown();
private:
void testAnalyzeIterate1();
void testAnalyzeIterateWithWhitespaceHandlingKEEP();
void testAnalyzeIterateWithWhitespaceHandlingAPPEND();
void testAnalyzeVector1();
void testOpenInvalidDict();
void testOpenNonExistentDict();
void testSetInvalidAgglOption();
void testSetInvalidPraetOption();
void testWhitespaceHandlingKEEP();
void testWhitespaceHandlingAPPEND();
void testDefaultWhitespaceHandling();
void testDefaultCaseHandling();
void testDefaultTokenNumbering();
morfeusz::Morfeusz* morfeusz;
};
#endif /* TESTMORFEUSZ_HPP */