forked from RaptDept/ptparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpowertabfileheadertestsuite.h
67 lines (62 loc) · 2.18 KB
/
powertabfileheadertestsuite.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/////////////////////////////////////////////////////////////////////////////
// Name: powertabfileheadertestsuite.h
// Purpose: Performs unit testing on the PowerTabFileHeader class
// Author: Brad Larsen
// Modified by:
// Created: Dec 4, 2004
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __POWERTABFILEHEADERTESTSUITE_H__
#define __POWERTABFILEHEADERTESTSUITE_H__
/// Performs unit testing on the PowerTabFileHeader class
class PowerTabFileHeaderTestSuite :
public TestSuite
{
DECLARE_DYNAMIC_CLASS(PowerTabFileHeaderTestSuite)
// Constructor/Destructor
public:
PowerTabFileHeaderTestSuite();
~PowerTabFileHeaderTestSuite();
// Overrides
size_t GetTestCount() const;
bool RunTestCases();
// Test Case Functions
private:
bool TestCaseConstructor();
bool TestCaseOperator();
bool TestCaseSerialize();
bool TestCasePowerTabFileMarker();
bool TestCaseFileVersion();
bool TestCaseFileType();
bool TestCaseSongContentType();
bool TestCaseSongTitle();
bool TestCaseSongArtist();
bool TestCaseSongReleaseType();
bool TestCaseSongAudioReleaseTitle();
bool TestCaseSongAudioReleaseYear();
bool TestCaseSongAudioReleaseLive();
bool TestCaseSongVideoReleaseTitle();
bool TestCaseSongVideoReleaseLive();
bool TestCaseSongBootlegTitle();
bool TestCaseSongBootlegDate();
bool TestCaseSongAuthorType();
bool TestCaseSongComposer();
bool TestCaseSongLyricist();
bool TestCaseSongArranger();
bool TestCaseSongGuitarScoreTranscriber();
bool TestCaseSongBassScoreTranscriber();
bool TestCaseSongCopyright();
bool TestCaseSongLyrics();
bool TestCaseSongGuitarScoreNotes();
bool TestCaseSongBassScoreNotes();
bool TestCaseLessonTitle();
bool TestCaseLessonSubtitle();
bool TestCaseLessonMusicStyle();
bool TestCaseLessonLevel();
bool TestCaseLessonAuthor();
bool TestCaseLessonNotes();
bool TestCaseLessonCopyright();
};
#endif