Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Unified Diff: input/regression/context-find-parent.ly

Issue 348760043: Issue 5318: Context regression tests (Closed)
Patch Set: revise instrument names for clarity Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « input/regression/context-find-grandchild-ambiguous.ly ('k') | input/regression/context-find-score-alias.ly » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: input/regression/context-find-parent.ly
diff --git a/input/regression/context-find-parent.ly b/input/regression/context-find-parent.ly
new file mode 100644
index 0000000000000000000000000000000000000000..efbec5ab2f4d1b00d9c688c73663e8c2779332a8
--- /dev/null
+++ b/input/regression/context-find-parent.ly
@@ -0,0 +1,22 @@
+\version "2.19.80"
+
+\header {
+ texidoc = "@code{\\context} can find the parent context by type and ID.
+@verbatim
+ StaffGroup A
+ \
+ StaffGroup B (from here, find StaffGroup A)
+@end verbatim
+CHILD and RESULT should appear in the left margin."
+}
+
+\new StaffGroup = "A" \with { instrumentName = "SOUGHT" } <<
+ \new StaffGroup = "B" \with { instrumentName = "CHILD" } <<
+ s1
+ \context StaffGroup = "A" <<
+ %% This name is expected to replace SOUGHT.
+ \set StaffGroup.instrumentName = "RESULT"
+ s1
+ >>
+ >>
+>>
« no previous file with comments | « input/regression/context-find-grandchild-ambiguous.ly ('k') | input/regression/context-find-score-alias.ly » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b