forked from RaptDept/ptparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfontsettingtestsuite.h
46 lines (41 loc) · 1.3 KB
/
fontsettingtestsuite.h
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
/////////////////////////////////////////////////////////////////////////////
// Name: fontsettingtestsuite.h
// Purpose: Performs unit testing on the FontSetting class
// Author: Brad Larsen
// Modified by:
// Created: Dec 7, 2004
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __FONTSETTINGTESTSUITE_H__
#define __FONTSETTINGTESTSUITE_H__
/// Performs unit testing on the FontSetting class
class FontSettingTestSuite :
public TestSuite
{
DECLARE_DYNAMIC_CLASS(FontSettingTestSuite)
// Constructor/Destructor
public:
FontSettingTestSuite();
~FontSettingTestSuite();
// Overrides
size_t GetTestCount() const;
bool RunTestCases();
// Test Case Functions
private:
bool TestCaseConstructor();
bool TestCaseCreation();
bool TestCaseOperator();
bool TestCaseSerialize();
bool TestCaseSetFontSetting();
bool TestCaseSetFontSettingFromString();
bool TestCaseFaceName();
bool TestCasePointSize();
bool TestCaseWeight();
bool TestCaseItalic();
bool TestCaseUnderline();
bool TestCaseStrikeOut();
bool TestCaseColor();
};
#endif