File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
app/display/model/src/test/java/org/csstudio/display/builder/model/macros Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -166,10 +166,12 @@ public void testTimeOfExpansion() throws Exception
166166 // When macros are expanded as the runtime starts..
167167 DisplayMacroExpander .expandDisplayMacros (model );
168168
169- // ..you get $(P)="display"
169+ // ..you get $(P)="group", since 'subgroup' defines 'P' as
170+ // '$(SAVE)', and 'group' defines 'SAVE' as '$(P)' and
171+ // 'P' as 'group'.
170172 macros = label .getEffectiveMacros ();
171173 System .out .println (macros );
172- assertThat (macros .getValue ("P" ), equalTo ("display " ));
173- assertThat (MacroHandler .replace (macros , "$(P)" ), equalTo ("display " ));
174+ assertThat (macros .getValue ("P" ), equalTo ("group " ));
175+ assertThat (MacroHandler .replace (macros , "$(P)" ), equalTo ("group " ));
174176 }
175177}
You can’t perform that action at this time.
0 commit comments