TestMorfeusz.hpp
1.36 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
/*
* 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(testOpenInvalidFile);
CPPUNIT_TEST(testOpenNonExistentFile);
CPPUNIT_TEST(testSetInvalidAgglOption);
CPPUNIT_TEST(testSetInvalidPraetOption);
CPPUNIT_TEST(testWhitespaceHandlingKEEP);
CPPUNIT_TEST(testWhitespaceHandlingAPPEND);
CPPUNIT_TEST_SUITE_END();
public:
TestMorfeusz();
virtual ~TestMorfeusz();
void setUp();
void tearDown();
private:
void testAnalyzeIterate1();
void testAnalyzeIterateWithWhitespaceHandlingKEEP();
void testAnalyzeIterateWithWhitespaceHandlingAPPEND();
void testAnalyzeVector1();
void testOpenInvalidFile();
void testOpenNonExistentFile();
void testSetInvalidAgglOption();
void testSetInvalidPraetOption();
void testWhitespaceHandlingKEEP();
void testWhitespaceHandlingAPPEND();
morfeusz::Morfeusz* morfeusz;
};
#endif /* TESTMORFEUSZ_HPP */