<p style="white-space: pre-wrap; word-wrap: break-word;">but such enum has to be defined before definition of the COORD_PT in MSC_ConnectionHandler.ttcn.</p><p style="white-space: pre-wrap; word-wrap: break-word;">so for example the coord events needed by TC_cm_reestablishment would have to be defined<br>in MSC_ConnectionHandler.ttcn.<br>Each test that uses COORD will have distinct events to send to the other component.<br>So we collect event names for various tests from various BSC_Tests* files,<br>all in MSC_ConnectionHandler.ttcn, and it's likely to produce unused entries / cruft as time passes.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Using a charstring does not need this "bloat" in distant source files.<br>Spotting the wrong strings being sent is not hard, compared to the other pitfalls in ttcn.<br>Using a const charstring definition gives the same level of compile-time check, if so desired.</p><p style="white-space: pre-wrap; word-wrap: break-word;">So I opt towards de-central flexibility here, rather define the events to be sent close to the actual test,<br>no need to perfectly validate every COORD message (which an enum would also not do, since it would still be possible to send unrelated enum values at the wrong time...).</p><p style="white-space: pre-wrap; word-wrap: break-word;">Actually, what would be even nicer is allowing *any* type of messages being sent.<br>Is that possible?</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25021">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25021">change 25021</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/+/25021"/><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: I1e7d446644f46b8a0a94688e618ffb4f23a8900e </div>
<div style="display:none"> Gerrit-Change-Number: 25021 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 27 Jul 2021 13:56:12 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>