Loading plugins/org.etsi.mts.tdl.common/src/org/etsi/mts/tdl/scoping/TDLScopeProvider.java +7 −2 Original line number Diff line number Diff line Loading @@ -100,8 +100,13 @@ public class TDLScopeProvider extends AbstractDeclarativeScopeProvider { public Iterator<EObject> getContainerContents(Element context) { TestDescription td = context.getParentTestDescription(); if (td == null) if (td == null) { StructuredTestObjective sto = EcoreUtil2.getContainerOfType(context, StructuredTestObjective.class); if (sto == null) { return Collections.emptyIterator(); } return sto.eAllContents(); } return td.eAllContents(); } Loading Loading
plugins/org.etsi.mts.tdl.common/src/org/etsi/mts/tdl/scoping/TDLScopeProvider.java +7 −2 Original line number Diff line number Diff line Loading @@ -100,8 +100,13 @@ public class TDLScopeProvider extends AbstractDeclarativeScopeProvider { public Iterator<EObject> getContainerContents(Element context) { TestDescription td = context.getParentTestDescription(); if (td == null) if (td == null) { StructuredTestObjective sto = EcoreUtil2.getContainerOfType(context, StructuredTestObjective.class); if (sto == null) { return Collections.emptyIterator(); } return sto.eAllContents(); } return td.eAllContents(); } Loading