update mtest

This commit is contained in:
ws 2014-08-23 15:16:27 +02:00
parent e77edb9227
commit 2af2b03bf8
4 changed files with 3 additions and 15 deletions

View file

@ -487,7 +487,7 @@ ChordRest* Spanner::startCR()
{
Q_ASSERT(_anchor == Anchor::SEGMENT || _anchor == Anchor::CHORD);
if (!_startElement)
computeStartElement();
_startElement = score()->findCR(tick(), track());
return static_cast<ChordRest*>(_startElement);
}

View file

@ -215,10 +215,6 @@
<Staff id="1">
<VBox>
<height>10</height>
<Text>
<style>Instrument Name (Part)</style>
<text></text>
</Text>
</VBox>
<Measure number="1">
<Clef>

View file

@ -470,10 +470,6 @@
<style>Title</style>
<text>Style Score</text>
</Text>
<Text>
<style>Instrument Name (Part)</style>
<text></text>
</Text>
</VBox>
<Measure number="1">
<Clef>
@ -705,10 +701,6 @@
<style>Title</style>
<text>Style Score</text>
</Text>
<Text>
<style>Instrument Name (Part)</style>
<text></text>
</Text>
</VBox>
<Measure number="1">
<Clef>

View file

@ -154,8 +154,8 @@ void TestSelectionRangeDelete::deleteSegmentWithSpanner()
size_t spanners = score->spanner().size();
score->select(chordRestAtBeat(score, 0),SelectType::RANGE);
// verifyNoDelete(score,spanners);
verifyDelete(score,spanners);
verifyNoDelete(score,spanners);
// verifyDelete(score,spanners);
score->deselectAll();
score->select(chordRestAtBeat(score, 1),SelectType::RANGE);