Example #1
0
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool BarlineTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Jan 4, 2005
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCasePosition())
        return (false);
    if (!TestCaseBarlineData())
        return (false);
    if (!TestCaseType())
        return (false);
    if (!TestCaseRepeatCount())
        return (false);
    if (!TestCaseKeySignature())
        return (false);
    if (!TestCaseTimeSignature())
        return (false);
    if (!TestCaseRehearsalSign())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool StaffTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Jan 5, 2005
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseClef())
        return (false);
    if (!TestCaseTablatureStaffType())
        return (false);
    if (!TestCaseStandardNotationStaffAboveSpacing())
        return (false);
    if (!TestCaseStandardNotationStaffBelowSpacing())
        return (false);
    if (!TestCaseSymbolSpacing())
        return (false);
    if (!TestCaseTablatureStaffBelowSpacing())
        return (false);
    if (!TestCaseVoice())
        return (false);
    if (!TestCasePositionArray())
        return (false);
    
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool ChordDiagramTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Jan 16, 2005
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);                
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseChordDiagram())
        return (false);
    if (!TestCaseChordName())
        return (false);
    if (!TestCaseTopFret())
        return (false);
    if (!TestCaseString())
        return (false);
    if (!TestCaseFretNumber())
        return (false);
    if (!TestCaseVoicing())
        return (false);
    if (!TestCaseOperations())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool FontSettingTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Dec 6, 2004
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseSetFontSetting())
        return (false);
    if (!TestCaseSetFontSettingFromString())
        return (false);
    if (!TestCaseFaceName())
        return (false);
    if (!TestCasePointSize())
        return (false);
    if (!TestCaseWeight())
        return (false);
    if (!TestCaseItalic())
        return (false);
    if (!TestCaseUnderline())
        return (false);
    if (!TestCaseStrikeOut())
        return (false);
    if (!TestCaseColor())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool GuitarTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Dec 8, 2004
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseNumber())
        return (false);
    if (!TestCasePreset())
        return (false);
    if (!TestCaseInitialVolume())
        return (false);
    if (!TestCaseDescription())
        return (false);
    if (!TestCaseReverb())
        return (false);
    if (!TestCaseChorus())
        return (false);
    if (!TestCaseTremolo())
        return (false);
    if (!TestCasePhaser())
        return (false);    
    if (!TestCaseCapo())
        return (false);
    if (!TestCaseTuning())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool ScoreTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Jan 6, 2005
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseGuitarArray())
        return (false);
    if (!TestCaseChordDiagramArray())
        return (false);
    if (!TestCaseFloatingTextArray())
        return (false);
    if (!TestCaseGuitarInArray())
        return (false);
    if (!TestCaseTempoMarkerArray())
        return (false);
    if (!TestCaseDynamicArray())
        return (false);
    if (!TestCaseAlternateEndingArray())
        return (false);
    if (!TestCaseSystemArray())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool KeySignatureTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Dec 11, 2004
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseKey())
        return (false);
    if (!TestCaseKeyType()) 
        return (false);
    if (!TestCaseKeyAccidentals()) 
        return (false);
    if (!TestCaseShow()) 
        return (false);
    if (!TestCaseCancellation()) 
        return (false);
    if (!TestCaseFlag())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool FloatingTextTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Dec 6, 2004
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseText())
        return (false);
    if (!TestCaseRect())
        return (false);
    if (!TestCaseFlags())
        return (false);
    if (!TestCaseAlignment())
        return (false);
    if (!TestCaseBorder())
        return (false);
    if (!TestCaseFontSetting())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool DirectionTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Jan 11, 2005
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCasePosition())
        return (false);
    if (!TestCaseSymbolType())
        return (false);
    if (!TestCaseActiveSymbol())
        return (false);
    if (!TestCaseRepeatNumber())
        return (false);
    if (!TestCaseSymbolArray())
        return (false);
    if (!TestCaseOperations())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool AlternateEndingTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Jan 12, 2005
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseNumbers())
        return (false);
    if (!TestCaseDaCapo())
        return (false);
    if (!TestCaseDalSegno())
        return (false);
    if (!TestCaseDalSegnoSegno())
        return (false);
    if (!TestCaseText())
        return (false);
    return (true);
}
Example #11
0
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool PositionTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Dec 10, 2004
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCasePosition())
        return (false);
    if (!TestCaseDurationType())
        return (false);
    if (!TestCaseIrregularGrouping())
        return (false);
    if (!TestCaseBeaming())
        return (false);
    if (!TestCaseDotted())
        return (false);
    if (!TestCaseRest())
        return (false);
    if (!TestCaseVibrato())
        return (false);
    if (!TestCaseArpeggio())
        return (false);
    if (!TestCasePickStroke())
        return (false);
    if (!TestCaseStaccato())
        return (false);
    if (!TestCaseAccent())
        return (false);
    if (!TestCaseTremoloPicking())
        return (false);
    if (!TestCasePalmMuting())
        return (false);
    if (!TestCaseTap())
        return (false);
    if (!TestCaseGraceNotes())
        return (false);
    if (!TestCaseTripletFeel())
        return (false);
    if (!TestCaseLetRing())
        return (false);
    if (!TestCaseFermata())
        return (false);
    if (!TestCaseIrregularGrouping())
        return (false);
    if (!TestCaseVolumeSwell())
        return (false);
    if (!TestCaseTremoloBar())
        return (false);
    if (!TestCaseMultibarRest())
        return (false);
    if (!TestCaseComplexSymbol())
        return (false);
    if (!TestCaseNoteArray())
        return (false);
    return (true);
}