From f3e58f4636d3073feb4561ac07dfd2e7a9214772 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Sun, 8 Jul 2007 11:30:27 +1000 Subject: [PATCH] update regression tests for volta brackets --- .../volta-multi-staff-inner-staff.ly | 29 +++++++++++++++++++ input/regression/volta-multi-staff.ly | 14 ++------- 2 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 input/regression/volta-multi-staff-inner-staff.ly diff --git a/input/regression/volta-multi-staff-inner-staff.ly b/input/regression/volta-multi-staff-inner-staff.ly new file mode 100644 index 0000000000..c6d0f9eeca --- /dev/null +++ b/input/regression/volta-multi-staff-inner-staff.ly @@ -0,0 +1,29 @@ +\header { + texidoc = "By putting Volta_engraver in a staff context, one can get +volta brackets on staves other than the topmost one." +} + +\layout { + ragged-right = ##t + + \context { + \Score + \remove "Volta_engraver" + } +} + +\version "2.10.0" + +vmus = { \repeat volta 2 c1 \alternative { d e } } + +\relative c'' << + \new StaffGroup << + \new Staff \vmus + \new Staff \vmus + >> + \new StaffGroup << + \new Staff \with { \consists "Volta_engraver" } + \vmus + \new Staff \vmus + >> +>> diff --git a/input/regression/volta-multi-staff.ly b/input/regression/volta-multi-staff.ly index ce8c617cfb..1b1f395baa 100644 --- a/input/regression/volta-multi-staff.ly +++ b/input/regression/volta-multi-staff.ly @@ -1,27 +1,19 @@ \header { - - texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put - also over other staves than the topmost one in a score." - + texidoc = "By default, the volta brackets appear only in the topmost staff." } \layout { ragged-right = ##t } \version "2.10.0" - vmus = { \repeat volta 2 c1 \alternative { d e } } - - \relative c'' << \new StaffGroup << - \context Staff \vmus + \new Staff \vmus \new Staff \vmus >> \new StaffGroup << - \new Staff << - \set Staff.voltaOnThisStaff = ##t - \vmus >> + \new Staff \vmus \new Staff \vmus >> >> -- 2.39.5