Skip to content

Commit

Permalink
Add test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgavioli committed Dec 28, 2013
1 parent d24c1fe commit 3d932d4
Show file tree
Hide file tree
Showing 7 changed files with 1,181 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mtest/libmscore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#=============================================================================

subdirs(
beam chordsymbol clef compat concertpitch copypaste copypastesymbollist dynamic element
beam chordsymbol clef clef_courtesy compat concertpitch copypaste copypastesymbollist dynamic element
hairpin join keysig layout link measure midi note plugins repeat split
splitstaff timesig transpose tuplet
)
Expand Down
16 changes: 16 additions & 0 deletions mtest/libmscore/clef_courtesy/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#=============================================================================
# MuseScore
# Music Composition & Notation
#
# Copyright (C) 2011 Werner Schweer
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# as published by the Free Software Foundation and appearing in
# the file LICENSE.GPL
#=============================================================================

set(TARGET tst_clef_courtesy)

include(${PROJECT_SOURCE_DIR}/mtest/cmake.inc)

254 changes: 254 additions & 0 deletions mtest/libmscore/clef_courtesy/clef_courtesy01-ref.mscx
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
<?xml version="1.0" encoding="UTF-8"?>
<museScore version="1.24">
<Score>
<LayerTag id="0" tag="default"></LayerTag>
<currentLayer>0</currentLayer>
<Division>480</Division>
<Style>
<maxSystemDistance>20</maxSystemDistance>
<lyricsDistance>0</lyricsDistance>
<lyricsMinBottomDistance>0</lyricsMinBottomDistance>
<figuredBassFontFamily>MScoreBC</figuredBassFontFamily>
<frameSystemDistance>0</frameSystemDistance>
<barWidth>0.2</barWidth>
<endBarWidth>0.4</endBarWidth>
<bracketDistance>0.4</bracketDistance>
<stemWidth>0.2</stemWidth>
<staffLineWidth>0.15</staffLineWidth>
<beamMinLen>1.32</beamMinLen>
<beamNoSlope>0</beamNoSlope>
<genCourtesyTimesig>0</genCourtesyTimesig>
<sectionPause>2</sectionPause>
<showHeader>1</showHeader>
<evenHeaderL>$p</evenHeaderL>
<evenHeaderR>$:workTitle:</evenHeaderR>
<oddHeaderL>$:workTitle:</oddHeaderL>
<oddHeaderR>$p</oddHeaderR>
<footerOddEven>0</footerOddEven>
<evenFooterL>$:copyright:</evenFooterL>
<evenFooterC>$:plate:</evenFooterC>
<evenFooterR>Version $:version:</evenFooterR>
<page-layout>
<page-height>1627.09</page-height>
<page-width>1133.86</page-width>
<page-margins type="even">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>85.0394</bottom-margin>
</page-margins>
<page-margins type="odd">
<left-margin>56.6929</left-margin>
<right-margin>56.6929</right-margin>
<top-margin>56.6929</top-margin>
<bottom-margin>85.0394</bottom-margin>
</page-margins>
</page-layout>
<Spatium>1.76389</Spatium>
</Style>
<showInvisible>1</showInvisible>
<showUnprintable>1</showUnprintable>
<showFrames>1</showFrames>
<showMargins>0</showMargins>
<metaTag name="copyright"></metaTag>
<metaTag name="movementNumber"></metaTag>
<metaTag name="movementTitle"></metaTag>
<metaTag name="source"></metaTag>
<metaTag name="workNumber"></metaTag>
<metaTag name="workTitle"></metaTag>
<PageList>
<Page>
<System>
</System>
<System>
</System>
<System>
</System>
</Page>
</PageList>
<Part>
<Staff id="1">
<type>0</type>
<bracket type="-1" span="0"/>
</Staff>
<trackName>Flute</trackName>
<Instrument>
<trackName>Flute</trackName>
<minPitchP>59</minPitchP>
<maxPitchP>98</maxPitchP>
<minPitchA>60</minPitchA>
<maxPitchA>93</maxPitchA>
<Articulation>
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="staccato">
<velocity>100</velocity>
<gateTime>85</gateTime>
</Articulation>
<Articulation name="tenuto">
<velocity>100</velocity>
<gateTime>100</gateTime>
</Articulation>
<Articulation name="sforzato">
<velocity>120</velocity>
<gateTime>100</gateTime>
</Articulation>
<Channel>
<program value="73"/>
</Channel>
</Instrument>
</Part>
<Staff id="1">
<Measure number="1">
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<KeySig>
<accidental>0</accidental>
</KeySig>
<TimeSig>
<sigN>4</sigN>
<sigD>4</sigD>
<showCourtesySig>1</showCourtesySig>
</TimeSig>
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<BarLine>
<subtype>normal</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="2">
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<BarLine>
<subtype>normal</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
<LayoutBreak>
<subtype>line</subtype>
<pause>2</pause>
</LayoutBreak>
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<Clef>
<concertClefType>G8va</concertClefType>
<transposingClefType>G8va</transposingClefType>
</Clef>
<BarLine>
<subtype>normal</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="4">
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<BarLine>
<subtype>normal</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="5">
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<BarLine>
<subtype>normal</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="6">
<LayoutBreak>
<subtype>line</subtype>
<pause>2</pause>
</LayoutBreak>
<LayoutBreak>
<subtype>section</subtype>
<pause>2</pause>
</LayoutBreak>
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<Clef>
<concertClefType>G</concertClefType>
<transposingClefType>G</transposingClefType>
</Clef>
<BarLine>
<subtype>normal</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="1">
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<BarLine>
<subtype>normal</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="2">
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<BarLine>
<subtype>normal</subtype>
<span>1</span>
</BarLine>
</Measure>
<Measure number="3">
<Chord>
<durationType>whole</durationType>
<Note>
<pitch>72</pitch>
<tpc>14</tpc>
</Note>
</Chord>
<BarLine>
<subtype>end</subtype>
<span>1</span>
</BarLine>
</Measure>
</Staff>
</Score>
</museScore>
Loading

0 comments on commit 3d932d4

Please sign in to comment.