|
@@ -318,9 +318,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
]),
|
|
|
"",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
set(model_full_list) |
|
|
@@ -388,9 +388,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
]),
|
|
|
"",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
set([" 200 root nobody [ModelTransformation] PetriNets_Print : PetriNets_RAM"
|
|
@@ -464,22 +464,20 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
"Supported metamodels:",
|
|
|
set([" PetriNets",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
set([" 200 root nobody [ModelTransformation] PetriNets_Print : PetriNets_RAM"
|
|
|
]),
|
|
|
"Ready for command...",
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
set(['"p1" --> 1',
|
|
|
'"p2" --> 2',
|
|
|
'"p3" --> 3',
|
|
|
]),
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
]))
|
|
|
|
|
@@ -689,10 +687,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -701,10 +698,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -713,10 +709,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -725,10 +720,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# model_list
|
|
@@ -752,39 +746,34 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_print)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
set(['"p1" --> 1',
|
|
|
'"p2" --> 2',
|
|
|
'"p3" --> 3',
|
|
|
]),
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_design_to_runtime)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
"Which model to create for target element PetriNets_Runtime",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_step)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets_Runtime",
|
|
|
+ "Which model to bind for source type PetriNets_Runtime",
|
|
|
"Which model to create for target element PetriNets_Runtime",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_runtime_to_design)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets_Runtime",
|
|
|
+ "Which model to bind for source type PetriNets_Runtime",
|
|
|
"Which model to create for target element PetriNets",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_print)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
set(['"p1" --> 0',
|
|
|
'"p2" --> 1',
|
|
|
'"p3" --> 5',
|
|
|
]),
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
]))
|
|
|
|
|
@@ -794,23 +783,20 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
return [ \
|
|
|
# transformation_execute (pn_step)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets_Runtime",
|
|
|
+ "Which model to bind for source type PetriNets_Runtime",
|
|
|
"Which model to create for target element PetriNets_Runtime",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_runtime_to_design)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets_Runtime",
|
|
|
+ "Which model to bind for source type PetriNets_Runtime",
|
|
|
"Which model to create for target element PetriNets",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_print)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
None,
|
|
|
None,
|
|
|
None,
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
]
|
|
|
|
|
@@ -1007,10 +993,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -1019,10 +1004,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -1031,10 +1015,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -1043,10 +1026,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# model_list
|
|
@@ -1070,18 +1052,16 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_print)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
set(['"lock_available" --> 1',
|
|
|
'"critical_section_1" --> 0',
|
|
|
'"critical_section_2" --> 0',
|
|
|
]),
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_design_to_runtime)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
"Which model to create for target element PetriNets_Runtime",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
] + \
|
|
|
step_and_print() * 10 +
|
|
@@ -1278,10 +1258,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -1290,16 +1269,15 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_AL
|
|
|
- "Which metamodels do you want to use as source for the action code (empty string to finish)?",
|
|
|
- "Which metamodels do you want to use as target for the action code (empty string to finish)?",
|
|
|
- "Name of Action Language model?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of operation model?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -1308,10 +1286,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# model_list
|
|
@@ -1335,38 +1312,34 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_print)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
set(['"p1" --> 1',
|
|
|
'"p2" --> 2',
|
|
|
'"p3" --> 3',
|
|
|
]),
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_design_to_runtime)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
"Which model to create for target element PetriNets_Runtime",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_step)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets_Runtime",
|
|
|
+ "Which model to bind for source type PetriNets_Runtime",
|
|
|
"Which model to create for target element PetriNets_Runtime",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_runtime_to_design)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets_Runtime",
|
|
|
+ "Which model to bind for source type PetriNets_Runtime",
|
|
|
"Which model to create for target element PetriNets",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_print)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
set(['"p1" --> 0',
|
|
|
'"p2" --> 1',
|
|
|
'"p3" --> 5',
|
|
|
]),
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
]))
|
|
|
|
|
@@ -1575,9 +1548,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
"Where do you want to store the RAMified metamodel?",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MANUAL
|
|
|
- "Which metamodels do you want to use as source for the manual operation (empty string to finish)?",
|
|
|
- "Which metamodels do you want to use as target for the manual operation (empty string to finish)?",
|
|
|
- "Name of Manual operation model?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of operation model?",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
|
"RAMified metamodel to use?",
|
|
@@ -1585,10 +1558,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -1597,10 +1569,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
@@ -1609,10 +1580,9 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
set([" PetriNets",
|
|
|
" PetriNets_Runtime",
|
|
|
]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# model_list
|
|
@@ -1637,16 +1607,15 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_print)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
set(['"p1" --> 1',
|
|
|
'"p2" --> 2',
|
|
|
'"p3" --> 3',
|
|
|
]),
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_design_to_runtime)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
"Which model to create for target element PetriNets_Runtime",
|
|
|
"Model loaded, ready for commands!",
|
|
|
"Use 'help' command for a list of possible commands",
|
|
@@ -1745,24 +1714,21 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_step)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets_Runtime",
|
|
|
+ "Which model to bind for source type PetriNets_Runtime",
|
|
|
"Which model to create for target element PetriNets_Runtime",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_runtime_to_design)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets_Runtime",
|
|
|
+ "Which model to bind for source type PetriNets_Runtime",
|
|
|
"Which model to create for target element PetriNets",
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
# transformation_execute (pn_print)
|
|
|
"Which transformation do you want to execute?",
|
|
|
- "Which model to bind for source element PetriNets",
|
|
|
+ "Which model to bind for source type PetriNets",
|
|
|
set(['"p1" --> 0',
|
|
|
'"p2" --> 1',
|
|
|
'"p3" --> 5',
|
|
|
]),
|
|
|
- "Transformation executed with result: True",
|
|
|
"Ready for command...",
|
|
|
]))
|
|
|
|
|
@@ -1891,31 +1857,29 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
"RAMified metamodel to use?",
|
|
|
"Supported metamodels:",
|
|
|
set([" PetriNet",]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MANUAL
|
|
|
- "Which metamodels do you want to use as source for the manual operation (empty string to finish)?",
|
|
|
- "Which metamodels do you want to use as target for the manual operation (empty string to finish)?",
|
|
|
- "Name of Manual operation model?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of operation model?",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_AL
|
|
|
- "Which metamodels do you want to use as source for the action code (empty string to finish)?",
|
|
|
- "Which metamodels do you want to use as target for the action code (empty string to finish)?",
|
|
|
- "Name of Action Language model?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of operation model?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# transformation_add_MT
|
|
|
"RAMified metamodel to use?",
|
|
|
"Supported metamodels:",
|
|
|
set([" ReachabilityGraph",]),
|
|
|
- "",
|
|
|
- "Which ones do you want to use as source (empty string to finish)?",
|
|
|
- "Which ones do you want to use as target (empty string to finish)?",
|
|
|
- "Name of new transformation?",
|
|
|
+ "Which metamodels do you want to use as source for the operation (empty string to finish)?",
|
|
|
+ "Which metamodels do you want to use as target for the operation (empty string to finish)?",
|
|
|
+ "Name of new operation?",
|
|
|
"Waiting for model constructors...",
|
|
|
"Ready for command...",
|
|
|
# model_add
|
|
@@ -1940,12 +1904,13 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
" __merged_PetriNet_RAM : SimpleClassDiagrams",
|
|
|
" __merged_ReachabilityGraph_RAM : SimpleClassDiagrams",
|
|
|
" __merged_refine_PN : SimpleClassDiagrams",
|
|
|
+ " __merged_reachability : SimpleClassDiagrams",
|
|
|
]),
|
|
|
"Ready for command...",
|
|
|
# process_execute
|
|
|
"Which process model do you want to execute?",
|
|
|
"Model prefix to use?",
|
|
|
- "Please perform manual transformation \"refine_PN\"",
|
|
|
+ "Please perform manual operation \"refine_PN\"",
|
|
|
"Model loaded, ready for commands!",
|
|
|
"Use 'help' command for a list of possible commands",
|
|
|
"Please give your command.",
|
|
@@ -2009,6 +1974,7 @@ class TestModelverseCore(unittest.TestCase):
|
|
|
" __merged_PetriNet_RAM : SimpleClassDiagrams",
|
|
|
" __merged_ReachabilityGraph_RAM : SimpleClassDiagrams",
|
|
|
" __merged_refine_PN : SimpleClassDiagrams",
|
|
|
+ " __merged_reachability : SimpleClassDiagrams",
|
|
|
]),
|
|
|
"Ready for command...",
|
|
|
]))
|