<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15412">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CBSP: Hack to make receive templates work<br><br>For some reason, the 'ifpresent' annotation doesn't work in lists<br>of templates.  This means we have to re-think the CBSP template<br>structure at some point.  However, this would be a significant detour<br>and I'd rather have working tests right now, so we can verify the<br>actual functionality merged into the BSC right now.<br><br>Change-Id: I3fa174b4352c17feaea4d33f773877104d4913c4<br>---<br>M library/CBSP_Templates.ttcn<br>1 file changed, 5 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/12/15412/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/CBSP_Templates.ttcn b/library/CBSP_Templates.ttcn</span><br><span>index 3c60f14..86eaf69 100644</span><br><span>--- a/library/CBSP_Templates.ttcn</span><br><span>+++ b/library/CBSP_Templates.ttcn</span><br><span>@@ -454,7 +454,7 @@</span><br><span>                tr_CbspFailList(fail_list)</span><br><span>   };</span><br><span>   if (istemplatekind(compl_list, "*")) {</span><br><span style="color: hsl(0, 100%, 40%);">-                ies[lengthof(ies)] := tr_CbspNumComplList ifpresent;</span><br><span style="color: hsl(120, 100%, 40%);">+          //ies[lengthof(ies)] := tr_CbspNumComplList ifpresent;</span><br><span>       } else if (istemplatekind(compl_list, "?")) {</span><br><span>              ies[lengthof(ies)] := tr_CbspNumComplList(?);</span><br><span>        } else if (not istemplatekind(compl_list, "omit")) {</span><br><span>@@ -507,14 +507,14 @@</span><br><span>               tr_CbspFailList(fail_list)</span><br><span>   };</span><br><span>   if (istemplatekind(compl_list, "*")) {</span><br><span style="color: hsl(0, 100%, 40%);">-                ies[lengthof(ies)] := tr_CbspCellList ifpresent;</span><br><span style="color: hsl(120, 100%, 40%);">+              //ies[lengthof(ies)] := tr_CbspCellList ifpresent;</span><br><span>   } else if (istemplatekind(compl_list, "?")) {</span><br><span>              ies[lengthof(ies)] := tr_CbspNumComplList(?);</span><br><span>        } else if (not istemplatekind(compl_list, "omit")) {</span><br><span>               ies[lengthof(ies)] := tr_CbspNumComplList(compl_list);</span><br><span>       }</span><br><span>    if (istemplatekind(cell_list, "*")) {</span><br><span style="color: hsl(0, 100%, 40%);">-         ies[lengthof(ies)] := tr_CbspCellList ifpresent;</span><br><span style="color: hsl(120, 100%, 40%);">+              //ies[lengthof(ies)] := tr_CbspCellList ifpresent;</span><br><span>   } else if (istemplatekind(cell_list, "?")) {</span><br><span>               ies[lengthof(ies)] := tr_CbspCellList(?);</span><br><span>    } else if (not istemplatekind(cell_list, "omit")) {</span><br><span>@@ -626,12 +626,12 @@</span><br><span>                tr_CbspFailList(fail_list)</span><br><span>   };</span><br><span>   if (istemplatekind(compl_list, "*")) {</span><br><span style="color: hsl(0, 100%, 40%);">-                ies[lengthof(ies)] := tr_CbspNumComplList ifpresent;</span><br><span style="color: hsl(120, 100%, 40%);">+          //ies[lengthof(ies)] := tr_CbspNumComplList ifpresent;</span><br><span>       } else if (not istemplatekind(compl_list, "omit")) {</span><br><span>               ies[lengthof(ies)] := tr_CbspNumComplList(compl_list);</span><br><span>       }</span><br><span>    if (istemplatekind(compl_list, "*")) {</span><br><span style="color: hsl(0, 100%, 40%);">-                ies[lengthof(ies)] := tr_CbspCellList ifpresent;</span><br><span style="color: hsl(120, 100%, 40%);">+              //ies[lengthof(ies)] := tr_CbspCellList ifpresent;</span><br><span>   } else if (not istemplatekind(cell_list, "omit")) {</span><br><span>                ies[lengthof(ies)] := tr_CbspCellList(cell_list);</span><br><span>    }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15412">change 15412</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15412"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3fa174b4352c17feaea4d33f773877104d4913c4 </div>
<div style="display:none"> Gerrit-Change-Number: 15412 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>