Research Article
Synthesis of Test Scenarios Using UML Sequence Diagrams
Procedure 4
Function ComposeRegion.
Input: β : The input graph | ββ: The current node to be inspected | Output: β : The trailer node | 1:β ββββ// Takes | ββcare of nested regions | 2:β if β then | 3:ββ ββββ// Do | βββ the composition following composition rules | 4:ββ ββββ// Update with CCG at | 5:β else // Indicates a nested region is found | 6:ββ ββββ// is the entry node | 7:ββ | 8:ββ ββββ | ββββββββ// recursively repeat the composition | 9:β end if | 10:β returnβ | Function ComposeRegion(G, RegionFound) |
|