StextKeywordsInStatesAndRegions.sctunit 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. testgroup STextKeywordsInStatesAndRegions for statechart STextKeywordsInStatesAndRegions{
  2. test activeCheckWithSTextNamedStates {
  3. enter
  4. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  5. assert active(STextKeywordsInStatesAndRegions.operation.interface)
  6. assert active(STextKeywordsInStatesAndRegions.namespace.event)
  7. assert active(STextKeywordsInStatesAndRegions.local.in)
  8. assert active(STextKeywordsInStatesAndRegions.interface.var)
  9. assert active(STextKeywordsInStatesAndRegions.internal.external)
  10. assert active(STextKeywordsInStatesAndRegions.event.default)
  11. assert active(STextKeywordsInStatesAndRegions.in.entry)
  12. assert active(STextKeywordsInStatesAndRegions.out.always)
  13. assert active(STextKeywordsInStatesAndRegions.var.raise)
  14. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  15. assert active(STextKeywordsInStatesAndRegions.external.interface)
  16. assert active(STextKeywordsInStatesAndRegions.else.event)
  17. assert active(STextKeywordsInStatesAndRegions.entry.in)
  18. assert active(STextKeywordsInStatesAndRegions.exit.var)
  19. assert active(STextKeywordsInStatesAndRegions.always.external)
  20. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  21. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  22. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  23. assert active(STextKeywordsInStatesAndRegions.active.raise)
  24. raise e1
  25. cycle
  26. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  27. assert active(STextKeywordsInStatesAndRegions.operation.internal) //x
  28. assert active(STextKeywordsInStatesAndRegions.namespace.event)
  29. assert active(STextKeywordsInStatesAndRegions.local.in)
  30. assert active(STextKeywordsInStatesAndRegions.interface.var)
  31. assert active(STextKeywordsInStatesAndRegions.internal.external)
  32. assert active(STextKeywordsInStatesAndRegions.event.default)
  33. assert active(STextKeywordsInStatesAndRegions.in.entry)
  34. assert active(STextKeywordsInStatesAndRegions.out.always)
  35. assert active(STextKeywordsInStatesAndRegions.var.raise)
  36. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  37. assert active(STextKeywordsInStatesAndRegions.external.interface)
  38. assert active(STextKeywordsInStatesAndRegions.else.event)
  39. assert active(STextKeywordsInStatesAndRegions.entry.in)
  40. assert active(STextKeywordsInStatesAndRegions.exit.var)
  41. assert active(STextKeywordsInStatesAndRegions.always.external)
  42. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  43. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  44. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  45. assert active(STextKeywordsInStatesAndRegions.active.raise)
  46. raise e2
  47. cycle
  48. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  49. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  50. assert active(STextKeywordsInStatesAndRegions.namespace.local) //x
  51. assert active(STextKeywordsInStatesAndRegions.local.in)
  52. assert active(STextKeywordsInStatesAndRegions.interface.var)
  53. assert active(STextKeywordsInStatesAndRegions.internal.external)
  54. assert active(STextKeywordsInStatesAndRegions.event.default)
  55. assert active(STextKeywordsInStatesAndRegions.in.entry)
  56. assert active(STextKeywordsInStatesAndRegions.out.always)
  57. assert active(STextKeywordsInStatesAndRegions.var.raise)
  58. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  59. assert active(STextKeywordsInStatesAndRegions.external.interface)
  60. assert active(STextKeywordsInStatesAndRegions.else.event)
  61. assert active(STextKeywordsInStatesAndRegions.entry.in)
  62. assert active(STextKeywordsInStatesAndRegions.exit.var)
  63. assert active(STextKeywordsInStatesAndRegions.always.external)
  64. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  65. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  66. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  67. assert active(STextKeywordsInStatesAndRegions.active.raise)
  68. raise e1
  69. cycle
  70. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  71. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  72. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  73. assert active(STextKeywordsInStatesAndRegions.local.out) //x
  74. assert active(STextKeywordsInStatesAndRegions.interface.var)
  75. assert active(STextKeywordsInStatesAndRegions.internal.external)
  76. assert active(STextKeywordsInStatesAndRegions.event.default)
  77. assert active(STextKeywordsInStatesAndRegions.in.entry)
  78. assert active(STextKeywordsInStatesAndRegions.out.always)
  79. assert active(STextKeywordsInStatesAndRegions.var.raise)
  80. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  81. assert active(STextKeywordsInStatesAndRegions.external.interface)
  82. assert active(STextKeywordsInStatesAndRegions.else.event)
  83. assert active(STextKeywordsInStatesAndRegions.entry.in)
  84. assert active(STextKeywordsInStatesAndRegions.exit.var)
  85. assert active(STextKeywordsInStatesAndRegions.always.external)
  86. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  87. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  88. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  89. assert active(STextKeywordsInStatesAndRegions.active.raise)
  90. raise e2
  91. cycle
  92. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  93. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  94. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  95. assert active(STextKeywordsInStatesAndRegions.local.out)
  96. assert active(STextKeywordsInStatesAndRegions.interface.readonly) //x
  97. assert active(STextKeywordsInStatesAndRegions.internal.external)
  98. assert active(STextKeywordsInStatesAndRegions.event.default)
  99. assert active(STextKeywordsInStatesAndRegions.in.entry)
  100. assert active(STextKeywordsInStatesAndRegions.out.always)
  101. assert active(STextKeywordsInStatesAndRegions.var.raise)
  102. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  103. assert active(STextKeywordsInStatesAndRegions.external.interface)
  104. assert active(STextKeywordsInStatesAndRegions.else.event)
  105. assert active(STextKeywordsInStatesAndRegions.entry.in)
  106. assert active(STextKeywordsInStatesAndRegions.exit.var)
  107. assert active(STextKeywordsInStatesAndRegions.always.external)
  108. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  109. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  110. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  111. assert active(STextKeywordsInStatesAndRegions.active.raise)
  112. raise e1
  113. cycle
  114. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  115. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  116. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  117. assert active(STextKeywordsInStatesAndRegions.local.out)
  118. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  119. assert active(STextKeywordsInStatesAndRegions.internal.operation) //x
  120. assert active(STextKeywordsInStatesAndRegions.event.default)
  121. assert active(STextKeywordsInStatesAndRegions.in.entry)
  122. assert active(STextKeywordsInStatesAndRegions.out.always)
  123. assert active(STextKeywordsInStatesAndRegions.var.raise)
  124. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  125. assert active(STextKeywordsInStatesAndRegions.external.interface)
  126. assert active(STextKeywordsInStatesAndRegions.else.event)
  127. assert active(STextKeywordsInStatesAndRegions.entry.in)
  128. assert active(STextKeywordsInStatesAndRegions.exit.var)
  129. assert active(STextKeywordsInStatesAndRegions.always.external)
  130. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  131. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  132. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  133. assert active(STextKeywordsInStatesAndRegions.active.raise)
  134. raise e2
  135. cycle
  136. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  137. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  138. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  139. assert active(STextKeywordsInStatesAndRegions.local.out)
  140. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  141. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  142. assert active(STextKeywordsInStatesAndRegions.event.else) //x
  143. assert active(STextKeywordsInStatesAndRegions.in.entry)
  144. assert active(STextKeywordsInStatesAndRegions.out.always)
  145. assert active(STextKeywordsInStatesAndRegions.var.raise)
  146. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  147. assert active(STextKeywordsInStatesAndRegions.external.interface)
  148. assert active(STextKeywordsInStatesAndRegions.else.event)
  149. assert active(STextKeywordsInStatesAndRegions.entry.in)
  150. assert active(STextKeywordsInStatesAndRegions.exit.var)
  151. assert active(STextKeywordsInStatesAndRegions.always.external)
  152. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  153. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  154. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  155. assert active(STextKeywordsInStatesAndRegions.active.raise)
  156. raise e1
  157. cycle
  158. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  159. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  160. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  161. assert active(STextKeywordsInStatesAndRegions.local.out)
  162. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  163. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  164. assert active(STextKeywordsInStatesAndRegions.event.else)
  165. assert active(STextKeywordsInStatesAndRegions.in.exit) //x
  166. assert active(STextKeywordsInStatesAndRegions.out.always)
  167. assert active(STextKeywordsInStatesAndRegions.var.raise)
  168. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  169. assert active(STextKeywordsInStatesAndRegions.external.interface)
  170. assert active(STextKeywordsInStatesAndRegions.else.event)
  171. assert active(STextKeywordsInStatesAndRegions.entry.in)
  172. assert active(STextKeywordsInStatesAndRegions.exit.var)
  173. assert active(STextKeywordsInStatesAndRegions.always.external)
  174. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  175. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  176. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  177. assert active(STextKeywordsInStatesAndRegions.active.raise)
  178. raise e2
  179. cycle
  180. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  181. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  182. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  183. assert active(STextKeywordsInStatesAndRegions.local.out)
  184. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  185. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  186. assert active(STextKeywordsInStatesAndRegions.event.else)
  187. assert active(STextKeywordsInStatesAndRegions.in.exit)
  188. assert active(STextKeywordsInStatesAndRegions.out.oncycle) //x
  189. assert active(STextKeywordsInStatesAndRegions.var.raise)
  190. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  191. assert active(STextKeywordsInStatesAndRegions.external.interface)
  192. assert active(STextKeywordsInStatesAndRegions.else.event)
  193. assert active(STextKeywordsInStatesAndRegions.entry.in)
  194. assert active(STextKeywordsInStatesAndRegions.exit.var)
  195. assert active(STextKeywordsInStatesAndRegions.always.external)
  196. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  197. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  198. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  199. assert active(STextKeywordsInStatesAndRegions.active.raise)
  200. raise e1
  201. cycle
  202. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  203. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  204. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  205. assert active(STextKeywordsInStatesAndRegions.local.out)
  206. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  207. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  208. assert active(STextKeywordsInStatesAndRegions.event.else)
  209. assert active(STextKeywordsInStatesAndRegions.in.exit)
  210. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  211. assert active(STextKeywordsInStatesAndRegions.var.valueof) //x
  212. assert active(STextKeywordsInStatesAndRegions.readonly.active)
  213. assert active(STextKeywordsInStatesAndRegions.external.interface)
  214. assert active(STextKeywordsInStatesAndRegions.else.event)
  215. assert active(STextKeywordsInStatesAndRegions.entry.in)
  216. assert active(STextKeywordsInStatesAndRegions.exit.var)
  217. assert active(STextKeywordsInStatesAndRegions.always.external)
  218. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  219. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  220. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  221. assert active(STextKeywordsInStatesAndRegions.active.raise)
  222. raise e2
  223. cycle
  224. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  225. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  226. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  227. assert active(STextKeywordsInStatesAndRegions.local.out)
  228. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  229. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  230. assert active(STextKeywordsInStatesAndRegions.event.else)
  231. assert active(STextKeywordsInStatesAndRegions.in.exit)
  232. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  233. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  234. assert active(STextKeywordsInStatesAndRegions.readonly.namespace) //x
  235. assert active(STextKeywordsInStatesAndRegions.external.interface)
  236. assert active(STextKeywordsInStatesAndRegions.else.event)
  237. assert active(STextKeywordsInStatesAndRegions.entry.in)
  238. assert active(STextKeywordsInStatesAndRegions.exit.var)
  239. assert active(STextKeywordsInStatesAndRegions.always.external)
  240. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  241. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  242. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  243. assert active(STextKeywordsInStatesAndRegions.active.raise)
  244. raise e1
  245. cycle
  246. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  247. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  248. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  249. assert active(STextKeywordsInStatesAndRegions.local.out)
  250. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  251. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  252. assert active(STextKeywordsInStatesAndRegions.event.else)
  253. assert active(STextKeywordsInStatesAndRegions.in.exit)
  254. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  255. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  256. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  257. assert active(STextKeywordsInStatesAndRegions.external.internal) //x
  258. assert active(STextKeywordsInStatesAndRegions.else.event)
  259. assert active(STextKeywordsInStatesAndRegions.entry.in)
  260. assert active(STextKeywordsInStatesAndRegions.exit.var)
  261. assert active(STextKeywordsInStatesAndRegions.always.external)
  262. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  263. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  264. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  265. assert active(STextKeywordsInStatesAndRegions.active.raise)
  266. raise e2
  267. cycle
  268. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  269. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  270. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  271. assert active(STextKeywordsInStatesAndRegions.local.out)
  272. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  273. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  274. assert active(STextKeywordsInStatesAndRegions.event.else)
  275. assert active(STextKeywordsInStatesAndRegions.in.exit)
  276. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  277. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  278. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  279. assert active(STextKeywordsInStatesAndRegions.external.internal)
  280. assert active(STextKeywordsInStatesAndRegions.else.local) //x
  281. assert active(STextKeywordsInStatesAndRegions.entry.in)
  282. assert active(STextKeywordsInStatesAndRegions.exit.var)
  283. assert active(STextKeywordsInStatesAndRegions.always.external)
  284. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  285. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  286. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  287. assert active(STextKeywordsInStatesAndRegions.active.raise)
  288. raise e1
  289. cycle
  290. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  291. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  292. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  293. assert active(STextKeywordsInStatesAndRegions.local.out)
  294. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  295. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  296. assert active(STextKeywordsInStatesAndRegions.event.else)
  297. assert active(STextKeywordsInStatesAndRegions.in.exit)
  298. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  299. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  300. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  301. assert active(STextKeywordsInStatesAndRegions.external.internal)
  302. assert active(STextKeywordsInStatesAndRegions.else.local)
  303. assert active(STextKeywordsInStatesAndRegions.entry.out) //x
  304. assert active(STextKeywordsInStatesAndRegions.exit.var)
  305. assert active(STextKeywordsInStatesAndRegions.always.external)
  306. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  307. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  308. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  309. assert active(STextKeywordsInStatesAndRegions.active.raise)
  310. raise e2
  311. cycle
  312. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  313. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  314. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  315. assert active(STextKeywordsInStatesAndRegions.local.out)
  316. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  317. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  318. assert active(STextKeywordsInStatesAndRegions.event.else)
  319. assert active(STextKeywordsInStatesAndRegions.in.exit)
  320. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  321. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  322. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  323. assert active(STextKeywordsInStatesAndRegions.external.internal)
  324. assert active(STextKeywordsInStatesAndRegions.else.local)
  325. assert active(STextKeywordsInStatesAndRegions.entry.out)
  326. assert active(STextKeywordsInStatesAndRegions.exit.readonly) //x
  327. assert active(STextKeywordsInStatesAndRegions.always.external)
  328. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  329. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  330. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  331. assert active(STextKeywordsInStatesAndRegions.active.raise)
  332. raise e1
  333. cycle
  334. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  335. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  336. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  337. assert active(STextKeywordsInStatesAndRegions.local.out)
  338. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  339. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  340. assert active(STextKeywordsInStatesAndRegions.event.else)
  341. assert active(STextKeywordsInStatesAndRegions.in.exit)
  342. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  343. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  344. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  345. assert active(STextKeywordsInStatesAndRegions.external.internal)
  346. assert active(STextKeywordsInStatesAndRegions.else.local)
  347. assert active(STextKeywordsInStatesAndRegions.entry.out)
  348. assert active(STextKeywordsInStatesAndRegions.exit.readonly)
  349. assert active(STextKeywordsInStatesAndRegions.always.operation) //x
  350. assert active(STextKeywordsInStatesAndRegions.oncycle.default)
  351. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  352. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  353. assert active(STextKeywordsInStatesAndRegions.active.raise)
  354. raise e2
  355. cycle
  356. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  357. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  358. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  359. assert active(STextKeywordsInStatesAndRegions.local.out)
  360. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  361. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  362. assert active(STextKeywordsInStatesAndRegions.event.else)
  363. assert active(STextKeywordsInStatesAndRegions.in.exit)
  364. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  365. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  366. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  367. assert active(STextKeywordsInStatesAndRegions.external.internal)
  368. assert active(STextKeywordsInStatesAndRegions.else.local)
  369. assert active(STextKeywordsInStatesAndRegions.entry.out)
  370. assert active(STextKeywordsInStatesAndRegions.exit.readonly)
  371. assert active(STextKeywordsInStatesAndRegions.always.operation)
  372. assert active(STextKeywordsInStatesAndRegions.oncycle.else) //x
  373. assert active(STextKeywordsInStatesAndRegions.raise.entry)
  374. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  375. assert active(STextKeywordsInStatesAndRegions.active.raise)
  376. raise e1
  377. cycle
  378. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  379. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  380. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  381. assert active(STextKeywordsInStatesAndRegions.local.out)
  382. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  383. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  384. assert active(STextKeywordsInStatesAndRegions.event.else)
  385. assert active(STextKeywordsInStatesAndRegions.in.exit)
  386. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  387. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  388. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  389. assert active(STextKeywordsInStatesAndRegions.external.internal)
  390. assert active(STextKeywordsInStatesAndRegions.else.local)
  391. assert active(STextKeywordsInStatesAndRegions.entry.out)
  392. assert active(STextKeywordsInStatesAndRegions.exit.readonly)
  393. assert active(STextKeywordsInStatesAndRegions.always.operation)
  394. assert active(STextKeywordsInStatesAndRegions.oncycle.else)
  395. assert active(STextKeywordsInStatesAndRegions.raise.exit) //x
  396. assert active(STextKeywordsInStatesAndRegions.valueof.always)
  397. assert active(STextKeywordsInStatesAndRegions.active.raise)
  398. raise e2
  399. cycle
  400. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  401. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  402. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  403. assert active(STextKeywordsInStatesAndRegions.local.out)
  404. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  405. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  406. assert active(STextKeywordsInStatesAndRegions.event.else)
  407. assert active(STextKeywordsInStatesAndRegions.in.exit)
  408. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  409. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  410. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  411. assert active(STextKeywordsInStatesAndRegions.external.internal)
  412. assert active(STextKeywordsInStatesAndRegions.else.local)
  413. assert active(STextKeywordsInStatesAndRegions.entry.out)
  414. assert active(STextKeywordsInStatesAndRegions.exit.readonly)
  415. assert active(STextKeywordsInStatesAndRegions.always.operation)
  416. assert active(STextKeywordsInStatesAndRegions.oncycle.else)
  417. assert active(STextKeywordsInStatesAndRegions.raise.exit)
  418. assert active(STextKeywordsInStatesAndRegions.valueof.oncycle) //x
  419. assert active(STextKeywordsInStatesAndRegions.active.raise)
  420. raise e1
  421. cycle
  422. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  423. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  424. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  425. assert active(STextKeywordsInStatesAndRegions.local.out)
  426. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  427. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  428. assert active(STextKeywordsInStatesAndRegions.event.else)
  429. assert active(STextKeywordsInStatesAndRegions.in.exit)
  430. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  431. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  432. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  433. assert active(STextKeywordsInStatesAndRegions.external.internal)
  434. assert active(STextKeywordsInStatesAndRegions.else.local)
  435. assert active(STextKeywordsInStatesAndRegions.entry.out)
  436. assert active(STextKeywordsInStatesAndRegions.exit.readonly)
  437. assert active(STextKeywordsInStatesAndRegions.always.operation)
  438. assert active(STextKeywordsInStatesAndRegions.oncycle.else)
  439. assert active(STextKeywordsInStatesAndRegions.raise.exit)
  440. assert active(STextKeywordsInStatesAndRegions.valueof.oncycle)
  441. assert active(STextKeywordsInStatesAndRegions.active.valueof) //x
  442. raise e2
  443. cycle
  444. assert active(STextKeywordsInStatesAndRegions.default.namespace)
  445. assert active(STextKeywordsInStatesAndRegions.operation.internal)
  446. assert active(STextKeywordsInStatesAndRegions.namespace.local)
  447. assert active(STextKeywordsInStatesAndRegions.local.out)
  448. assert active(STextKeywordsInStatesAndRegions.interface.readonly)
  449. assert active(STextKeywordsInStatesAndRegions.internal.operation)
  450. assert active(STextKeywordsInStatesAndRegions.event.else)
  451. assert active(STextKeywordsInStatesAndRegions.in.exit)
  452. assert active(STextKeywordsInStatesAndRegions.out.oncycle)
  453. assert active(STextKeywordsInStatesAndRegions.var.valueof)
  454. assert active(STextKeywordsInStatesAndRegions.readonly.namespace)
  455. assert active(STextKeywordsInStatesAndRegions.external.internal)
  456. assert active(STextKeywordsInStatesAndRegions.else.local)
  457. assert active(STextKeywordsInStatesAndRegions.entry.out)
  458. assert active(STextKeywordsInStatesAndRegions.exit.readonly)
  459. assert active(STextKeywordsInStatesAndRegions.always.operation)
  460. assert active(STextKeywordsInStatesAndRegions.oncycle.else)
  461. assert active(STextKeywordsInStatesAndRegions.raise.exit)
  462. assert active(STextKeywordsInStatesAndRegions.valueof.oncycle)
  463. assert active(STextKeywordsInStatesAndRegions.active.valueof) //x stay
  464. }
  465. }