-
Notifications
You must be signed in to change notification settings - Fork 1
/
floatingtexttestsuite.h
43 lines (38 loc) · 1.2 KB
/
floatingtexttestsuite.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
/////////////////////////////////////////////////////////////////////////////
// Name: floatingtexttestsuite.h
// Purpose: Performs unit testing on the FloatingText class
// Author: Brad Larsen
// Modified by:
// Created: Dec 5, 2004
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __FLOATINGTEXTTESTSUITE_H__
#define __FLOATINGTEXTTESTSUITE_H__
/// Performs unit testing on the FloatingText class
class FloatingTextTestSuite :
public TestSuite
{
DECLARE_DYNAMIC_CLASS(FloatingTextTestSuite)
// Constructor/Destructor
public:
FloatingTextTestSuite();
~FloatingTextTestSuite();
// Overrides
size_t GetTestCount() const;
bool RunTestCases();
// Test Case Functions
private:
bool TestCaseConstructor();
bool TestCaseCreation();
bool TestCaseOperator();
bool TestCaseSerialize();
bool TestCaseText();
bool TestCaseRect();
bool TestCaseFlags();
bool TestCaseAlignment();
bool TestCaseBorder();
bool TestCaseFontSetting();
};
#endif