StextKeywordsInStatesAndRegions.sctunit 27 KB

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