|
@@ -109,6 +109,87 @@ class TestModelverse(unittest.TestCase):
|
|
|
verify_clean()
|
|
|
pass
|
|
|
|
|
|
+ def test_op_model_list(self):
|
|
|
+ assert model_list("") == set(["formalisms/",
|
|
|
+ "models/",
|
|
|
+ "administration/",
|
|
|
+ "type mappings/",
|
|
|
+ "users/",
|
|
|
+ "test/",
|
|
|
+ ])
|
|
|
+ assert model_list("formalisms") == set(["SimpleClassDiagrams",
|
|
|
+ "ActionLanguage",
|
|
|
+ "TypeMapping",
|
|
|
+ "Tracability",
|
|
|
+ "ProcessModel",
|
|
|
+ "ManualOperation",
|
|
|
+ "Bottom",
|
|
|
+ ])
|
|
|
+ assert model_list("formalisms/") == set(["SimpleClassDiagrams",
|
|
|
+ "ActionLanguage",
|
|
|
+ "TypeMapping",
|
|
|
+ "Tracability",
|
|
|
+ "ProcessModel",
|
|
|
+ "ManualOperation",
|
|
|
+ "Bottom",
|
|
|
+ ])
|
|
|
+
|
|
|
+ """
|
|
|
+ def test_op_model_add(self):
|
|
|
+ def test_op_model_move(self):
|
|
|
+ def test_op_model_delete(self):
|
|
|
+ def test_op_model_list_full(self):
|
|
|
+ def test_op_verify(self):
|
|
|
+ def test_op_model_overwrite(self):
|
|
|
+ def test_op_user_delete(self):
|
|
|
+ def test_op_model_render(self):
|
|
|
+ def test_op_transformation_between(self):
|
|
|
+ def test_op_transformation_add_MT(self):
|
|
|
+ def test_op_transformation_add_AL(self):
|
|
|
+ def test_op_transformation_add_MANUAL(self):
|
|
|
+ def test_op_transformation_execute_MT(self):
|
|
|
+ def test_op_transformation_execute_AL(self):
|
|
|
+ def test_op_transformation_execute_MANUAL(self):
|
|
|
+ def test_op_transformation_signature(self):
|
|
|
+ def test_op_process_signature(self):
|
|
|
+ def test_op_permission_modify(self):
|
|
|
+ def test_op_permission_group(self):
|
|
|
+ def test_op_permission_owner(self):
|
|
|
+ def test_op_group_create(self):
|
|
|
+ def test_op_group_delete(self):
|
|
|
+ def test_op_group_owner_add(self):
|
|
|
+ def test_op_group_owner_delete(self):
|
|
|
+ def test_op_group_join(self):
|
|
|
+ def test_op_group_kick(self):
|
|
|
+ def test_op_group_list(self):
|
|
|
+ def test_op_admin_promote(self):
|
|
|
+ def test_op_admin_demote(self):
|
|
|
+ def test_op_conformance_delete(self):
|
|
|
+ def test_op_conformance_add(self):
|
|
|
+ def test_op_folder_create(self):
|
|
|
+ def test_op_model_types(self):
|
|
|
+ def test_op_alter_context(self):
|
|
|
+ def test_op_element_list(self):
|
|
|
+ def test_op_element_list_nice(self):
|
|
|
+ def test_op_types(self):
|
|
|
+ def test_op_types_full(self):
|
|
|
+ def test_op_read_info(self):
|
|
|
+ def test_op_read_attrs(self):
|
|
|
+ def test_op_instantiate(self):
|
|
|
+ def test_op_delete_element(self):
|
|
|
+ def test_op_attr_assign(self):
|
|
|
+ def test_op_attr_assign_code(self):
|
|
|
+ def test_op_attr_delete(self):
|
|
|
+ def test_op_AL_text(self):
|
|
|
+ def test_op_read_outgoing(self):
|
|
|
+ def test_op_read_incoming(self):
|
|
|
+ def test_op_read_association_source(self):
|
|
|
+ def test_op_read_association_destination(self):
|
|
|
+ def test_op_conections_between(self):
|
|
|
+ def test_op_define_attribute(self):
|
|
|
+ def test_op_all_instances(self):
|
|
|
+ """
|
|
|
+
|
|
|
def test_list_full(self):
|
|
|
assert model_list_full("") == set([("formalisms/", "admin", "admin", "221"),
|
|
|
("models/", "admin", "admin", "221"),
|