-
Notifications
You must be signed in to change notification settings - Fork 1
/
barlinetestsuite.h
44 lines (39 loc) · 1.2 KB
/
barlinetestsuite.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
/////////////////////////////////////////////////////////////////////////////
// Name: barlinetestsuite.h
// Purpose: Performs unit testing on the Barline class
// Author: Brad Larsen
// Modified by:
// Created: Jan 4, 2005
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __BARLINETESTSUITE_H__
#define __BARLINETESTSUITE_H__
/// Performs unit testing on the Barline class
class BarlineTestSuite :
public TestSuite
{
DECLARE_DYNAMIC_CLASS(BarlineTestSuite)
// Constructor/Destructor
public:
BarlineTestSuite();
~BarlineTestSuite();
// Overrides
size_t GetTestCount() const;
bool RunTestCases();
// Test Cases
private:
bool TestCaseConstructor();
bool TestCaseCreation();
bool TestCaseOperator();
bool TestCaseSerialize();
bool TestCasePosition();
bool TestCaseBarlineData();
bool TestCaseType();
bool TestCaseRepeatCount();
bool TestCaseKeySignature();
bool TestCaseTimeSignature();
bool TestCaseRehearsalSign();
};
#endif