diff options
author | Vincent Lorenzo | 2017-01-13 17:01:37 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2017-02-03 15:10:02 +0000 |
commit | 0a0abdc40faa95f6e3f8da3e783b057a0d57ddad (patch) | |
tree | e62edfb7cdc5a94b784bed9e5509ab36a7931607 /tests/junit/extraplugins | |
parent | a09dbfb5d898e05bfaa327390455285bc8d4cbca (diff) | |
download | org.eclipse.papyrus-0a0abdc40faa95f6e3f8da3e783b057a0d57ddad.tar.gz org.eclipse.papyrus-0a0abdc40faa95f6e3f8da3e783b057a0d57ddad.tar.xz org.eclipse.papyrus-0a0abdc40faa95f6e3f8da3e783b057a0d57ddad.zip |
Bug 496176: [Importer][Rhapsody] Papyrus must provide a tool to import Rhapsody SysML Model into Papyrus.
Contribute to the JUnit Tests framework for Rhapsody SysML Migration Tools
Change-Id: Iad158b53a918842b566f753deb30bf2b7f2adb4d
Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
Diffstat (limited to 'tests/junit/extraplugins')
87 files changed, 10643 insertions, 0 deletions
diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.classpath b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.classpath new file mode 100644 index 00000000000..eca7bdba8f0 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.gitignore b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.gitignore new file mode 100644 index 00000000000..d8f7cdcce95 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.gitignore @@ -0,0 +1,2 @@ +/bin/ +/output/ diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.project b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.project new file mode 100644 index 00000000000..45718a34c29 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.project @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.migration.rhapsody.sysml.tests</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> + </natures> +</projectDescription> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.jdt.core.prefs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000000..b3aa6d60f94 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,291 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=260 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=false +org.eclipse.jdt.core.formatter.join_wrapped_lines=false +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=260 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=5 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.jdt.ui.prefs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 00000000000..954281dbc31 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,68 @@ +cleanup.add_default_serial_version_id=true +cleanup.add_generated_serial_version_id=false +cleanup.add_missing_annotations=true +cleanup.add_missing_deprecated_annotations=true +cleanup.add_missing_methods=false +cleanup.add_missing_nls_tags=false +cleanup.add_missing_override_annotations=true +cleanup.add_missing_override_annotations_interface_methods=true +cleanup.add_serial_version_id=false +cleanup.always_use_blocks=true +cleanup.always_use_parentheses_in_expressions=false +cleanup.always_use_this_for_non_static_field_access=false +cleanup.always_use_this_for_non_static_method_access=false +cleanup.convert_functional_interfaces=false +cleanup.convert_to_enhanced_for_loop=false +cleanup.correct_indentation=false +cleanup.format_source_code=false +cleanup.format_source_code_changes_only=false +cleanup.insert_inferred_type_arguments=false +cleanup.make_local_variable_final=true +cleanup.make_parameters_final=false +cleanup.make_private_fields_final=true +cleanup.make_type_abstract_if_missing_method=false +cleanup.make_variable_declarations_final=false +cleanup.never_use_blocks=false +cleanup.never_use_parentheses_in_expressions=true +cleanup.organize_imports=false +cleanup.qualify_static_field_accesses_with_declaring_class=false +cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +cleanup.qualify_static_member_accesses_with_declaring_class=true +cleanup.qualify_static_method_accesses_with_declaring_class=false +cleanup.remove_private_constructors=true +cleanup.remove_redundant_type_arguments=true +cleanup.remove_trailing_whitespaces=true +cleanup.remove_trailing_whitespaces_all=true +cleanup.remove_trailing_whitespaces_ignore_empty=false +cleanup.remove_unnecessary_casts=true +cleanup.remove_unnecessary_nls_tags=true +cleanup.remove_unused_imports=true +cleanup.remove_unused_local_variables=false +cleanup.remove_unused_private_fields=true +cleanup.remove_unused_private_members=false +cleanup.remove_unused_private_methods=true +cleanup.remove_unused_private_types=true +cleanup.sort_members=false +cleanup.sort_members_all=false +cleanup.use_anonymous_class_creation=false +cleanup.use_blocks=true +cleanup.use_blocks_only_for_return_and_throw=false +cleanup.use_lambda=true +cleanup.use_parentheses_in_expressions=false +cleanup.use_this_for_non_static_field_access=false +cleanup.use_this_for_non_static_field_access_only_if_necessary=true +cleanup.use_this_for_non_static_method_access=false +cleanup.use_this_for_non_static_method_access_only_if_necessary=true +cleanup.use_type_arguments=false +cleanup_profile=_Papyrus +cleanup_settings_version=2 +eclipse.preferences.version=1 +formatter_profile=_Papyrus +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=java;javax;org;com; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor.\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*****************************************************************************\n * Copyright (c) ${year} CEA LIST and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n * CEA LIST - Initial API and implementation\n * \n *****************************************************************************/\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${see_to_target}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.pde.api.tools.prefs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.pde.api.tools.prefs new file mode 100644 index 00000000000..23fb95e120f --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/.settings/org.eclipse.pde.api.tools.prefs @@ -0,0 +1,98 @@ +ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error +ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error +API_USE_SCAN_FIELD_SEVERITY=Error +API_USE_SCAN_METHOD_SEVERITY=Error +API_USE_SCAN_TYPE_SEVERITY=Error +CLASS_ELEMENT_TYPE_ADDED_METHOD=Error +CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error +CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error +CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error +CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error +CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error +CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error +CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error +ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error +ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error +ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +FIELD_ELEMENT_TYPE_ADDED_VALUE=Error +FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error +FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error +FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error +FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error +FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error +FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error +FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error +ILLEGAL_EXTEND=Warning +ILLEGAL_IMPLEMENT=Warning +ILLEGAL_INSTANTIATE=Warning +ILLEGAL_OVERRIDE=Warning +ILLEGAL_REFERENCE=Warning +INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Ignore +INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error +INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error +INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error +INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error +INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +INVALID_ANNOTATION=Ignore +INVALID_JAVADOC_TAG=Ignore +INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Ignore +LEAK_EXTEND=Warning +LEAK_FIELD_DECL=Warning +LEAK_IMPLEMENT=Warning +LEAK_METHOD_PARAM=Warning +LEAK_METHOD_RETURN_TYPE=Warning +METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error +METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error +METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error +METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error +METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +MISSING_EE_DESCRIPTIONS=Error +TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error +UNUSED_PROBLEM_FILTERS=Warning +automatically_removed_unused_problem_filters=Enabled +eclipse.preferences.version=1 +incompatible_api_component_version=Error +incompatible_api_component_version_include_major_without_breaking_change=Disabled +incompatible_api_component_version_include_minor_without_api_change=Disabled +invalid_since_tag_version=Error +malformed_since_tag=Error +missing_since_tag=Warning +report_api_breakage_when_major_version_incremented=Disabled +report_resolution_errors_api_component=Warning diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/AllTests Import RPY.launch b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/AllTests Import RPY.launch new file mode 100755 index 00000000000..71a8f3cd534 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/AllTests Import RPY.launch @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig"> +<booleanAttribute key="append.args" value="true"/> +<booleanAttribute key="askclear" value="false"/> +<booleanAttribute key="automaticAdd" value="true"/> +<booleanAttribute key="automaticValidate" value="false"/> +<stringAttribute key="bootstrap" value=""/> +<stringAttribute key="checked" value="[NONE]"/> +<booleanAttribute key="clearConfig" value="true"/> +<booleanAttribute key="clearws" value="true"/> +<booleanAttribute key="clearwslog" value="false"/> +<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/> +<booleanAttribute key="default" value="true"/> +<booleanAttribute key="includeOptional" value="true"/> +<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> +<listEntry value="/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/AllTests.java"/> +</listAttribute> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> +<listEntry value="1"/> +</listAttribute> +<stringAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_ENCODING" value="UTF-8"/> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups"> +<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/> +</listAttribute> +<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> +<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> +<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> +<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/> +<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> +<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.papyrus.migration.rhapsody.sysml.tests.tests.AllTests"/> +<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/> +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.papyrus.migration.rhapsody.sysml.tests"/> +<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-DRhapsodyHome="C:\\ProgramData\\IBM\\Rational\\Rhapsody\\8.1.5\\Share" -ea"/> +<stringAttribute key="pde.version" value="3.3"/> +<stringAttribute key="product" value="org.eclipse.platform.ide"/> +<booleanAttribute key="run_in_ui_thread" value="true"/> +<booleanAttribute key="show_selected_only" value="false"/> +<booleanAttribute key="tracing" value="false"/> +<booleanAttribute key="useCustomFeatures" value="false"/> +<booleanAttribute key="useDefaultConfig" value="true"/> +<booleanAttribute key="useDefaultConfigArea" value="false"/> +<booleanAttribute key="useProduct" value="true"/> +</launchConfiguration> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/META-INF/MANIFEST.MF b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/META-INF/MANIFEST.MF new file mode 100755 index 00000000000..28b92247b0e --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/META-INF/MANIFEST.MF @@ -0,0 +1,23 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.migration.rhapsody.sysml.tests;singleton:=true +Bundle-Version: 0.7.0.qualifier +Bundle-Vendor: %Bundle-Vendor +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="4.12.0", + org.eclipse.osgi, + org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", + org.eclipse.jface, + org.eclipse.ui.workbench, + org.eclipse.papyrus.junit.utils;bundle-version="2.0.0", + org.eclipse.core.resources, + org.eclipse.uml2.uml;bundle-version="5.2.0", + org.eclipse.papyrus.sysml;bundle-version="1.2.0", + org.eclipse.papyrus.migration.rhapsody.tests;bundle-version="0.7.0", + org.eclipse.papyrus.migration.rhapsody;bundle-version="0.7.0", + org.eclipse.emf.compare;bundle-version="3.4.0" +Bundle-Description: %Bundle-Description +Bundle-Activator: org.eclipse.papyrus.migration.rhapsody.sysml.tests.Activator +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.papyrus.migration.rhapsody.sysml.tests.tests diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/OSGI-INF/l10n/bundle.properties b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000000..4f96cca3b84 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,4 @@ +#Properties file for org.eclipse.papyrus.migration.rhapsody.sysml.tests +Bundle-Vendor = Eclipse Modeling Project +Bundle-Name = Papyrus SysML Rhapsody Tests (Incubation) +Bundle-Description = This plugin provides tests for the import of SysML Model from Rhapsody into Papyrus.
\ No newline at end of file diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/about.html b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/about.html new file mode 100644 index 00000000000..dd3c089a94c --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>November 14, 2008</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/build.properties b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/build.properties new file mode 100644 index 00000000000..c084385b643 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/build.properties @@ -0,0 +1,8 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + resources/,\ + about.html,\ + OSGI-INF/ +src.includes = about.html diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/pom.xml b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/pom.xml new file mode 100644 index 00000000000..f76be303ac7 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus</groupId> + <artifactId>org.eclipse.papyrus.extra.tests.releng</artifactId> + <version>1.2.0-SNAPSHOT</version> + <relativePath>../../../../../../releng/extra-tests</relativePath> + </parent> + <groupId>org.eclipse.papyrus</groupId> + <artifactId>org.eclipse.papyrus.migration.rhapsody.sysml.tests</artifactId> + <version>0.7.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.PNG b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.PNG Binary files differnew file mode 100755 index 00000000000..a1dc587cd3d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.PNG diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.ehl b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.ehl new file mode 100644 index 00000000000..2c2ad5d70fe --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.ehl @@ -0,0 +1,3 @@ +[Op Calls] +[Events] +[Breakpoints] diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.rpw b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.rpw new file mode 100644 index 00000000000..80d16954473 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.rpw @@ -0,0 +1,96 @@ +I-Logix-RPY-Archive version 8.12.0 * 9728113 +{ CGEMdiWorkspace + - stubList = { IRPYRawContainer + - size = 0; + } + - isLoadOnDemand = 0; + - myViewsWithID = { IRPYRawContainer + - size = 2; + - value = + { CGEMdiDiagramParams + - _placement = { CCommon_WINDOWPLACEMENT + - m_nLength = 44; + - m_nFlags = 2; + - m_showCmd = 3; + - m_ptMinPositionX = -1; + - m_ptMinPositionY = -1; + - m_ptMaxPositionX = -8; + - m_ptMaxPositionY = -30; + - m_nLeft = 150; + - m_nTop = 150; + - m_nRight = 1805; + - m_nBottom = 1013; + } + - _wasOpenedOnCloseProject = 1; + - _theDiagram = { IHandle + - _m2Class = "IDiagram"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = "block_0"; + - _name = "block definition diagram_0"; + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + } + - _UpLeft = 1 -6 ; + - _DownRight = 1754 1039 ; + - _instanceName = ""; + - m_nDiagramIndex = 1; + - m_bIsActiveView = 1; + } + { CGEMdiDiagramParams + - _placement = { CCommon_WINDOWPLACEMENT + - m_nLength = 44; + - m_nFlags = 0; + - m_showCmd = 1; + - m_ptMinPositionX = -1; + - m_ptMinPositionY = -1; + - m_ptMaxPositionX = -8; + - m_ptMaxPositionY = -30; + - m_nLeft = 125; + - m_nTop = 125; + - m_nRight = 1780; + - m_nBottom = 988; + } + - _wasOpenedOnCloseProject = 1; + - _theDiagram = { IHandle + - _m2Class = "IDiagram"; + - _filename = ""; + - _subsystem = ""; + - _class = ""; + - _name = "Model1"; + - _id = GUID eca2ba6b-dd91-4498-b6ed-c518f08a426b; + } + - _UpLeft = 0 0 ; + - _DownRight = 1618 804 ; + - _instanceName = ""; + - m_nDiagramIndex = 2; + - m_bIsActiveView = 0; + } + } + - _fullName = "D:\\git\\oxygen\\rpy\\org.eclipse.papyrus\\tests\\junit\\extraplugins\\migration\\rhapsody\\org.eclipse.papyrus.migration.rhapsody.sysml.tests\\resources\\AssociationLabelInBDD\\AssociationLabelInBDD"; + - m_SearchScopeList = { IRPYRawContainer + - size = 0; + } + - bUsingCustomBrowserView = 0; + - bUsingQueries = 0; + - bApplyOnDiagrams = 0; + - liQueryIDs = { IRPYRawContainer + - size = 0; + } + - liElementTypes = { IRPYRawContainer + - size = 0; + } + - mapOslcRmCollections = { IRPYRawContainer + - size = 0; + } + + - m_favoritesTree = { + count=1; + { - favoritesItem + generation = 0; + name = Favorites; + idOrFolder = folder; + } + } + +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.rpy b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.rpy new file mode 100644 index 00000000000..e62e8237400 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.rpy @@ -0,0 +1,313 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ IProject + - _id = GUID f51b65e6-ea56-4d78-a664-6a9267bef838; + - _myState = 8192; + - _name = "AssociationLabelInBDD"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML"; + - _class = ""; + - _name = "SysML"; + - _id = GUID 052b8171-a32b-4f45-a829-5585f79f9deb; + } + } + - _modifiedTimeWeak = 10.7.2016::12:48:29; + - _UserColors = { IRPYRawContainer + - size = 16; + - value = 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; + } + - _defaultSubsystem = { ISubsystemHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID ba0065d3-97fa-4942-afb7-c05356f7957e; + } + - _component = { IHandle + - _m2Class = "IComponent"; + - _filename = "DefaultComponent.cmp"; + - _subsystem = ""; + - _class = ""; + - _name = "DefaultComponent"; + - _id = GUID fe403338-0f01-4054-a864-28fdb9591e5d; + } + - Multiplicities = { IRPYRawContainer + - size = 4; + - value = + { IMultiplicityItem + - _name = "1"; + - _count = -1; + } + { IMultiplicityItem + - _name = "*"; + - _count = -1; + } + { IMultiplicityItem + - _name = "0,1"; + - _count = -1; + } + { IMultiplicityItem + - _name = "1..*"; + - _count = -1; + } + } + - Subsystems = { IRPYRawContainer + - size = 3; + - value = + { ISubsystem + - fileName = "Default"; + - _id = GUID ba0065d3-97fa-4942-afb7-c05356f7957e; + } + { IProfile + - fileName = "SysML"; + - _persistAs = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy"; + - _id = GUID d9689b73-885e-44c4-896b-de43defa0a33; + - _isReference = 1; + } + { IProfile + - fileName = "SysMLPerspectives"; + - _persistAs = "$OMROOT\\Settings\\SysMLPerspectives"; + - _id = GUID ab285915-0966-4322-a029-ffac3e6ef3df; + - _isReference = 1; + } + } + - Diagrams = { IRPYRawContainer + - size = 1; + - value = + { IDiagram + - _id = GUID eca2ba6b-dd91-4498-b6ed-c518f08a426b; + - _myState = 8192; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "Format"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "DiagramFrame"; + - Properties = { IRPYRawContainer + - size = 8; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "20,20,590,500"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "247,247,247"; + - _Type = Color; + } + { IProperty + - _Name = "Fill.Transparent_Fill"; + - _Value = "0"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "194,192,192"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + } + } + } + } + - _name = "Model1"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Diagrams"; + - _class = ""; + - _name = "Block Definition Diagram"; + - _id = GUID 6c142614-3349-49e9-8c6b-0236be5f6b61; + } + } + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - _lastModifiedTime = "10.7.2016::12:48:29"; + - _graphicChart = { CGIClassChart + - _id = GUID c669454a-c9e3-41fc-92cd-2de8c09ceda4; + - m_type = 0; + - m_pModelObject = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID eca2ba6b-dd91-4498-b6ed-c518f08a426b; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - elementList = 2; + { CGIClass + - _id = GUID 3ea6f457-2ffa-4c66-aafb-8c0722c22fe8; + - m_type = 78; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "TopLevel"; + - _id = GUID f64950d9-f4d9-4026-a95c-d2d8157d2df5; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = "TopLevel"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIDiagramFrame + - _id = GUID e0d87cf0-e7b6-44ba-ba2a-3d26892eb45c; + - m_type = 203; + - m_pModelObject = { IHandle + - _m2Class = ""; + } + - m_pParent = GUID 3ea6f457-2ffa-4c66-aafb-8c0722c22fe8; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_transform = 2.63889 0 0 3.63636 20 20 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 132 216 132 216 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + + - m_access = 'Z'; + - m_modified = 'N'; + - m_fileVersion = ""; + - m_nModifyDate = 0; + - m_nCreateDate = 0; + - m_creator = ""; + - m_bScaleWithZoom = 1; + - m_arrowStyle = 'S'; + - m_pRoot = GUID 3ea6f457-2ffa-4c66-aafb-8c0722c22fe8; + - m_currentLeftTop = 0 0 ; + - m_currentRightBottom = 0 0 ; + - m_bFreezeCompartmentContent = 0; + } + - _defaultSubsystem = { IHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID ba0065d3-97fa-4942-afb7-c05356f7957e; + } + } + } + - Components = { IRPYRawContainer + - size = 1; + - value = + { IComponent + - fileName = "DefaultComponent"; + - _id = GUID fe403338-0f01-4054-a864-28fdb9591e5d; + } + } +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.save b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.save new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD.save diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/Default.sbs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/Default.sbs new file mode 100644 index 00000000000..501e5df5b0d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/Default.sbs @@ -0,0 +1,1833 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ ISubsystem + - _id = GUID ba0065d3-97fa-4942-afb7-c05356f7957e; + - _myState = 8192; + - _name = "Default"; + - _modifiedTimeWeak = 10.7.2016::12:49:25; + - _lastID = 13; + - weakCGTime = 10.7.2016::12:49:25; + - strongCGTime = 1.2.1990::0:0:0; + - _defaultComposite = GUID f64950d9-f4d9-4026-a95c-d2d8157d2df5; + - _eventsBaseID = -1; + - Classes = { IRPYRawContainer + - size = 8; + - value = + { IClass + - _id = GUID f64950d9-f4d9-4026-a95c-d2d8157d2df5; + - _myState = 40960; + - _name = "TopLevel"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - weakCGTime = 1.2.1990::0:0:0; + - strongCGTime = 1.2.1990::0:0:0; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + { IClass + - _id = GUID 35a54e72-adff-49ad-8353-dc383070332f; + - _myState = 10240; + - _name = "block_0"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "Block"; + - _id = GUID f685432f-691e-4ff1-be70-4d09d19457e1; + } + } + - _modifiedTimeWeak = 10.7.2016::12:48:48; + - _lastID = 1; + - Declaratives = { IRPYRawContainer + - size = 1; + - value = + { IDiagram + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + - _myState = 10240; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "Format"; + - Metaclasses = { IRPYRawContainer + - size = 3; + - value = + { IPropertyMetaclass + - _Name = "Association"; + - Properties = { IRPYRawContainer + - size = 4; + - value = + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "128,128,128"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + { IPropertyMetaclass + - _Name = "Class"; + - Properties = { IRPYRawContainer + - size = 8; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "0,34,84,148"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "255,255,255"; + - _Type = Color; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "109,163,217"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineStyle"; + - _Value = "0"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + { IPropertyMetaclass + - _Name = "DiagramFrame"; + - Properties = { IRPYRawContainer + - size = 8; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "20,20,590,500"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "247,247,247"; + - _Type = Color; + } + { IProperty + - _Name = "Fill.Transparent_Fill"; + - _Value = "0"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "194,192,192"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + } + } + } + } + - _name = "block definition diagram_0"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Diagrams"; + - _class = ""; + - _name = "Block Definition Diagram"; + - _id = GUID 6c142614-3349-49e9-8c6b-0236be5f6b61; + } + } + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - _lastModifiedTime = "10.7.2016::12:50:15"; + - _graphicChart = { CGIClassChart + - _id = GUID 13997dc7-83e0-4ec9-87a0-7b03bb70150f; + - m_type = 0; + - m_pModelObject = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - elementList = 11; + { CGIClass + - _id = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_type = 78; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _id = GUID f64950d9-f4d9-4026-a95c-d2d8157d2df5; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = "TopLevel"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIDiagramFrame + - _id = GUID 8a2cbaeb-45ee-4506-a0fe-674e92591c9b; + - m_type = 203; + - m_pModelObject = { IHandle + - _m2Class = ""; + } + - m_pParent = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_transform = 2.69444 0 0 3.78788 8 0 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 132 216 132 216 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + { CGIClass + - _id = GUID 73bb712a-2b3c-4602-919d-155024210555; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 2; + - value = + { IPropertyMetaclass + - _Name = "Block"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + { IPropertyMetaclass + - _Name = "Class"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 87; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _id = GUID 03471a00-835c-4171-8043-f651f32212cb; + } + - m_pParent = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_name = { CGIText + - m_str = "block_2"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 2056; + - m_transform = 0.0793201 0 0 0.101604 38.8414 -14.4278 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 2 329 2 1451 1061 1451 1061 329 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=50%,50%> +<frame name=AttributeListCompartment> +<frame name=OperationListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 2; + - value = + { CGICompartment + - _id = GUID 67ad6e62-96bb-44a6-babd-026bcacc315f; + - m_name = "Attribute"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + { CGICompartment + - _id = GUID 1e6664b7-4bea-44a2-9281-f2a69a42aef4; + - m_name = "Operation"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIClass + - _id = GUID d521ace8-14e3-4743-9ba2-f488eddb8302; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 2; + - value = + { IPropertyMetaclass + - _Name = "Block"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + { IPropertyMetaclass + - _Name = "Class"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 87; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _id = GUID 7d8cc169-ad0d-4080-adeb-d238bb442a4f; + } + - m_pParent = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_name = { CGIText + - m_str = "block_4"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 2056; + - m_transform = 0.0793201 0 0 0.101604 30.8414 100.572 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 2 329 2 1451 1061 1451 1061 329 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=50%,50%> +<frame name=AttributeListCompartment> +<frame name=OperationListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 2; + - value = + { CGICompartment + - _id = GUID 72589ee4-8e66-423e-bf69-ae7cc12013b7; + - m_name = "Attribute"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + { CGICompartment + - _id = GUID 3fc2a522-dc2c-49d6-98d6-4fa53a7386d4; + - m_name = "Operation"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIClass + - _id = GUID 801a8943-a67b-469f-9319-bd4686c7a5ae; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 2; + - value = + { IPropertyMetaclass + - _Name = "Block"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + { IPropertyMetaclass + - _Name = "Class"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 87; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _id = GUID 3e3cb68c-7785-43f6-b578-513096c60b74; + } + - m_pParent = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_name = { CGIText + - m_str = "block_6"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 2056; + - m_transform = 0.0793201 0 0 0.101604 17.8414 232.572 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 2 329 2 1451 1061 1451 1061 329 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=50%,50%> +<frame name=AttributeListCompartment> +<frame name=OperationListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 2; + - value = + { CGICompartment + - _id = GUID 76367929-04aa-42ad-beb1-cd8d0ffe9e6b; + - m_name = "Attribute"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + { CGICompartment + - _id = GUID 5543d5a3-52f1-4f2a-addd-c7b84fd89829; + - m_name = "Operation"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIClass + - _id = GUID adbfc005-ad1a-4dce-a3f0-00a27160d462; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 2; + - value = + { IPropertyMetaclass + - _Name = "Block"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + { IPropertyMetaclass + - _Name = "Class"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 87; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _id = GUID 9cc9b534-ff59-49f6-a19e-d7fa913d3d98; + } + - m_pParent = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_name = { CGIText + - m_str = "block_8"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 2056; + - m_transform = 0.0793201 0 0 0.101604 323.841 -33.4278 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 2 329 2 1451 1061 1451 1061 329 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=50%,50%> +<frame name=AttributeListCompartment> +<frame name=OperationListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 2; + - value = + { CGICompartment + - _id = GUID 596ba5a3-9330-49b3-9fe8-e948e59434fe; + - m_name = "Attribute"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + { CGICompartment + - _id = GUID 55b618b2-b703-46cd-accd-ca3236857feb; + - m_name = "Operation"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIClass + - _id = GUID a931e461-65b1-4b24-87f5-bddbc91967be; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 2; + - value = + { IPropertyMetaclass + - _Name = "Block"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + { IPropertyMetaclass + - _Name = "Class"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 87; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _id = GUID ea7e44f5-6cf2-474a-84fe-6a2576a87a46; + } + - m_pParent = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_name = { CGIText + - m_str = "block_10"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 2056; + - m_transform = 0.0793201 0 0 0.101604 281.841 130.572 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 2 329 2 1451 1061 1451 1061 329 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=50%,50%> +<frame name=AttributeListCompartment> +<frame name=OperationListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 2; + - value = + { CGICompartment + - _id = GUID 3f50b57f-a703-4f29-a13c-c06cc57b9cdc; + - m_name = "Attribute"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + { CGICompartment + - _id = GUID f8dfe623-59b5-426a-8dda-dbca69088a65; + - m_name = "Operation"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIClass + - _id = GUID 9ed7cce0-8380-4401-a5c9-2109eaf580c9; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 2; + - value = + { IPropertyMetaclass + - _Name = "Block"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + { IPropertyMetaclass + - _Name = "Class"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = ""; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 87; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _id = GUID 07cdc38f-fb9e-4260-8f95-06987641e2af; + } + - m_pParent = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_name = { CGIText + - m_str = "block_12"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 2056; + - m_transform = 0.0793201 0 0 0.101604 415.841 262.572 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 2 329 2 1451 1061 1451 1061 329 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=50%,50%> +<frame name=AttributeListCompartment> +<frame name=OperationListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 2; + - value = + { CGICompartment + - _id = GUID b3fe1429-0a43-416c-aae6-040414be4c27; + - m_name = "Attribute"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + { CGICompartment + - _id = GUID 29ca7a7e-36a8-4fee-8729-d3240f6fd71c; + - m_name = "Operation"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIAssociationEnd + - _id = GUID e9e92068-83e9-4639-8dde-3cde55dfc486; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "ShowLabels"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + } + } + - m_type = 92; + - m_pModelObject = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID a558b7ad-9545-4720-b02a-d3587c4ca77f; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_bIsPreferencesInitialized = 1; + - m_pSource = GUID 73bb712a-2b3c-4602-919d-155024210555; + - m_sourceType = 'F'; + - m_pTarget = GUID adbfc005-ad1a-4dce-a3f0-00a27160d462; + - m_targetType = 'T'; + - m_direction = ' '; + - m_rpn = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 7; + } + - m_arrow = 2 223 48 223 23 ; + - m_anglePoint1 = 0 0 ; + - m_anglePoint2 = 0 0 ; + - m_line_style = 2; + - m_SourcePort = 1061 614 ; + - m_TargetPort = 2 555 ; + - m_pInverseModelObject = { IAssociationEndHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID 3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3; + } + - m_pInstance = { IObjectLinkHandle + - _m2Class = ""; + } + - m_pInverseInstance = { IObjectLinkHandle + - _m2Class = ""; + } + - m_bShowSourceMultiplicity = 1; + - m_bShowSourceRole = 1; + - m_bShowTargetMultiplicity = 1; + - m_bShowTargetRole = 1; + - m_bShowLinkName = 1; + - m_bShowSpecificType = 0; + - m_bInstance = 0; + - m_bShowQualifier1 = 1; + - m_bShowQualifier2 = 1; + - m_sourceRole = { CGIText + - m_str = "itsBlock_2"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 2; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 0; + } + - m_targetRole = { CGIText + - m_str = "itsBlock_8"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 3; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 2; + } + - m_sourceMultiplicity = { CGIText + - m_str = "1"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 4; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 6; + } + - m_targetMultiplicity = { CGIText + - m_str = "1"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 5; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 4; + } + - m_sourceQualifier = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 6; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_targetQualifier = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 7; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_specificType = symmetric_type; + } + { CGIAssociationEnd + - _id = GUID 7bb6a4ec-13d2-458d-a0e5-d679cdf642a6; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "ShowLabels"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + } + } + - m_type = 92; + - m_pModelObject = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID 7aaf59da-e8f5-486a-b569-2d5f7d2f08ca; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_bIsPreferencesInitialized = 1; + - m_pSource = GUID d521ace8-14e3-4743-9ba2-f488eddb8302; + - m_sourceType = 'F'; + - m_pTarget = GUID a931e461-65b1-4b24-87f5-bddbc91967be; + - m_targetType = 'T'; + - m_direction = ' '; + - m_rpn = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 7; + } + - m_arrow = 2 198 173 198 246 ; + - m_anglePoint1 = 0 0 ; + - m_anglePoint2 = 0 0 ; + - m_line_style = 2; + - m_SourcePort = 1061 713 ; + - m_TargetPort = 2 1136 ; + - m_pInverseModelObject = { IAssociationEndHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID 4f9bf0b3-ab70-4abe-a25d-cc47793a433f; + } + - m_pInstance = { IObjectLinkHandle + - _m2Class = ""; + } + - m_pInverseInstance = { IObjectLinkHandle + - _m2Class = ""; + } + - m_bShowSourceMultiplicity = 1; + - m_bShowSourceRole = 1; + - m_bShowTargetMultiplicity = 0; + - m_bShowTargetRole = 0; + - m_bShowLinkName = 1; + - m_bShowSpecificType = 0; + - m_bInstance = 0; + - m_bShowQualifier1 = 0; + - m_bShowQualifier2 = 1; + - m_sourceRole = { CGIText + - m_str = "itsBlock_4"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 2; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 0; + } + - m_targetRole = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 3; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 2; + } + - m_sourceMultiplicity = { CGIText + - m_str = "1"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 4; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 6; + } + - m_targetMultiplicity = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 5; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 4; + } + - m_sourceQualifier = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 6; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_targetQualifier = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 7; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_specificType = symmetric_type; + } + { CGIAssociationEnd + - _id = GUID 5c979a95-9263-4761-ba39-c093eefda52a; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "ShowLabels"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + } + } + - m_type = 92; + - m_pModelObject = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID 1a2ad52a-4f33-4ba9-897f-d4351caa1c50; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_bIsPreferencesInitialized = 1; + - m_pSource = GUID 801a8943-a67b-469f-9319-bd4686c7a5ae; + - m_sourceType = 'F'; + - m_pTarget = GUID 9ed7cce0-8380-4401-a5c9-2109eaf580c9; + - m_targetType = 'T'; + - m_direction = ' '; + - m_rpn = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 7; + } + - m_arrow = 2 259 306 259 391 ; + - m_anglePoint1 = 0 0 ; + - m_anglePoint2 = 0 0 ; + - m_line_style = 2; + - m_SourcePort = 1061 723 ; + - m_TargetPort = 2 1264 ; + - m_pInverseModelObject = { IAssociationEndHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID ab20929c-ce81-4918-b605-f040f0cec7c7; + } + - m_pInstance = { IObjectLinkHandle + - _m2Class = ""; + } + - m_pInverseInstance = { IObjectLinkHandle + - _m2Class = ""; + } + - m_bShowSourceMultiplicity = 0; + - m_bShowSourceRole = 1; + - m_bShowTargetMultiplicity = 1; + - m_bShowTargetRole = 1; + - m_bShowLinkName = 1; + - m_bShowSpecificType = 0; + - m_bInstance = 0; + - m_bShowQualifier1 = 1; + - m_bShowQualifier2 = 1; + - m_sourceRole = { CGIText + - m_str = "itsBlock_6"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 2; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 0; + } + - m_targetRole = { CGIText + - m_str = "itsBlock_12"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 3; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 2; + } + - m_sourceMultiplicity = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 4; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 6; + } + - m_targetMultiplicity = { CGIText + - m_str = "1"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 5; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 4; + } + - m_sourceQualifier = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 6; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_targetQualifier = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 7; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_specificType = symmetric_type; + } + + - m_access = 'Z'; + - m_modified = 'N'; + - m_fileVersion = ""; + - m_nModifyDate = 0; + - m_nCreateDate = 0; + - m_creator = ""; + - m_bScaleWithZoom = 1; + - m_arrowStyle = 'S'; + - m_pRoot = GUID d7dc0859-1143-477c-a112-97a697cdf378; + - m_currentLeftTop = 0 0 ; + - m_currentRightBottom = 0 0 ; + - m_bFreezeCompartmentContent = 0; + } + - _defaultSubsystem = { IHandle + - _m2Class = "ISubsystem"; + - _id = GUID ba0065d3-97fa-4942-afb7-c05356f7957e; + } + } + } + - weakCGTime = 10.7.2016::12:48:48; + - strongCGTime = 10.7.2016::12:48:48; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + { IClass + - _id = GUID 03471a00-835c-4171-8043-f651f32212cb; + - _myState = 10240; + - _name = "block_2"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "Block"; + - _id = GUID f685432f-691e-4ff1-be70-4d09d19457e1; + } + } + - _modifiedTimeWeak = 10.7.2016::12:49:32; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + } + - weakCGTime = 10.7.2016::12:49:32; + - strongCGTime = 10.7.2016::12:49:9; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - Associations = { IRPYRawContainer + - size = 1; + - value = + { IAssociationEnd + - _id = GUID a558b7ad-9545-4720-b02a-d3587c4ca77f; + - _myState = 10240; + - _name = "itsBlock_8"; + - _modifiedTimeWeak = 10.7.2016::12:49:32; + - _multiplicity = "1"; + - _otherClass = { IClassifierHandle + - _m2Class = "IClass"; + - _id = GUID 9cc9b534-ff59-49f6-a19e-d7fa913d3d98; + } + - _inverse = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID 3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3; + } + - _linkName = ""; + - _linkType = Assoc; + - _navigability = Navigable; + } + } + - _classModifier = Unspecified; + } + { IClass + - _id = GUID 7d8cc169-ad0d-4080-adeb-d238bb442a4f; + - _myState = 10240; + - _name = "block_4"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "Block"; + - _id = GUID f685432f-691e-4ff1-be70-4d09d19457e1; + } + } + - _modifiedTimeWeak = 10.7.2016::12:49:37; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + } + - weakCGTime = 10.7.2016::12:49:37; + - strongCGTime = 10.7.2016::12:49:12; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - Associations = { IRPYRawContainer + - size = 1; + - value = + { IAssociationEnd + - _id = GUID 7aaf59da-e8f5-486a-b569-2d5f7d2f08ca; + - _myState = 10240; + - _name = "itsBlock_10"; + - _modifiedTimeWeak = 10.7.2016::12:49:37; + - _multiplicity = "1"; + - _otherClass = { IClassifierHandle + - _m2Class = "IClass"; + - _id = GUID ea7e44f5-6cf2-474a-84fe-6a2576a87a46; + } + - _inverse = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID 4f9bf0b3-ab70-4abe-a25d-cc47793a433f; + } + - _linkName = ""; + - _linkType = Assoc; + - _navigability = Navigable; + } + } + - _classModifier = Unspecified; + } + { IClass + - _id = GUID 3e3cb68c-7785-43f6-b578-513096c60b74; + - _myState = 10240; + - _name = "block_6"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "Block"; + - _id = GUID f685432f-691e-4ff1-be70-4d09d19457e1; + } + } + - _modifiedTimeWeak = 10.7.2016::12:49:44; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + } + - weakCGTime = 10.7.2016::12:49:44; + - strongCGTime = 10.7.2016::12:49:15; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - Associations = { IRPYRawContainer + - size = 1; + - value = + { IAssociationEnd + - _id = GUID 1a2ad52a-4f33-4ba9-897f-d4351caa1c50; + - _myState = 10240; + - _name = "itsBlock_12"; + - _modifiedTimeWeak = 10.7.2016::12:49:44; + - _multiplicity = "1"; + - _otherClass = { IClassifierHandle + - _m2Class = "IClass"; + - _id = GUID 07cdc38f-fb9e-4260-8f95-06987641e2af; + } + - _inverse = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID ab20929c-ce81-4918-b605-f040f0cec7c7; + } + - _linkName = ""; + - _linkType = Assoc; + - _navigability = Navigable; + } + } + - _classModifier = Unspecified; + } + { IClass + - _id = GUID 9cc9b534-ff59-49f6-a19e-d7fa913d3d98; + - _myState = 10240; + - _name = "block_8"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "Block"; + - _id = GUID f685432f-691e-4ff1-be70-4d09d19457e1; + } + } + - _modifiedTimeWeak = 10.7.2016::12:49:32; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + } + - weakCGTime = 10.7.2016::12:49:32; + - strongCGTime = 10.7.2016::12:49:20; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - Associations = { IRPYRawContainer + - size = 1; + - value = + { IAssociationEnd + - _id = GUID 3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3; + - _myState = 10240; + - _name = "itsBlock_2"; + - _modifiedTimeWeak = 10.7.2016::12:49:32; + - _multiplicity = "1"; + - _otherClass = { IClassifierHandle + - _m2Class = "IClass"; + - _id = GUID 03471a00-835c-4171-8043-f651f32212cb; + } + - _inverse = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID a558b7ad-9545-4720-b02a-d3587c4ca77f; + } + - _linkName = ""; + - _linkType = Assoc; + - _navigability = Navigable; + } + } + - _classModifier = Unspecified; + } + { IClass + - _id = GUID ea7e44f5-6cf2-474a-84fe-6a2576a87a46; + - _myState = 10240; + - _name = "block_10"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "Block"; + - _id = GUID f685432f-691e-4ff1-be70-4d09d19457e1; + } + } + - _modifiedTimeWeak = 10.7.2016::12:49:37; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + } + - weakCGTime = 10.7.2016::12:49:37; + - strongCGTime = 10.7.2016::12:49:23; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - Associations = { IRPYRawContainer + - size = 1; + - value = + { IAssociationEnd + - _id = GUID 4f9bf0b3-ab70-4abe-a25d-cc47793a433f; + - _myState = 10240; + - _name = "itsBlock_4"; + - _modifiedTimeWeak = 10.7.2016::12:49:37; + - _multiplicity = "1"; + - _otherClass = { IClassifierHandle + - _m2Class = "IClass"; + - _id = GUID 7d8cc169-ad0d-4080-adeb-d238bb442a4f; + } + - _inverse = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID 7aaf59da-e8f5-486a-b569-2d5f7d2f08ca; + } + - _linkName = ""; + - _linkType = Assoc; + - _navigability = Navigable; + } + } + - _classModifier = Unspecified; + } + { IClass + - _id = GUID 07cdc38f-fb9e-4260-8f95-06987641e2af; + - _myState = 10240; + - _name = "block_12"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "Block"; + - _id = GUID f685432f-691e-4ff1-be70-4d09d19457e1; + } + } + - _modifiedTimeWeak = 10.7.2016::12:49:44; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 736bd75c-1b60-46ed-9574-062a4e36d53c; + } + - weakCGTime = 10.7.2016::12:49:44; + - strongCGTime = 10.7.2016::12:49:25; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - Associations = { IRPYRawContainer + - size = 1; + - value = + { IAssociationEnd + - _id = GUID ab20929c-ce81-4918-b605-f040f0cec7c7; + - _myState = 10240; + - _name = "itsBlock_6"; + - _modifiedTimeWeak = 10.7.2016::12:49:44; + - _multiplicity = "1"; + - _otherClass = { IClassifierHandle + - _m2Class = "IClass"; + - _id = GUID 3e3cb68c-7785-43f6-b578-513096c60b74; + } + - _inverse = { IHandle + - _m2Class = "IAssociationEnd"; + - _id = GUID 1a2ad52a-4f33-4ba9-897f-d4351caa1c50; + } + - _linkName = ""; + - _linkType = Assoc; + - _navigability = Navigable; + } + } + - _classModifier = Unspecified; + } + } + - _configurationRelatedTime = 1.1.1970::1:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/DefaultComponent.cmp b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/DefaultComponent.cmp new file mode 100644 index 00000000000..a352c18bd34 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/DefaultComponent.cmp @@ -0,0 +1,115 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ IComponent + - _id = GUID fe403338-0f01-4054-a864-28fdb9591e5d; + - _myState = 139264; + - _name = "DefaultComponent"; + - _modifiedTimeWeak = 10.7.2016::12:48:29; + - m_buildType = Executable; + - m_libraries = ""; + - m_additionalSources = ""; + - m_standardHeaders = ""; + - m_includePath = ""; + - m_initializationCode = ""; + - m_folder = { IFolder + - _id = GUID 2a3965a7-6b3d-40f3-849c-eddc8195ea52; + - _myState = 73728; + - _name = "Files"; + - _modifiedTimeWeak = 10.7.2016::12:48:28; + - m_path = ""; + - Elements = { IRPYRawContainer + - size = 0; + } + - Files = { IRPYRawContainer + - size = 0; + } + } + - m_configActive = { ICodeGenConfigInfoHandle + - _m2Class = "ICodeGenConfigInfo"; + - _id = GUID 25d14a99-86fb-4a6d-b92f-2565b15688c0; + } + - Configs = { IRPYRawContainer + - size = 1; + - value = + { ICodeGenConfigInfo + - _id = GUID 25d14a99-86fb-4a6d-b92f-2565b15688c0; + - _myState = 8192; + - _name = "DefaultConfig"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - _scopeType = Explicit; + - _libraries = ""; + - _additionalSources = ""; + - _standardHeaders = ""; + - _includePath = ""; + - _targetMain = ""; + - _instrumentation = None; + - _timeModel = RealTime; + - m_generateActors = 1; + - _statechartImplementation = Flat; + - _initializationCode = ""; + - _checksList = 0 ; + - ScopeElements = { IRPYRawContainer + - size = 0; + } + - InitialInstances = { IRPYRawContainer + - size = 0; + } + - _root = { IFolder + - _id = GUID 77fa733f-b2e8-4eef-8d92-a425b9542646; + - _myState = 8192; + - _name = "DefaultConfig"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - m_path = ""; + - Elements = { IRPYRawContainer + - size = 0; + } + - Files = { IRPYRawContainer + - size = 0; + } + } + - weakCGTime = 1.2.1990::0:0:0; + - strongCGTime = 1.2.1990::0:0:0; + - AnimScopeElements = { IRPYRawContainer + - size = 0; + } + - m_allInAnimScope = 1; + - m_generateUsecases = 0; + } + } + - HandlesInMe = { IRPYRawContainer + - size = 3; + - value = + { IHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID ba0065d3-97fa-4942-afb7-c05356f7957e; + } + { IHandle + - _m2Class = "IProfile"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "SysML"; + - _id = GUID d9689b73-885e-44c4-896b-de43defa0a33; + } + { IHandle + - _m2Class = "IProfile"; + - _filename = "$OMROOT\\Settings\\SysMLPerspectives\\SysMLPerspectives.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "SysMLPerspectives"; + - _id = GUID ab285915-0966-4322-a029-ffac3e6ef3df; + } + } + - VariationPoints = { IRPYRawContainer + - size = 0; + } + - SelectedVariants = { IRPYRawContainer + - size = 0; + } + - weakCGTime = 10.7.2016::12:48:29; + - strongCGTime = 1.2.1990::0:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/filesTable.dat b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/filesTable.dat new file mode 100644 index 00000000000..569b8c85e6d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/AssociationLabelInBDD_rpy/filesTable.dat @@ -0,0 +1,10 @@ +I-Logix-RPY-Archive version 8.12.0 * 9728113 + +- filesTable = { IRPYRawContainer + - size = 3; + - value = "AssociationLabelInBDD.rpy" "" + "AssociationLabelInBDD_rpy\\Default.sbs" "Default" + "AssociationLabelInBDD_rpy\\DefaultComponent.cmp" "DefaultComponent" + +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.di b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.di new file mode 100755 index 00000000000..bf9abab340f --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.di @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.notation b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.notation new file mode 100755 index 00000000000..7b37e931c3b --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.notation @@ -0,0 +1,587 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="__ggkcOhrEeaEBeOajBDqKg" type="BlockDefinition" name="block definition diagram_0" measurementUnit="Pixel"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkcehrEeaEBeOajBDqKg" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkcuhrEeaEBeOajBDqKg" key="Rhapsody Model Name" value="AssociationLabelInBDD"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkc-hrEeaEBeOajBDqKg" key="Rhapsody Version" value="version 8.12.0 C++ 9728113
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkdOhrEeaEBeOajBDqKg" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="__ggkdehrEeaEBeOajBDqKg" type="shape_sysml_block_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="__ggkduhrEeaEBeOajBDqKg" type="label_sysml_block_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkd-hrEeaEBeOajBDqKg" type="compartment_sysml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkeOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkeehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkeuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggke-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkfOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkfehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkfuhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_part_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkf-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkgOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkgehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggkguhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkg-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkhOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkhehrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_reference_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkhuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkh-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkiOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggkiehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkiuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggki-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkjOhrEeaEBeOajBDqKg" visible="false" type="compartment_uml_port_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkjehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkjuhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkj-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggkkOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkkehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkkuhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkk-hrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_flowport_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggklOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggklehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkluhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggkl-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkmOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkmehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkmuhrEeaEBeOajBDqKg" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkm-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggknOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggknehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggknuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkn-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkoOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkoehrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_constraint_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkouhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggko-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkpOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggkpehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkpuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkp-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkqOhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_value_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkqehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkquhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkq-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggkrOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkrehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkruhrEeaEBeOajBDqKg"/> + </children> + <element xmi:type="uml:Class" href="AssociationLabelInBDD.uml#GUID-03471a00-835c-4171-8043-f651f32212cb"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__ggkr-hrEeaEBeOajBDqKg" x="39" y="19" width="84" height="114"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__ggksOhrEeaEBeOajBDqKg" type="shape_sysml_block_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="__ggksehrEeaEBeOajBDqKg" type="label_sysml_block_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="__ggksuhrEeaEBeOajBDqKg" type="compartment_sysml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggks-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggktOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggktehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggktuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkt-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkuOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkuehrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_part_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkuuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggku-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkvOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggkvehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkvuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkv-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkwOhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_reference_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkwehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkwuhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkw-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggkxOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkxehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkxuhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkx-hrEeaEBeOajBDqKg" visible="false" type="compartment_uml_port_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkyOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggkyehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggkyuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggky-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggkzOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggkzehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggkzuhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_flowport_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggkz-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggk0OhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggk0ehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggk0uhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggk0-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggk1OhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggk1ehrEeaEBeOajBDqKg" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggk1uhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggk1-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggk2OhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggk2ehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggk2uhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggk2-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggk3OhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_constraint_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggk3ehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggk3uhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggk3-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggk4OhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggk4ehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggk4uhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggk4-hrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_value_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggk5OhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggk5ehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggk5uhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggk5-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggk6OhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggk6ehrEeaEBeOajBDqKg"/> + </children> + <element xmi:type="uml:Class" href="AssociationLabelInBDD.uml#GUID-7d8cc169-ad0d-4080-adeb-d238bb442a4f"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__ggk6uhrEeaEBeOajBDqKg" x="31" y="134" width="84" height="114"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__ggk6-hrEeaEBeOajBDqKg" type="shape_sysml_block_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="__ggk7OhrEeaEBeOajBDqKg" type="label_sysml_block_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="__ggk7ehrEeaEBeOajBDqKg" type="compartment_sysml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggk7uhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggk7-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggk8OhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggk8ehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggk8uhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggk8-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggk9OhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_part_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggk9ehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggk9uhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggk9-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggk-OhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggk-ehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggk-uhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggk--hrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_reference_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggk_OhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggk_ehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggk_uhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggk_-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglAOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglAehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglAuhrEeaEBeOajBDqKg" visible="false" type="compartment_uml_port_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglA-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglBOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglBehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglBuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglB-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglCOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglCehrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_flowport_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglCuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglC-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglDOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglDehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglDuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglD-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglEOhrEeaEBeOajBDqKg" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglEehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglEuhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglE-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglFOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglFehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglFuhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglF-hrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_constraint_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglGOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglGehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglGuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglG-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglHOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglHehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglHuhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_value_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglH-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglIOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglIehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglIuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglI-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglJOhrEeaEBeOajBDqKg"/> + </children> + <element xmi:type="uml:Class" href="AssociationLabelInBDD.uml#GUID-3e3cb68c-7785-43f6-b578-513096c60b74"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__gglJehrEeaEBeOajBDqKg" x="18" y="266" width="84" height="114"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__gglJuhrEeaEBeOajBDqKg" type="shape_sysml_block_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="__gglJ-hrEeaEBeOajBDqKg" type="label_sysml_block_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="__gglKOhrEeaEBeOajBDqKg" type="compartment_sysml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglKehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglKuhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglK-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglLOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglLehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglLuhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglL-hrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_part_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglMOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglMehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglMuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglM-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglNOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglNehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglNuhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_reference_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglN-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglOOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglOehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglOuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglO-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglPOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglPehrEeaEBeOajBDqKg" visible="false" type="compartment_uml_port_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglPuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglP-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglQOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglQehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglQuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglQ-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglROhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_flowport_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglRehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglRuhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglR-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglSOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglSehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglSuhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglS-hrEeaEBeOajBDqKg" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglTOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglTehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglTuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglT-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglUOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglUehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglUuhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_constraint_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglU-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglVOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglVehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglVuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglV-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglWOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglWehrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_value_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglWuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglW-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglXOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglXehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglXuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglX-hrEeaEBeOajBDqKg"/> + </children> + <element xmi:type="uml:Class" href="AssociationLabelInBDD.uml#GUID-9cc9b534-ff59-49f6-a19e-d7fa913d3d98"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__gglYOhrEeaEBeOajBDqKg" x="324" width="84" height="114"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__gglYehrEeaEBeOajBDqKg" type="shape_sysml_block_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="__gglYuhrEeaEBeOajBDqKg" type="label_sysml_block_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="__gglY-hrEeaEBeOajBDqKg" type="compartment_sysml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglZOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglZehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglZuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglZ-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglaOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglaehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglauhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_part_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggla-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglbOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglbehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglbuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglb-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglcOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglcehrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_reference_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglcuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglc-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggldOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggldehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglduhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggld-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggleOhrEeaEBeOajBDqKg" visible="false" type="compartment_uml_port_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggleehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggleuhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggle-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglfOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglfehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglfuhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglf-hrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_flowport_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglgOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglgehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglguhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglg-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglhOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglhehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglhuhrEeaEBeOajBDqKg" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglh-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggliOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggliehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggliuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggli-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggljOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggljehrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_constraint_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggljuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglj-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglkOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglkehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglkuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglk-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggllOhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_value_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggllehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglluhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggll-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglmOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglmehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglmuhrEeaEBeOajBDqKg"/> + </children> + <element xmi:type="uml:Class" href="AssociationLabelInBDD.uml#GUID-ea7e44f5-6cf2-474a-84fe-6a2576a87a46"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__gglm-hrEeaEBeOajBDqKg" x="282" y="164" width="84" height="114"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__gglnOhrEeaEBeOajBDqKg" type="shape_sysml_block_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="__gglnehrEeaEBeOajBDqKg" type="label_sysml_block_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="__gglnuhrEeaEBeOajBDqKg" type="compartment_sysml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggln-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggloOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggloehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglouhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglo-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglpOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglpehrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_part_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglpuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglp-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglqOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglqehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglquhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglq-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglrOhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_reference_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglrehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglruhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglr-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglsOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglsehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglsuhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggls-hrEeaEBeOajBDqKg" visible="false" type="compartment_uml_port_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggltOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggltehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggltuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglt-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggluOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggluehrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__ggluuhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_flowport_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglu-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglvOhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglvehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglvuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglv-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglwOhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglwehrEeaEBeOajBDqKg" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglwuhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglw-hrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__gglxOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglxehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglxuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglx-hrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglyOhrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_constraint_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__gglyehrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__gglyuhrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggly-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__gglzOhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__gglzehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__gglzuhrEeaEBeOajBDqKg"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="__gglz-hrEeaEBeOajBDqKg" visible="false" type="compartment_sysml_value_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggl0OhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggl0ehrEeaEBeOajBDqKg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="__ggl0uhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:TitleStyle" xmi:id="__ggl0-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="__ggl1OhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="__ggl1ehrEeaEBeOajBDqKg"/> + </children> + <element xmi:type="uml:Class" href="AssociationLabelInBDD.uml#GUID-07cdc38f-fb9e-4260-8f95-06987641e2af"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__ggl1uhrEeaEBeOajBDqKg" x="416" y="296" width="84" height="114"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="__ggl1-hrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="__ggl2OhrEeaEBeOajBDqKg" name="diagram_compatibility_version" stringValue="1.2.0"/> + <element xmi:type="uml:Class" href="AssociationLabelInBDD.uml#GUID-35a54e72-adff-49ad-8353-dc383070332f"/> + <edges xmi:type="notation:Connector" xmi:id="__ggl2ehrEeaEBeOajBDqKg" type="link_sysml_association" source="__ggkdehrEeaEBeOajBDqKg" target="__gglJuhrEeaEBeOajBDqKg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggl2uhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggl2-hrEeaEBeOajBDqKg" key="routing" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl3OhrEeaEBeOajBDqKg" type="linklabel_uml_appliedstereotype"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl3ehrEeaEBeOajBDqKg" y="-30"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl3uhrEeaEBeOajBDqKg" type="linklabel_uml_namedelement_name"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl3-hrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl4OhrEeaEBeOajBDqKg" type="linklabel_uml_association_source_role"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl4ehrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl4uhrEeaEBeOajBDqKg" type="linklabel_uml_association_source_multiplicity"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl4-hrEeaEBeOajBDqKg" y="10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl5OhrEeaEBeOajBDqKg" type="linklabel_uml_association_target_role"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl5ehrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl5uhrEeaEBeOajBDqKg" type="linklabel_uml_association_target_multiplicity"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl5-hrEeaEBeOajBDqKg" y="10"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__ggl6OhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__ggl6ehrEeaEBeOajBDqKg" name="semantic_source_end"> + <eObjectValue xmi:type="uml:Property" href="AssociationLabelInBDD.uml#GUID-3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3"/> + </styles> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__ggl6uhrEeaEBeOajBDqKg" name="semantic_target_end"> + <eObjectValue xmi:type="uml:Property" href="AssociationLabelInBDD.uml#GUID-a558b7ad-9545-4720-b02a-d3587c4ca77f"/> + </styles> + <element xmi:type="uml:Association" href="AssociationLabelInBDD.uml#GUID-3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3-association"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__ggl6-hrEeaEBeOajBDqKg" points="[123, 48, -643984, -643984]$[223, 48, -643984, -643984]$[223, 23, -643984, -643984]$[324, 23, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__ggl7OhrEeaEBeOajBDqKg" id="(0.9999998,0.25401)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__ggl7ehrEeaEBeOajBDqKg" id="(0.0,0.20142546)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__ggl7uhrEeaEBeOajBDqKg" type="link_sysml_association" source="__ggksOhrEeaEBeOajBDqKg" target="__gglYehrEeaEBeOajBDqKg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggl7-hrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggl8OhrEeaEBeOajBDqKg" key="routing" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl8ehrEeaEBeOajBDqKg" type="linklabel_uml_appliedstereotype"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl8uhrEeaEBeOajBDqKg" y="-30"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl8-hrEeaEBeOajBDqKg" type="linklabel_uml_namedelement_name"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl9OhrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl9ehrEeaEBeOajBDqKg" type="linklabel_uml_association_source_role"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl9uhrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl9-hrEeaEBeOajBDqKg" type="linklabel_uml_association_source_multiplicity"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl-OhrEeaEBeOajBDqKg" y="10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl-ehrEeaEBeOajBDqKg" visible="false" type="linklabel_uml_association_target_role"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl-uhrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggl--hrEeaEBeOajBDqKg" visible="false" type="linklabel_uml_association_target_multiplicity"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggl_OhrEeaEBeOajBDqKg" y="10"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__ggl_ehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__ggl_uhrEeaEBeOajBDqKg" name="semantic_source_end"> + <eObjectValue xmi:type="uml:Property" href="AssociationLabelInBDD.uml#GUID-4f9bf0b3-ab70-4abe-a25d-cc47793a433f"/> + </styles> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__ggl_-hrEeaEBeOajBDqKg" name="semantic_target_end"> + <eObjectValue xmi:type="uml:Property" href="AssociationLabelInBDD.uml#GUID-7aaf59da-e8f5-486a-b569-2d5f7d2f08ca"/> + </styles> + <element xmi:type="uml:Association" href="AssociationLabelInBDD.uml#GUID-4f9bf0b3-ab70-4abe-a25d-cc47793a433f-association"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__ggmAOhrEeaEBeOajBDqKg" points="[115, 173, -643984, -643984]$[198, 173, -643984, -643984]$[198, 246, -643984, -643984]$[282, 246, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__ggmAehrEeaEBeOajBDqKg" id="(0.9999998,0.34224507)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__ggmAuhrEeaEBeOajBDqKg" id="(0.0,0.71924937)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__ggmA-hrEeaEBeOajBDqKg" type="link_sysml_association" source="__ggk6-hrEeaEBeOajBDqKg" target="__gglnOhrEeaEBeOajBDqKg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggmBOhrEeaEBeOajBDqKg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggmBehrEeaEBeOajBDqKg" key="routing" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="__ggmBuhrEeaEBeOajBDqKg" type="linklabel_uml_appliedstereotype"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggmB-hrEeaEBeOajBDqKg" y="-30"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggmCOhrEeaEBeOajBDqKg" type="linklabel_uml_namedelement_name"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggmCehrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggmCuhrEeaEBeOajBDqKg" type="linklabel_uml_association_source_role"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggmC-hrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggmDOhrEeaEBeOajBDqKg" visible="false" type="linklabel_uml_association_source_multiplicity"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggmDehrEeaEBeOajBDqKg" y="10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggmDuhrEeaEBeOajBDqKg" type="linklabel_uml_association_target_role"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggmD-hrEeaEBeOajBDqKg" y="-10"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__ggmEOhrEeaEBeOajBDqKg" type="linklabel_uml_association_target_multiplicity"> + <layoutConstraint xmi:type="notation:Location" xmi:id="__ggmEehrEeaEBeOajBDqKg" y="10"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__ggmEuhrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__ggmE-hrEeaEBeOajBDqKg" name="semantic_source_end"> + <eObjectValue xmi:type="uml:Property" href="AssociationLabelInBDD.uml#GUID-ab20929c-ce81-4918-b605-f040f0cec7c7"/> + </styles> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__ggmFOhrEeaEBeOajBDqKg" name="semantic_target_end"> + <eObjectValue xmi:type="uml:Property" href="AssociationLabelInBDD.uml#GUID-1a2ad52a-4f33-4ba9-897f-d4351caa1c50"/> + </styles> + <element xmi:type="uml:Association" href="AssociationLabelInBDD.uml#GUID-ab20929c-ce81-4918-b605-f040f0cec7c7-association"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__ggmFehrEeaEBeOajBDqKg" points="[102, 306, -643984, -643984]$[259, 306, -643984, -643984]$[259, 391, -643984, -643984]$[416, 391, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__ggmFuhrEeaEBeOajBDqKg" id="(0.9999998,0.35115767)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__ggmF-hrEeaEBeOajBDqKg" id="(0.0,0.83333105)"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="__ggmGOhrEeaEBeOajBDqKg" type="BlockDefinition" name="Model1" measurementUnit="Pixel"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__ggmGehrEeaEBeOajBDqKg" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggmGuhrEeaEBeOajBDqKg" key="Rhapsody Model Name" value="AssociationLabelInBDD"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggmG-hrEeaEBeOajBDqKg" key="Rhapsody Version" value="version 8.12.0 C++ 9728113
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__ggmHOhrEeaEBeOajBDqKg" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <styles xmi:type="notation:DiagramStyle" xmi:id="__ggmHehrEeaEBeOajBDqKg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="__ggmHuhrEeaEBeOajBDqKg" name="diagram_compatibility_version" stringValue="1.2.0"/> + <element xmi:type="uml:Package" href="AssociationLabelInBDD.uml#GUID-ba0065d3-97fa-4942-afb7-c05356f7957e"/> + </notation:Diagram> +</xmi:XMI> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.properties b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.properties new file mode 100755 index 00000000000..d29ae9e42a7 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.properties @@ -0,0 +1 @@ +#Wed Feb 01 11:48:40 CET 2017 diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.uml b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.uml new file mode 100755 index 00000000000..1f079a8bd62 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.uml @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"> + <uml:Model xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838" name="AssociationLabelInBDD"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-EAnnotation--448205768" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-EAnnotation--448205768-EStringToStringMapEntry--1539448500-835488170" key="Rhapsody Model Name" value="AssociationLabelInBDD"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-EAnnotation--448205768-EStringToStringMapEntry--1450492658--463603529" key="Rhapsody Version" value="version 8.12.0 C++ 9728113
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-EAnnotation--448205768-EStringToStringMapEntry-659752885--1799222281" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <packageImport xmi:type="uml:PackageImport" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-PackageImport-PrimitiveTypes"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-ba0065d3-97fa-4942-afb7-c05356f7957e" name="Default"> + <packagedElement xmi:type="uml:Class" xmi:id="GUID-35a54e72-adff-49ad-8353-dc383070332f" name="block_0"/> + <packagedElement xmi:type="uml:Class" xmi:id="GUID-03471a00-835c-4171-8043-f651f32212cb" name="block_2"> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-a558b7ad-9545-4720-b02a-d3587c4ca77f" name="itsBlock_8" type="GUID-9cc9b534-ff59-49f6-a19e-d7fa913d3d98" association="GUID-3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3-association"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="GUID-7d8cc169-ad0d-4080-adeb-d238bb442a4f" name="block_4"> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-7aaf59da-e8f5-486a-b569-2d5f7d2f08ca" name="itsBlock_10" type="GUID-ea7e44f5-6cf2-474a-84fe-6a2576a87a46" association="GUID-4f9bf0b3-ab70-4abe-a25d-cc47793a433f-association"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="GUID-3e3cb68c-7785-43f6-b578-513096c60b74" name="block_6"> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-1a2ad52a-4f33-4ba9-897f-d4351caa1c50" name="itsBlock_12" type="GUID-07cdc38f-fb9e-4260-8f95-06987641e2af" association="GUID-ab20929c-ce81-4918-b605-f040f0cec7c7-association"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="GUID-9cc9b534-ff59-49f6-a19e-d7fa913d3d98" name="block_8"> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3" name="itsBlock_2" type="GUID-03471a00-835c-4171-8043-f651f32212cb" association="GUID-3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3-association"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="GUID-ea7e44f5-6cf2-474a-84fe-6a2576a87a46" name="block_10"> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-4f9bf0b3-ab70-4abe-a25d-cc47793a433f" name="itsBlock_4" type="GUID-7d8cc169-ad0d-4080-adeb-d238bb442a4f" association="GUID-4f9bf0b3-ab70-4abe-a25d-cc47793a433f-association"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="GUID-07cdc38f-fb9e-4260-8f95-06987641e2af" name="block_12"> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-ab20929c-ce81-4918-b605-f040f0cec7c7" name="itsBlock_6" type="GUID-3e3cb68c-7785-43f6-b578-513096c60b74" association="GUID-ab20929c-ce81-4918-b605-f040f0cec7c7-association"/> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="GUID-3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3-association" memberEnd="GUID-3a2cdeb2-2c01-47e0-87d0-3ac37dca06b3 GUID-a558b7ad-9545-4720-b02a-d3587c4ca77f"/> + <packagedElement xmi:type="uml:Association" xmi:id="GUID-4f9bf0b3-ab70-4abe-a25d-cc47793a433f-association" memberEnd="GUID-4f9bf0b3-ab70-4abe-a25d-cc47793a433f GUID-7aaf59da-e8f5-486a-b569-2d5f7d2f08ca"/> + <packagedElement xmi:type="uml:Association" xmi:id="GUID-ab20929c-ce81-4918-b605-f040f0cec7c7-association" memberEnd="GUID-ab20929c-ce81-4918-b605-f040f0cec7c7 GUID-1a2ad52a-4f33-4ba9-897f-d4351caa1c50"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-0d7c31da-7afa-4eca-b608-47dcf53db5ec" name="PredefinedTypes"> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-9503fd72-4374-4a1d-9a70-b60508d8f583" name="RhpInteger"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-b7e65bea-6691-4590-9603-62027199b5ea" name="RhpCharacter"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-ae5e3720-4e3e-40f1-9346-9a8b4e501f35" name="RhpString"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-34e00222-aae8-4bb2-b23a-cd349dbe0c8e" name="RhpReal"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-cd984976-2388-43e6-b12f-11af05b7d764" name="RhpVoid"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-c15c3cb5-b121-483b-a09d-9eeb3706739c" name="RhpPositive"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-90328072-ef68-42d6-836a-28b3a821ade8" name="RhpAddress"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-f19b56f2-78ab-44fa-860e-6ead487ecb07" name="RhpBoolean"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-64be9919-e542-4c33-b533-2547e77ae343" name="RhpUnlimitedNatural"/> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-ab2bdee5-8a4f-47c9-ba7a-e2dccbdeeb45" name="SearchTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-ba527dea-46cd-4298-9500-f5cbf7ba3132" name="ExactString"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-db64d14a-335e-4c67-9a98-9e5e9e075c3e" name="WildCardSearch"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-55dda544-5679-4071-b664-4020bbdc0b88" name="RegularExpSearch"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-693e6225-b80c-4632-b3d8-9b2c5873c915" name="SearchUnresolvedEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-8c7fe176-2afd-4a9b-89c2-3405e84039b9" name="IgnoreUnresolved"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-894d2de0-2208-4f93-bab9-cbcafe48bab1" name="ShowUnresolved"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-65137ae7-0f59-48a6-8213-c45ed4fadb10" name="OnlyUnresolvedUnloaded"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-20f1e2d7-a8d9-47e3-ba8e-79c8a90bb771" name="SearchRelRefAmountTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-b6a2af8e-cdeb-4143-8181-e468a3e830b0" name="MoreThan"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-581f8625-8d22-4287-b0e9-0b1d79c5b4ca" name="LessThan"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-29400a42-439c-482c-876a-4d0b674b466b" name="Exactly"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-1f51c8cc-5b4f-4e36-a391-d8a3d29b610a" name="SearchRelRefHowRelatedEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-248fe4b1-2395-44b8-b070-0f4558d6d2f6" name="NotChosen_HowRelated"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-960a425f-ba68-47f5-a79a-f248cc640733" name="IncomingRelations"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-cb741723-346f-4cc6-917a-2c47b6544d7d" name="OutgoingRelations"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-e570ab67-1908-4313-87bc-a92018c40f9e" name="ChildElements"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-028dad2d-a2ac-40e8-98ac-01af0bc9f70b" name="References"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-febff302-512d-45f1-9066-8436c3acc6fe" name="DiagramElements"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-16ad8b9b-888c-4f32-80e5-8eeaa7111d07" name="MetricsChartTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-02c01db6-710b-467e-804e-c264dfaabef7" name="BarGraph"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-35c7ee7a-13ed-4ccf-a070-056c01fa7754" name="PieChart"/> + </packagedElement> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-34ab43c6-e05a-46a1-b6b5-3efc74493294" name="Untyped"/> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::ModelElements"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::ModelElements-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Blocks"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Blocks-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::PortAndFlows"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::PortAndFlows-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Constraints"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Constraints-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Activities"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Activities-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Allocations"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Allocations-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Requirements"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Requirements-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Interactions"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::Interactions-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::StateMachines"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::StateMachines-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::UseCases"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-f51b65e6-ea56-4d78-a664-6a9267bef838-ProfileApplication-SysML::UseCases-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/> + </profileApplication> + </uml:Model> + <Blocks:Block xmi:id="Block-of-GUID-03471a00-835c-4171-8043-f651f32212cb" base_Class="GUID-03471a00-835c-4171-8043-f651f32212cb"/> + <Blocks:Block xmi:id="Block-of-GUID-9cc9b534-ff59-49f6-a19e-d7fa913d3d98" base_Class="GUID-9cc9b534-ff59-49f6-a19e-d7fa913d3d98"/> + <Blocks:Block xmi:id="Block-of-GUID-07cdc38f-fb9e-4260-8f95-06987641e2af" base_Class="GUID-07cdc38f-fb9e-4260-8f95-06987641e2af"/> + <Blocks:Block xmi:id="Block-of-GUID-7d8cc169-ad0d-4080-adeb-d238bb442a4f" base_Class="GUID-7d8cc169-ad0d-4080-adeb-d238bb442a4f"/> + <Blocks:Block xmi:id="Block-of-GUID-ea7e44f5-6cf2-474a-84fe-6a2576a87a46" base_Class="GUID-ea7e44f5-6cf2-474a-84fe-6a2576a87a46"/> + <Blocks:Block xmi:id="Block-of-GUID-3e3cb68c-7785-43f6-b578-513096c60b74" base_Class="GUID-3e3cb68c-7785-43f6-b578-513096c60b74"/> + <Blocks:Block xmi:id="Block-of-GUID-35a54e72-adff-49ad-8353-dc383070332f" base_Class="GUID-35a54e72-adff-49ad-8353-dc383070332f"/> +</xmi:XMI> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.ehl b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.ehl new file mode 100644 index 00000000000..2c2ad5d70fe --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.ehl @@ -0,0 +1,3 @@ +[Op Calls] +[Events] +[Breakpoints] diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.jpg b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.jpg Binary files differnew file mode 100644 index 00000000000..6f1f48076b9 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.jpg diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.rpw b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.rpw new file mode 100644 index 00000000000..e736cbc85b0 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.rpw @@ -0,0 +1,63 @@ +I-Logix-RPY-Archive version 8.8.0 * 6107223 +{ CGEMdiWorkspace + - stubList = { IRPYRawContainer + - size = 0; + } + - isLoadOnDemand = 0; + - myViewsWithID = { IRPYRawContainer + - size = 1; + - value = + { CGEMdiDiagramParams + - _placement = { CCommon_WINDOWPLACEMENT + - m_nLength = 44; + - m_nFlags = 2; + - m_showCmd = 3; + - m_ptMinPositionX = -1; + - m_ptMinPositionY = -1; + - m_ptMaxPositionX = -8; + - m_ptMaxPositionY = -30; + - m_nLeft = 0; + - m_nTop = 0; + - m_nRight = 679; + - m_nBottom = 51; + } + - _wasOpenedOnCloseProject = 1; + - _theDiagram = { IHandle + - _m2Class = "IDiagram"; + - _filename = ""; + - _subsystem = ""; + - _class = ""; + - _name = "Model1"; + - _id = GUID b52247a2-c4e4-4059-add3-a95340f7a01a; + } + - _UpLeft = 0 0 ; + - _DownRight = 1074 642 ; + - _instanceName = ""; + - m_nDiagramIndex = 0; + } + } + - _fullName = "F:\\RhapsodyTest\\EnumerationInBDD\\EnumerationInBDD"; + - m_SearchScopeList = { IRPYRawContainer + - size = 0; + } + - bUsingCustomBrowserView = 0; + - bUsingQueries = 0; + - bApplyOnDiagrams = 0; + - liQueryIDs = { IRPYRawContainer + - size = 0; + } + - liElementTypes = { IRPYRawContainer + - size = 0; + } + + - m_favoritesTree = { + count=1; + { - favoritesItem + generation = 0; + name = Favorites; + idOrFolder = folder; + } + } + +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.rpy b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.rpy new file mode 100644 index 00000000000..2f981a2dbae --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.rpy @@ -0,0 +1,956 @@ +I-Logix-RPY-Archive version 8.8.0 C++ 6107223 +{ IProject + - _id = GUID 347aebc9-6081-481d-8f5f-78bee902cb73; + - _myState = 8192; + - _name = "EnumerationInBDD"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML"; + - _class = ""; + - _name = "SysML"; + - _id = GUID 052b8171-a32b-4f45-a829-5585f79f9deb; + } + } + - _modifiedTimeWeak = 8.3.2016::13:25:18; + - _UserColors = { IRPYRawContainer + - size = 16; + - value = 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; + } + - _defaultSubsystem = { ISubsystemHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID 253017c5-b226-42a7-8f35-7acef90c8904; + } + - _component = { IHandle + - _m2Class = "IComponent"; + - _filename = "DefaultComponent.cmp"; + - _subsystem = ""; + - _class = ""; + - _name = "DefaultComponent"; + - _id = GUID 39812a8b-d20e-4cec-a317-b03e63c4f54b; + } + - Multiplicities = { IRPYRawContainer + - size = 4; + - value = + { IMultiplicityItem + - _name = "1"; + - _count = -1; + } + { IMultiplicityItem + - _name = "*"; + - _count = -1; + } + { IMultiplicityItem + - _name = "0,1"; + - _count = -1; + } + { IMultiplicityItem + - _name = "1..*"; + - _count = -1; + } + } + - Subsystems = { IRPYRawContainer + - size = 2; + - value = + { ISubsystem + - fileName = "Default"; + - _id = GUID 253017c5-b226-42a7-8f35-7acef90c8904; + } + { IProfile + - fileName = "SysML"; + - _persistAs = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy"; + - _id = GUID d9689b73-885e-44c4-896b-de43defa0a33; + - _isReference = 1; + } + } + - Diagrams = { IRPYRawContainer + - size = 1; + - value = + { IDiagram + - _id = GUID b52247a2-c4e4-4059-add3-a95340f7a01a; + - _myState = 8192; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 2; + - value = + { IPropertySubject + - _Name = "Format"; + - Metaclasses = { IRPYRawContainer + - size = 2; + - value = + { IPropertyMetaclass + - _Name = "DiagramFrame"; + - Properties = { IRPYRawContainer + - size = 8; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "20,20,590,500"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "247,247,247"; + - _Type = Color; + } + { IProperty + - _Name = "Fill.Transparent_Fill"; + - _Value = "0"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "194,192,192"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + { IPropertyMetaclass + - _Name = "Type"; + - Properties = { IRPYRawContainer + - size = 7; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "0,0,108,73"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "255,255,255"; + - _Type = Color; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "109,163,217"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + } + } + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 2; + - value = + { IProperty + - _Name = "grid_display"; + - _Value = "True"; + - _Type = Bool; + } + { IProperty + - _Name = "grid_snap"; + - _Value = "True"; + - _Type = Bool; + } + } + } + } + } + } + } + - _name = "Model1"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Diagrams"; + - _class = ""; + - _name = "Block Definition Diagram"; + - _id = GUID 6c142614-3349-49e9-8c6b-0236be5f6b61; + } + } + - _modifiedTimeWeak = 1.1.1970::1:0:0; + - _lastModifiedTime = "8.3.2016::13:30:40"; + - _graphicChart = { CGIClassChart + - _id = GUID 92d0e1a1-c06d-4e8e-812c-00cd2b596366; + - m_type = 0; + - m_pModelObject = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID b52247a2-c4e4-4059-add3-a95340f7a01a; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - elementList = 8; + { CGIClass + - _id = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_type = 78; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "TopLevel"; + - _id = GUID d8ad5e5d-d290-44ee-be59-5b994d59861f; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = "TopLevel"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIDiagramFrame + - _id = GUID 2e95b4ab-86b8-4981-80fc-c8958adc0c7b; + - m_type = 203; + - m_pModelObject = { IHandle + - _m2Class = ""; + } + - m_pParent = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_transform = 2.63889 0 0 3.63636 20 20 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 132 216 132 216 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + { CGIGenericElement + - _id = GUID 3f84827d-518f-4115-abb1-0cec780cb41c; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "FitBoxToItsTextuals"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + } + } + - m_type = 200; + - m_pModelObject = { IHandle + - _m2Class = "IType"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "MyEnum"; + - _id = GUID 00e64c98-8bc7-4f58-ae8d-5af5ecc94220; + } + - m_pParent = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_name = { CGIText + - m_str = "MyEnum"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 0.0912933 0 0 0.0986031 36 48.2958 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 -3 0 1214 1183 1214 1183 -3 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + { CGIGenericElement + - _id = GUID 922754d9-7e15-4057-a56d-d06072895162; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 2; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "FitBoxToItsTextuals"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "DataType"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = "EnumerationLiteral,"; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 200; + - m_pModelObject = { IHandle + - _m2Class = "IType"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "MyEnum"; + - _id = GUID 00e64c98-8bc7-4f58-ae8d-5af5ecc94220; + } + - m_pParent = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_name = { CGIText + - m_str = "MyEnum"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 0.105664 0 0 0.108463 48 192.325 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 -3 0 1214 1183 1214 1183 -3 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=100%> +<frame name=EnumerationLiteralListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 1; + - value = + { CGICompartment + - _id = GUID a8f9e61a-aa96-4f04-aa28-99a29c24ae8e; + - m_name = "EnumerationLiteral"; + - m_displayOption = All; + - m_bShowInherited = 0; + - m_bOrdered = 0; + } + } + } + { CGIGenericElement + - _id = GUID 862dbaf5-1fda-4fa2-89df-f61f4d3e078f; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 2; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "FitBoxToItsTextuals"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "DataType"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = "EnumerationLiteral,"; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 200; + - m_pModelObject = { IHandle + - _m2Class = "IType"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "MyEnum"; + - _id = GUID 00e64c98-8bc7-4f58-ae8d-5af5ecc94220; + } + - m_pParent = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_name = { CGIText + - m_str = "MyEnum"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 0.121724 0 0 0.0879211 48 324.264 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 -3 0 1214 1183 1214 1183 -3 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=100%> +<frame name=EnumerationLiteralListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 1; + - value = + { CGICompartment + - _id = GUID e58dcf14-0ec0-44dc-8335-74403aadcd91; + - m_name = "EnumerationLiteral"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 1; + - Items = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IEnumerationLiteral"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = "MyEnum"; + - _name = "enumerationliteral_1"; + - _id = GUID 23da8cf0-bfc5-4ad5-80d1-84e784b754e7; + } + } + } + } + } + { CGIGenericElement + - _id = GUID 5caab80f-3ea6-4a8a-bc2e-00c597ee782c; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 2; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "FitBoxToItsTextuals"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "DataType"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = "EnumerationLiteral,"; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 200; + - m_pModelObject = { IHandle + - _m2Class = "IType"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "MyEnum"; + - _id = GUID 00e64c98-8bc7-4f58-ae8d-5af5ecc94220; + } + - m_pParent = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_name = { CGIText + - m_str = "MyEnum"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 0.152156 0 0 0.0986031 180 48.2958 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 -3 0 1214 1183 1214 1183 -3 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=100%> +<frame name=EnumerationLiteralListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 1; + - value = + { CGICompartment + - _id = GUID 4d8c73c9-5a3c-4b9a-a70a-0d0b0b04e9f3; + - m_name = "EnumerationLiteral"; + - m_displayOption = Public; + - m_bShowInherited = 0; + - m_bOrdered = 0; + } + } + } + { CGIGenericElement + - _id = GUID 434ebd29-f3f9-42f5-81c2-3830e58e5fd2; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 2; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 2; + - value = + { IProperty + - _Name = "FitBoxToItsTextuals"; + - _Value = "False"; + - _Type = Bool; + } + { IProperty + - _Name = "ShowCompartmentsTitle"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "DataType"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = "EnumerationLiteral,"; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 200; + - m_pModelObject = { IHandle + - _m2Class = "IType"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "MyEnum"; + - _id = GUID 00e64c98-8bc7-4f58-ae8d-5af5ecc94220; + } + - m_pParent = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_name = { CGIText + - m_str = "MyEnum"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 0.152156 0 0 0.0986031 360 48.2958 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 -3 0 1214 1183 1214 1183 -3 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=100%> +<frame name=EnumerationLiteralListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 1; + - value = + { CGICompartment + - _id = GUID 1fe88340-a6d2-432e-a3ef-4f5f28ec24df; + - m_name = "EnumerationLiteral"; + - m_displayOption = All; + - m_bShowInherited = 0; + - m_bOrdered = 0; + } + } + } + { CGIGenericElement + - _id = GUID a165c9ef-a69d-4fb1-9851-5b249aacd30b; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "ObjectModelGe"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "DataType"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "Compartments"; + - _Value = "EnumerationLiteral,"; + - _Type = MultiLine; + } + } + } + } + } + } + } + - m_type = 200; + - m_pModelObject = { IHandle + - _m2Class = "IType"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "MyEnum"; + - _id = GUID 00e64c98-8bc7-4f58-ae8d-5af5ecc94220; + } + - m_pParent = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_name = { CGIText + - m_str = "MyEnum"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 0.0912933 0 0 0.0599836 312 192.18 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 -3 0 1214 1183 1214 1183 -3 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - frameset = "<frameset rows=100%> +<frame name=EnumerationLiteralListCompartment>"; + - Compartments = { IRPYRawContainer + - size = 1; + - value = + { CGICompartment + - _id = GUID 2cb858cf-c8ad-4f0f-ac1d-3ceaff981f18; + - m_name = "EnumerationLiteral"; + - m_displayOption = Explicit; + - m_bShowInherited = 0; + - m_bOrdered = 0; + - Items = { IRPYRawContainer + - size = 0; + } + } + } + } + + - m_access = 'Z'; + - m_modified = 'N'; + - m_fileVersion = ""; + - m_nModifyDate = 0; + - m_nCreateDate = 0; + - m_creator = ""; + - m_bScaleWithZoom = 1; + - m_arrowStyle = 'S'; + - m_pRoot = GUID f3060a77-f7cc-42e7-b137-3484d029a112; + - m_currentLeftTop = 0 0 ; + - m_currentRightBottom = 0 0 ; + } + - _defaultSubsystem = { IHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID 253017c5-b226-42a7-8f35-7acef90c8904; + } + } + } + - Components = { IRPYRawContainer + - size = 1; + - value = + { IComponent + - fileName = "DefaultComponent"; + - _id = GUID 39812a8b-d20e-4cec-a317-b03e63c4f54b; + } + } +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.save b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.save new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD.save diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/Default.sbs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/Default.sbs new file mode 100644 index 00000000000..e87dcd80f41 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/Default.sbs @@ -0,0 +1,77 @@ +I-Logix-RPY-Archive version 8.8.0 C++ 6107223 +{ ISubsystem + - _id = GUID 253017c5-b226-42a7-8f35-7acef90c8904; + - _myState = 8192; + - _name = "Default"; + - _modifiedTimeWeak = 8.3.2016::13:26:27; + - _lastID = 1; + - weakCGTime = 8.3.2016::13:26:27; + - strongCGTime = 1.1.1970::1:0:0; + - _defaultComposite = GUID d8ad5e5d-d290-44ee-be59-5b994d59861f; + - _eventsBaseID = -1; + - Classes = { IRPYRawContainer + - size = 1; + - value = + { IClass + - _id = GUID d8ad5e5d-d290-44ee-be59-5b994d59861f; + - _myState = 40960; + - _name = "TopLevel"; + - _modifiedTimeWeak = 1.1.1970::1:0:0; + - weakCGTime = 1.1.1970::1:0:0; + - strongCGTime = 1.1.1970::1:0:0; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + } + - Types = { IRPYRawContainer + - size = 1; + - value = + { IType + - _id = GUID 00e64c98-8bc7-4f58-ae8d-5af5ecc94220; + - _myState = 8192; + - _name = "MyEnum"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "DataType"; + - _id = GUID 39bf6572-6f61-4cbf-b651-64241e075688; + } + } + - _modifiedTimeWeak = 8.3.2016::13:26:27; + - _lastID = 3; + - Literals = { IRPYRawContainer + - size = 3; + - value = + { IEnumerationLiteral + - _id = GUID a9730f30-f712-4d48-a5f8-70c54d84531c; + - _name = "enumerationliteral_0"; + - _modifiedTimeWeak = 8.3.2016::13:26:25; + - _value = ""; + } + { IEnumerationLiteral + - _id = GUID 23da8cf0-bfc5-4ad5-80d1-84e784b754e7; + - _name = "enumerationliteral_1"; + - _modifiedTimeWeak = 8.3.2016::13:26:26; + - _value = ""; + } + { IEnumerationLiteral + - _id = GUID 96f0c201-549d-46c4-b256-e605b76656de; + - _name = "enumerationliteral_2"; + - _modifiedTimeWeak = 8.3.2016::13:26:27; + - _value = ""; + } + } + - _kind = Enumeration; + } + } + - _configurationRelatedTime = 1.1.1970::1:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/DefaultComponent.cmp b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/DefaultComponent.cmp new file mode 100644 index 00000000000..f5a820647f0 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/DefaultComponent.cmp @@ -0,0 +1,133 @@ +I-Logix-RPY-Archive version 8.8.0 C++ 6107223 +{ IComponent + - _id = GUID 39812a8b-d20e-4cec-a317-b03e63c4f54b; + - _myState = 139264; + - _name = "DefaultComponent"; + - _modifiedTimeWeak = 8.3.2016::13:25:18; + - m_buildType = Executable; + - m_libraries = ""; + - m_additionalSources = ""; + - m_standardHeaders = ""; + - m_includePath = ""; + - m_initializationCode = ""; + - m_folder = { IFolder + - _id = GUID cf3ed606-71ce-4c77-a16d-4e3b243e24c4; + - _myState = 73728; + - _name = "Files"; + - _modifiedTimeWeak = 8.3.2016::13:25:16; + - m_path = ""; + - Elements = { IRPYRawContainer + - size = 0; + } + - Files = { IRPYRawContainer + - size = 0; + } + } + - m_configActive = { ICodeGenConfigInfoHandle + - _m2Class = "ICodeGenConfigInfo"; + - _id = GUID a0b1642b-226d-497e-b003-17262d084803; + } + - Configs = { IRPYRawContainer + - size = 1; + - value = + { ICodeGenConfigInfo + - _id = GUID a0b1642b-226d-497e-b003-17262d084803; + - _myState = 8192; + - _name = "DefaultConfig"; + - _modifiedTimeWeak = 1.1.1970::1:0:0; + - HyperLinks = { IRPYRawContainer + - size = 2; + - value = + { IMHyperLink + - _id = GUID 6e0e9fea-1240-4372-a23e-a7283d543e7d; + - _modifiedTimeWeak = 1.1.1970::1:0:0; + - _dependsOn = { INObjectHandle + - _m2Class = ""; + } + - _linkDispName = "Edit Makefile"; + - _linkType = "FREE"; + - _linkTarget = "F:\\RhapsodyTest\\EnumerationInBDD\\DefaultComponent\\DefaultConfig\\DefaultComponent.mak"; + - isConfigurationFileHyperLink = 1; + } + { IMHyperLink + - _id = GUID e3b95a32-b887-44da-a544-bbcc0b076277; + - _modifiedTimeWeak = 1.1.1970::1:0:0; + - _dependsOn = { INObjectHandle + - _m2Class = ""; + } + - _linkDispName = "Edit Main File"; + - _linkType = "FREE"; + - _linkTarget = "F:\\RhapsodyTest\\EnumerationInBDD\\DefaultComponent\\DefaultConfig\\MainDefaultComponent"; + - isConfigurationFileHyperLink = 1; + } + } + - _scopeType = Explicit; + - _libraries = ""; + - _additionalSources = ""; + - _standardHeaders = ""; + - _includePath = ""; + - _targetMain = ""; + - _instrumentation = None; + - _timeModel = RealTime; + - m_generateActors = 1; + - _statechartImplementation = Flat; + - _initializationCode = ""; + - _checksList = 0 ; + - ScopeElements = { IRPYRawContainer + - size = 0; + } + - InitialInstances = { IRPYRawContainer + - size = 0; + } + - _root = { IFolder + - _id = GUID ab2bd897-1a95-4eb5-9915-67c5431c8321; + - _myState = 8192; + - _name = "DefaultConfig"; + - _modifiedTimeWeak = 1.1.1970::1:0:0; + - m_path = ""; + - Elements = { IRPYRawContainer + - size = 0; + } + - Files = { IRPYRawContainer + - size = 0; + } + } + - weakCGTime = 1.1.1970::1:0:0; + - strongCGTime = 1.1.1970::1:0:0; + - AnimScopeElements = { IRPYRawContainer + - size = 0; + } + - m_allInAnimScope = 1; + - m_generateUsecases = 0; + } + } + - HandlesInMe = { IRPYRawContainer + - size = 2; + - value = + { IHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID 253017c5-b226-42a7-8f35-7acef90c8904; + } + { IHandle + - _m2Class = "IProfile"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "SysML"; + - _id = GUID d9689b73-885e-44c4-896b-de43defa0a33; + } + } + - VariationPoints = { IRPYRawContainer + - size = 0; + } + - SelectedVariants = { IRPYRawContainer + - size = 0; + } + - weakCGTime = 8.3.2016::13:25:18; + - strongCGTime = 1.1.1970::1:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/filesTable.dat b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/filesTable.dat new file mode 100644 index 00000000000..dd86b0d51c9 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/EnumerationInBDD_rpy/filesTable.dat @@ -0,0 +1,10 @@ +I-Logix-RPY-Archive version 8.8.0 * 6107223 + +- filesTable = { IRPYRawContainer + - size = 3; + - value = "EnumerationInBDD.rpy" "" + "EnumerationInBDD_rpy\\Default.sbs" "Default" + "EnumerationInBDD_rpy\\DefaultComponent.cmp" "DefaultComponent" + +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.di b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.di new file mode 100755 index 00000000000..bf9abab340f --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.di @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.notation b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.notation new file mode 100755 index 00000000000..4cfd68f9416 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.notation @@ -0,0 +1,148 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_eAO4QtzAEea4K6xARJBg7g" type="BlockDefinition" name="Model1" measurementUnit="Pixel"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eAO4Q9zAEea4K6xARJBg7g" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAO4RNzAEea4K6xARJBg7g" key="Rhapsody Model Name" value="EnumerationInBDD"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAO4RdzAEea4K6xARJBg7g" key="Rhapsody Version" value="version 8.8.0 C++ 6107223
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAO4RtzAEea4K6xARJBg7g" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_eAO4R9zAEea4K6xARJBg7g" type="shape_uml_enumeration_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_eAO4SNzAEea4K6xARJBg7g" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_eAO4SdzAEea4K6xARJBg7g" visible="false" type="compartment_uml_enumerationliteral_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eAO4StzAEea4K6xARJBg7g" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAO4S9zAEea4K6xARJBg7g" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_eAO4TNzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_eAO4TdzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_eAO4TtzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_eAO4T9zAEea4K6xARJBg7g"/> + </children> + <element xmi:type="uml:Enumeration" href="EnumerationInBDD.uml#GUID-00e64c98-8bc7-4f58-ae8d-5af5ecc94220"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eAO4UNzAEea4K6xARJBg7g" x="36" y="48" width="108" height="120"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_eAO4UdzAEea4K6xARJBg7g" type="shape_uml_enumeration_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_eAO4UtzAEea4K6xARJBg7g" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_eAO4U9zAEea4K6xARJBg7g" type="compartment_uml_enumerationliteral_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eAO4VNzAEea4K6xARJBg7g" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAO4VdzAEea4K6xARJBg7g" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Node" xmi:id="_eAPfENzAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfEdzAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-a9730f30-f712-4d48-a5f8-70c54d84531c"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfEtzAEea4K6xARJBg7g"/> + </children> + <children xmi:type="notation:Node" xmi:id="_eAPfE9zAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfFNzAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-23da8cf0-bfc5-4ad5-80d1-84e784b754e7"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfFdzAEea4K6xARJBg7g"/> + </children> + <children xmi:type="notation:Node" xmi:id="_eAPfFtzAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfF9zAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-96f0c201-549d-46c4-b256-e605b76656de"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfGNzAEea4K6xARJBg7g"/> + </children> + <styles xmi:type="notation:DrawerStyle" xmi:id="_eAPfGdzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_eAPfGtzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_eAPfG9zAEea4K6xARJBg7g"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_eAPfHNzAEea4K6xARJBg7g"/> + </children> + <element xmi:type="uml:Enumeration" href="EnumerationInBDD.uml#GUID-00e64c98-8bc7-4f58-ae8d-5af5ecc94220"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eAPfHdzAEea4K6xARJBg7g" x="48" y="192" width="125" height="132"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_eAPfHtzAEea4K6xARJBg7g" type="shape_uml_enumeration_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_eAPfH9zAEea4K6xARJBg7g" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_eAPfINzAEea4K6xARJBg7g" type="compartment_uml_enumerationliteral_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eAPfIdzAEea4K6xARJBg7g" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAPfItzAEea4K6xARJBg7g" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Node" xmi:id="_eAPfI9zAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfJNzAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-23da8cf0-bfc5-4ad5-80d1-84e784b754e7"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfJdzAEea4K6xARJBg7g"/> + </children> + <styles xmi:type="notation:DrawerStyle" xmi:id="_eAPfJtzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_eAPfJ9zAEea4K6xARJBg7g"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_eAPfKNzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_eAPfKdzAEea4K6xARJBg7g"/> + </children> + <element xmi:type="uml:Enumeration" href="EnumerationInBDD.uml#GUID-00e64c98-8bc7-4f58-ae8d-5af5ecc94220"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eAPfKtzAEea4K6xARJBg7g" x="48" y="324" width="144" height="107"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_eAPfK9zAEea4K6xARJBg7g" type="shape_uml_enumeration_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_eAPfLNzAEea4K6xARJBg7g" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_eAPfLdzAEea4K6xARJBg7g" type="compartment_uml_enumerationliteral_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eAPfLtzAEea4K6xARJBg7g" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAPfL9zAEea4K6xARJBg7g" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Node" xmi:id="_eAPfMNzAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfMdzAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-a9730f30-f712-4d48-a5f8-70c54d84531c"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfMtzAEea4K6xARJBg7g"/> + </children> + <children xmi:type="notation:Node" xmi:id="_eAPfM9zAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfNNzAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-23da8cf0-bfc5-4ad5-80d1-84e784b754e7"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfNdzAEea4K6xARJBg7g"/> + </children> + <children xmi:type="notation:Node" xmi:id="_eAPfNtzAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfN9zAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-96f0c201-549d-46c4-b256-e605b76656de"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfONzAEea4K6xARJBg7g"/> + </children> + <styles xmi:type="notation:DrawerStyle" xmi:id="_eAPfOdzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_eAPfOtzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_eAPfO9zAEea4K6xARJBg7g"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_eAPfPNzAEea4K6xARJBg7g"/> + </children> + <element xmi:type="uml:Enumeration" href="EnumerationInBDD.uml#GUID-00e64c98-8bc7-4f58-ae8d-5af5ecc94220"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eAPfPdzAEea4K6xARJBg7g" x="180" y="48" width="180" height="120"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_eAPfPtzAEea4K6xARJBg7g" type="shape_uml_enumeration_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_eAPfP9zAEea4K6xARJBg7g" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_eAPfQNzAEea4K6xARJBg7g" type="compartment_uml_enumerationliteral_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eAPfQdzAEea4K6xARJBg7g" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAPfQtzAEea4K6xARJBg7g" key="showTitle" value="false"/> + </eAnnotations> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eAPfQ9zAEea4K6xARJBg7g" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAPfRNzAEea4K6xARJBg7g" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Node" xmi:id="_eAPfRdzAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfRtzAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-a9730f30-f712-4d48-a5f8-70c54d84531c"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfR9zAEea4K6xARJBg7g"/> + </children> + <children xmi:type="notation:Node" xmi:id="_eAPfSNzAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfSdzAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-23da8cf0-bfc5-4ad5-80d1-84e784b754e7"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfStzAEea4K6xARJBg7g"/> + </children> + <children xmi:type="notation:Node" xmi:id="_eAPfS9zAEea4K6xARJBg7g" type="shape_uml_enumerationliteral_as_label"> + <styles xmi:type="notation:ShapeStyle" xmi:id="_eAPfTNzAEea4K6xARJBg7g"/> + <element xmi:type="uml:EnumerationLiteral" href="EnumerationInBDD.uml#GUID-96f0c201-549d-46c4-b256-e605b76656de"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_eAPfTdzAEea4K6xARJBg7g"/> + </children> + <styles xmi:type="notation:DrawerStyle" xmi:id="_eAPfTtzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_eAPfT9zAEea4K6xARJBg7g"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_eAPfUNzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_eAPfUdzAEea4K6xARJBg7g"/> + </children> + <element xmi:type="uml:Enumeration" href="EnumerationInBDD.uml#GUID-00e64c98-8bc7-4f58-ae8d-5af5ecc94220"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eAPfUtzAEea4K6xARJBg7g" x="360" y="48" width="180" height="120"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_eAPfU9zAEea4K6xARJBg7g" type="shape_uml_enumeration_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_eAPfVNzAEea4K6xARJBg7g" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_eAPfVdzAEea4K6xARJBg7g" type="compartment_uml_enumerationliteral_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eAPfVtzAEea4K6xARJBg7g" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eAPfV9zAEea4K6xARJBg7g" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_eAPfWNzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_eAPfWdzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_eAPfWtzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_eAPfW9zAEea4K6xARJBg7g"/> + </children> + <element xmi:type="uml:Enumeration" href="EnumerationInBDD.uml#GUID-00e64c98-8bc7-4f58-ae8d-5af5ecc94220"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eAPfXNzAEea4K6xARJBg7g" x="312" y="192" width="108" height="73"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_eAPfXdzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_eAPfXtzAEea4K6xARJBg7g" name="diagram_compatibility_version" stringValue="1.2.0"/> + <element xmi:type="uml:Package" href="EnumerationInBDD.uml#GUID-253017c5-b226-42a7-8f35-7acef90c8904"/> +</notation:Diagram> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.properties b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.properties new file mode 100755 index 00000000000..26907ade733 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.properties @@ -0,0 +1 @@ +#Tue Jan 17 15:23:08 CET 2017 diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.uml b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.uml new file mode 100755 index 00000000000..06086a71401 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.uml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73" name="EnumerationInBDD"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-EAnnotation--448205768" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-EAnnotation--448205768-EStringToStringMapEntry--1539448500--1851833578" key="Rhapsody Model Name" value="EnumerationInBDD"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-EAnnotation--448205768-EStringToStringMapEntry--1450492658--1990837830" key="Rhapsody Version" value="version 8.8.0 C++ 6107223
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-EAnnotation--448205768-EStringToStringMapEntry-659752885--1799222281" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <packageImport xmi:type="uml:PackageImport" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-PackageImport-PrimitiveTypes"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-253017c5-b226-42a7-8f35-7acef90c8904" name="Default"> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-00e64c98-8bc7-4f58-ae8d-5af5ecc94220" name="MyEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-a9730f30-f712-4d48-a5f8-70c54d84531c" name="enumerationliteral_0"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-23da8cf0-bfc5-4ad5-80d1-84e784b754e7" name="enumerationliteral_1"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-96f0c201-549d-46c4-b256-e605b76656de" name="enumerationliteral_2"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-0d7c31da-7afa-4eca-b608-47dcf53db5ec" name="PredefinedTypes"> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-9503fd72-4374-4a1d-9a70-b60508d8f583" name="RhpInteger"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-b7e65bea-6691-4590-9603-62027199b5ea" name="RhpCharacter"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-ae5e3720-4e3e-40f1-9346-9a8b4e501f35" name="RhpString"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-34e00222-aae8-4bb2-b23a-cd349dbe0c8e" name="RhpReal"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-cd984976-2388-43e6-b12f-11af05b7d764" name="RhpVoid"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-c15c3cb5-b121-483b-a09d-9eeb3706739c" name="RhpPositive"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-90328072-ef68-42d6-836a-28b3a821ade8" name="RhpAddress"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-f19b56f2-78ab-44fa-860e-6ead487ecb07" name="RhpBoolean"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-64be9919-e542-4c33-b533-2547e77ae343" name="RhpUnlimitedNatural"/> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-ab2bdee5-8a4f-47c9-ba7a-e2dccbdeeb45" name="SearchTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-ba527dea-46cd-4298-9500-f5cbf7ba3132" name="ExactString"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-db64d14a-335e-4c67-9a98-9e5e9e075c3e" name="WildCardSearch"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-55dda544-5679-4071-b664-4020bbdc0b88" name="RegularExpSearch"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-693e6225-b80c-4632-b3d8-9b2c5873c915" name="SearchUnresolvedEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-8c7fe176-2afd-4a9b-89c2-3405e84039b9" name="IgnoreUnresolved"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-894d2de0-2208-4f93-bab9-cbcafe48bab1" name="ShowUnresolved"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-65137ae7-0f59-48a6-8213-c45ed4fadb10" name="OnlyUnresolvedUnloaded"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-20f1e2d7-a8d9-47e3-ba8e-79c8a90bb771" name="SearchRelRefAmountTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-b6a2af8e-cdeb-4143-8181-e468a3e830b0" name="MoreThan"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-581f8625-8d22-4287-b0e9-0b1d79c5b4ca" name="LessThan"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-29400a42-439c-482c-876a-4d0b674b466b" name="Exactly"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-1f51c8cc-5b4f-4e36-a391-d8a3d29b610a" name="SearchRelRefHowRelatedEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-248fe4b1-2395-44b8-b070-0f4558d6d2f6" name="NotChosen_HowRelated"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-960a425f-ba68-47f5-a79a-f248cc640733" name="IncomingRelations"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-cb741723-346f-4cc6-917a-2c47b6544d7d" name="OutgoingRelations"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-e570ab67-1908-4313-87bc-a92018c40f9e" name="ChildElements"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-028dad2d-a2ac-40e8-98ac-01af0bc9f70b" name="References"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-febff302-512d-45f1-9066-8436c3acc6fe" name="DiagramElements"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-16ad8b9b-888c-4f32-80e5-8eeaa7111d07" name="MetricsChartTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-02c01db6-710b-467e-804e-c264dfaabef7" name="BarGraph"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-35c7ee7a-13ed-4ccf-a070-056c01fa7754" name="PieChart"/> + </packagedElement> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-34ab43c6-e05a-46a1-b6b5-3efc74493294" name="Untyped"/> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::ModelElements"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::ModelElements-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Blocks"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Blocks-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::PortAndFlows"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::PortAndFlows-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Constraints"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Constraints-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Activities"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Activities-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Allocations"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Allocations-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Requirements"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Requirements-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Interactions"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::Interactions-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::StateMachines"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::StateMachines-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::UseCases"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-347aebc9-6081-481d-8f5f-78bee902cb73-ProfileApplication-SysML::UseCases-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/> + </profileApplication> +</uml:Model> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.ehl b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.ehl new file mode 100755 index 00000000000..2c2ad5d70fe --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.ehl @@ -0,0 +1,3 @@ +[Op Calls] +[Events] +[Breakpoints] diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.rpw b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.rpw new file mode 100755 index 00000000000..456b2cfe2f4 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.rpw @@ -0,0 +1,96 @@ +I-Logix-RPY-Archive version 8.12.0 * 9728113 +{ CGEMdiWorkspace + - stubList = { IRPYRawContainer + - size = 0; + } + - isLoadOnDemand = 0; + - myViewsWithID = { IRPYRawContainer + - size = 2; + - value = + { CGEMdiDiagramParams + - _placement = { CCommon_WINDOWPLACEMENT + - m_nLength = 44; + - m_nFlags = 2; + - m_showCmd = 3; + - m_ptMinPositionX = -1; + - m_ptMinPositionY = -1; + - m_ptMaxPositionX = -8; + - m_ptMaxPositionY = -30; + - m_nLeft = 50; + - m_nTop = 50; + - m_nRight = 1705; + - m_nBottom = 883; + } + - _wasOpenedOnCloseProject = 1; + - _theDiagram = { IHandle + - _m2Class = "IDiagram"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "block definition diagram_0"; + - _id = GUID 66e8cea3-dd1e-4b10-a65e-f164c94da1ba; + } + - _UpLeft = 0 0 ; + - _DownRight = 1378 823 ; + - _instanceName = ""; + - m_nDiagramIndex = 0; + - m_bIsActiveView = 1; + } + { CGEMdiDiagramParams + - _placement = { CCommon_WINDOWPLACEMENT + - m_nLength = 44; + - m_nFlags = 0; + - m_showCmd = 1; + - m_ptMinPositionX = -1; + - m_ptMinPositionY = -1; + - m_ptMaxPositionX = -8; + - m_ptMaxPositionY = -30; + - m_nLeft = 25; + - m_nTop = 25; + - m_nRight = 1680; + - m_nBottom = 858; + } + - _wasOpenedOnCloseProject = 1; + - _theDiagram = { IHandle + - _m2Class = "IDiagram"; + - _filename = ""; + - _subsystem = ""; + - _class = ""; + - _name = "Model1"; + - _id = GUID b38c904c-52b8-421d-92ca-3a96c944a3c5; + } + - _UpLeft = 0 0 ; + - _DownRight = 1618 774 ; + - _instanceName = ""; + - m_nDiagramIndex = 1; + - m_bIsActiveView = 0; + } + } + - _fullName = "D:\\VL222926\\Desktop\\rpyTMP\\Rph_Actors_And_Events_001"; + - m_SearchScopeList = { IRPYRawContainer + - size = 0; + } + - bUsingCustomBrowserView = 0; + - bUsingQueries = 0; + - bApplyOnDiagrams = 0; + - liQueryIDs = { IRPYRawContainer + - size = 0; + } + - liElementTypes = { IRPYRawContainer + - size = 0; + } + - mapOslcRmCollections = { IRPYRawContainer + - size = 0; + } + + - m_favoritesTree = { + count=1; + { - favoritesItem + generation = 0; + name = Favorites; + idOrFolder = folder; + } + } + +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.rpy b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.rpy new file mode 100755 index 00000000000..917a95ff881 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.rpy @@ -0,0 +1,313 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ IProject + - _id = GUID abdfc616-0f20-428d-8a91-35b13ae587ff; + - _myState = 8192; + - _name = "Rph_Actors_And_Events_001"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML"; + - _class = ""; + - _name = "SysML"; + - _id = GUID 052b8171-a32b-4f45-a829-5585f79f9deb; + } + } + - _modifiedTimeWeak = 1.12.2017::10:19:54; + - _UserColors = { IRPYRawContainer + - size = 16; + - value = 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; + } + - _defaultSubsystem = { ISubsystemHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID 337ad934-0dd7-4d29-a363-f6a451039341; + } + - _component = { IHandle + - _m2Class = "IComponent"; + - _filename = "DefaultComponent.cmp"; + - _subsystem = ""; + - _class = ""; + - _name = "DefaultComponent"; + - _id = GUID 39c93af1-49c5-433e-b76b-8263ef3ea73f; + } + - Multiplicities = { IRPYRawContainer + - size = 4; + - value = + { IMultiplicityItem + - _name = "1"; + - _count = -1; + } + { IMultiplicityItem + - _name = "*"; + - _count = -1; + } + { IMultiplicityItem + - _name = "0,1"; + - _count = -1; + } + { IMultiplicityItem + - _name = "1..*"; + - _count = -1; + } + } + - Subsystems = { IRPYRawContainer + - size = 3; + - value = + { ISubsystem + - fileName = "Default"; + - _id = GUID 337ad934-0dd7-4d29-a363-f6a451039341; + } + { IProfile + - fileName = "SysML"; + - _persistAs = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy"; + - _id = GUID d9689b73-885e-44c4-896b-de43defa0a33; + - _isReference = 1; + } + { IProfile + - fileName = "SysMLPerspectives"; + - _persistAs = "$OMROOT\\Settings\\SysMLPerspectives"; + - _id = GUID ab285915-0966-4322-a029-ffac3e6ef3df; + - _isReference = 1; + } + } + - Diagrams = { IRPYRawContainer + - size = 1; + - value = + { IDiagram + - _id = GUID b38c904c-52b8-421d-92ca-3a96c944a3c5; + - _myState = 8192; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "Format"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "DiagramFrame"; + - Properties = { IRPYRawContainer + - size = 8; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "20,20,590,500"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "247,247,247"; + - _Type = Color; + } + { IProperty + - _Name = "Fill.Transparent_Fill"; + - _Value = "0"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "194,192,192"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + } + } + } + } + - _name = "Model1"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Diagrams"; + - _class = ""; + - _name = "Block Definition Diagram"; + - _id = GUID 6c142614-3349-49e9-8c6b-0236be5f6b61; + } + } + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - _lastModifiedTime = "1.12.2017::10:11:32"; + - _graphicChart = { CGIClassChart + - _id = GUID c062110c-a9c0-4280-92aa-92acc2702c1c; + - m_type = 0; + - m_pModelObject = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID b38c904c-52b8-421d-92ca-3a96c944a3c5; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - elementList = 2; + { CGIClass + - _id = GUID 7abb9959-9cec-4417-b542-da7568653f0c; + - m_type = 78; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "TopLevel"; + - _id = GUID 5dbb87ca-b8b1-43a0-8c81-bb1201d9755b; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = "TopLevel"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIDiagramFrame + - _id = GUID b56341eb-8f97-417d-936e-8ed4f7ff6f38; + - m_type = 203; + - m_pModelObject = { IHandle + - _m2Class = ""; + } + - m_pParent = GUID 7abb9959-9cec-4417-b542-da7568653f0c; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_transform = 2.63889 0 0 3.63636 20 20 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 132 216 132 216 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + + - m_access = 'Z'; + - m_modified = 'N'; + - m_fileVersion = ""; + - m_nModifyDate = 0; + - m_nCreateDate = 0; + - m_creator = ""; + - m_bScaleWithZoom = 1; + - m_arrowStyle = 'S'; + - m_pRoot = GUID 7abb9959-9cec-4417-b542-da7568653f0c; + - m_currentLeftTop = 0 0 ; + - m_currentRightBottom = 0 0 ; + - m_bFreezeCompartmentContent = 0; + } + - _defaultSubsystem = { IHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID 337ad934-0dd7-4d29-a363-f6a451039341; + } + } + } + - Components = { IRPYRawContainer + - size = 1; + - value = + { IComponent + - fileName = "DefaultComponent"; + - _id = GUID 39c93af1-49c5-433e-b76b-8263ef3ea73f; + } + } +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.save b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.save new file mode 100755 index 00000000000..e69de29bb2d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001.save diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/Default.sbs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/Default.sbs new file mode 100755 index 00000000000..24fd9a6bf91 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/Default.sbs @@ -0,0 +1,675 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ ISubsystem + - _id = GUID 337ad934-0dd7-4d29-a363-f6a451039341; + - _myState = 8192; + - _name = "Default"; + - _modifiedTimeWeak = 1.12.2017::10:19:54; + - _lastID = 4; + - Declaratives = { IRPYRawContainer + - size = 2; + - value = + { IDiagram + - _id = GUID 66e8cea3-dd1e-4b10-a65e-f164c94da1ba; + - _myState = 10240; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "Format"; + - Metaclasses = { IRPYRawContainer + - size = 4; + - value = + { IPropertyMetaclass + - _Name = "Actor"; + - Properties = { IRPYRawContainer + - size = 7; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "0,0,53,142"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "255,255,255"; + - _Type = Color; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "109,163,217"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "0"; + - _Type = Int; + } + } + } + { IPropertyMetaclass + - _Name = "DiagramFrame"; + - Properties = { IRPYRawContainer + - size = 8; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "20,20,590,500"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "247,247,247"; + - _Type = Color; + } + { IProperty + - _Name = "Fill.Transparent_Fill"; + - _Value = "0"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "194,192,192"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + { IPropertyMetaclass + - _Name = "Event"; + - Properties = { IRPYRawContainer + - size = 8; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "0,0,108,73"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "255,255,255"; + - _Type = Color; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "109,163,217"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineStyle"; + - _Value = "0"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + { IPropertyMetaclass + - _Name = "Package"; + - Properties = { IRPYRawContainer + - size = 7; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "0,0,216,151"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "255,255,255"; + - _Type = Color; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "109,163,217"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + } + } + } + } + - _name = "block definition diagram_0"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Diagrams"; + - _class = ""; + - _name = "Block Definition Diagram"; + - _id = GUID 6c142614-3349-49e9-8c6b-0236be5f6b61; + } + } + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - _lastModifiedTime = "1.12.2017::10:15:10"; + - _graphicChart = { CGIClassChart + - _id = GUID e80f7c81-b084-4768-83ed-28fcab8e57ad; + - m_type = 0; + - m_pModelObject = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 66e8cea3-dd1e-4b10-a65e-f164c94da1ba; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - elementList = 7; + { CGIClass + - _id = GUID a8b4d0b7-81e4-414c-ad52-0fa365a184cf; + - m_type = 78; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _id = GUID 5dbb87ca-b8b1-43a0-8c81-bb1201d9755b; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = "TopLevel"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIDiagramFrame + - _id = GUID 0a680dc4-912c-4f32-955c-d492e590b30b; + - m_type = 203; + - m_pModelObject = { IHandle + - _m2Class = ""; + } + - m_pParent = GUID a8b4d0b7-81e4-414c-ad52-0fa365a184cf; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_transform = 2.63889 0 0 3.63636 20 20 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 132 216 132 216 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + { CGIBasicClass + - _id = GUID 5a62f2b5-068c-4246-bc50-e10dab7469c5; + - m_type = 124; + - m_pModelObject = { IHandle + - _m2Class = "IActor"; + - _id = GUID 3be16112-b3fc-4665-90f7-10ede6571a3f; + } + - m_pParent = GUID a8b4d0b7-81e4-414c-ad52-0fa365a184cf; + - m_name = { CGIText + - m_str = "actor_1"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 2056; + - m_transform = 0.0489381 0 0 0.124343 56.3869 19.6655 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 176 252 176 1394 1259 1394 1259 252 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + { CGIPackage + - _id = GUID aa141090-0946-4620-8be3-d7f2cc6fa77b; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "General"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "Graphics"; + - Properties = { IRPYRawContainer + - size = 1; + - value = + { IProperty + - _Name = "FitBoxToItsTextuals"; + - _Value = "False"; + - _Type = Bool; + } + } + } + } + } + } + } + - m_type = 127; + - m_pModelObject = { IHandle + - _m2Class = "ISubsystem"; + - _filename = "package_2.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "package_2"; + - _id = GUID c085a6c1-b0d8-4c37-ba3b-4398cdacf2bf; + } + - m_pParent = GUID a8b4d0b7-81e4-414c-ad52-0fa365a184cf; + - m_name = { CGIText + - m_str = "package_2"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 0.215461 0 0 0.264987 298 134.623 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 1151 1216 1151 1216 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + { CGIBasicClass + - _id = GUID d99ce40d-38be-44ad-87f0-9ecb52766501; + - m_type = 124; + - m_pModelObject = { IHandle + - _m2Class = "IActor"; + - _filename = "package_2.sbs"; + - _subsystem = "Default::package_2"; + - _class = ""; + - _name = "actor_0"; + - _id = GUID f52294ba-73f7-43cf-9009-476f35eb919f; + } + - m_pParent = GUID aa141090-0946-4620-8be3-d7f2cc6fa77b; + - m_name = { CGIText + - m_str = "package_2::actor_0"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 2056; + - m_transform = 0.172991 0 0 0.469243 386.778 60.5425 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 176 252 176 1394 1259 1394 1259 252 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + { CGIGenericElement + - _id = GUID 79833cbf-b988-4f50-ae03-e0de2d298a0c; + - m_type = 212; + - m_pModelObject = { IHandle + - _m2Class = "IEvent"; + - _id = GUID a6c3fae0-cc2e-4af9-ab89-9e5e0df8603f; + } + - m_pParent = GUID a8b4d0b7-81e4-414c-ad52-0fa365a184cf; + - m_name = { CGIText + - m_str = "event_3()"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 0.409091 0 0 0.675926 52 234 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 108 264 108 264 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + { CGIGenericElement + - _id = GUID e2c7585e-6803-43d0-9be2-99e9bbf519fa; + - m_type = 212; + - m_pModelObject = { IHandle + - _m2Class = "IEvent"; + - _filename = "package_2.sbs"; + - _subsystem = "Default::package_2"; + - _class = ""; + - _name = "event_1()"; + - _id = GUID 7b17a812-9fe7-4e7c-91af-d1dd42a275e4; + } + - m_pParent = GUID aa141090-0946-4620-8be3-d7f2cc6fa77b; + - m_name = { CGIText + - m_str = "event_1()"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 4104; + - m_transform = 1.89868 0 0 2.55079 190.29 824.106 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 108 264 108 264 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + + - m_access = 'Z'; + - m_modified = 'N'; + - m_fileVersion = ""; + - m_nModifyDate = 0; + - m_nCreateDate = 0; + - m_creator = ""; + - m_bScaleWithZoom = 1; + - m_arrowStyle = 'S'; + - m_pRoot = GUID a8b4d0b7-81e4-414c-ad52-0fa365a184cf; + - m_currentLeftTop = 0 0 ; + - m_currentRightBottom = 0 0 ; + - m_bFreezeCompartmentContent = 0; + } + - _defaultSubsystem = { IHandle + - _m2Class = "ISubsystem"; + - _id = GUID 337ad934-0dd7-4d29-a363-f6a451039341; + } + } + { ISubsystem + - fileName = "package_2"; + - _id = GUID c085a6c1-b0d8-4c37-ba3b-4398cdacf2bf; + } + } + - weakCGTime = 1.12.2017::10:19:54; + - strongCGTime = 1.2.1990::0:0:0; + - _defaultComposite = GUID 5dbb87ca-b8b1-43a0-8c81-bb1201d9755b; + - _eventsBaseID = 18601; + - Classes = { IRPYRawContainer + - size = 1; + - value = + { IClass + - _id = GUID 5dbb87ca-b8b1-43a0-8c81-bb1201d9755b; + - _myState = 40960; + - _name = "TopLevel"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - weakCGTime = 1.2.1990::0:0:0; + - strongCGTime = 1.2.1990::0:0:0; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + } + - Events = { IRPYRawContainer + - size = 1; + - value = + { IEvent + - _id = GUID a6c3fae0-cc2e-4af9-ab89-9e5e0df8603f; + - _myState = 10240; + - _name = "event_3"; + - _modifiedTimeWeak = 1.12.2017::10:14:58; + - _virtual = 0; + - Args = { IRPYRawContainer + - size = 0; + } + } + } + - Actors = { IRPYRawContainer + - size = 1; + - value = + { IActor + - _id = GUID 3be16112-b3fc-4665-90f7-10ede6571a3f; + - _myState = 10240; + - _name = "actor_1"; + - _modifiedTimeWeak = 1.12.2017::10:12:12; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID 66e8cea3-dd1e-4b10-a65e-f164c94da1ba; + } + - weakCGTime = 1.12.2017::10:12:12; + - strongCGTime = 1.12.2017::10:12:9; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + } + - _configurationRelatedTime = 1.1.1970::1:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/DefaultComponent.cmp b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/DefaultComponent.cmp new file mode 100755 index 00000000000..2a73a07c6e7 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/DefaultComponent.cmp @@ -0,0 +1,123 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ IComponent + - _id = GUID 39c93af1-49c5-433e-b76b-8263ef3ea73f; + - _myState = 139264; + - _name = "DefaultComponent"; + - _modifiedTimeWeak = 1.12.2017::10:19:54; + - m_buildType = Executable; + - m_libraries = ""; + - m_additionalSources = ""; + - m_standardHeaders = ""; + - m_includePath = ""; + - m_initializationCode = ""; + - m_folder = { IFolder + - _id = GUID ec076b86-292f-4549-92e5-cbd0438da538; + - _myState = 73728; + - _name = "Files"; + - _modifiedTimeWeak = 1.12.2017::10:11:30; + - m_path = ""; + - Elements = { IRPYRawContainer + - size = 0; + } + - Files = { IRPYRawContainer + - size = 0; + } + } + - m_configActive = { ICodeGenConfigInfoHandle + - _m2Class = "ICodeGenConfigInfo"; + - _id = GUID f8aaa1c1-70c9-4efb-af0f-61c6f0f3fedf; + } + - Configs = { IRPYRawContainer + - size = 1; + - value = + { ICodeGenConfigInfo + - _id = GUID f8aaa1c1-70c9-4efb-af0f-61c6f0f3fedf; + - _myState = 8192; + - _name = "DefaultConfig"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - _scopeType = Explicit; + - _libraries = ""; + - _additionalSources = ""; + - _standardHeaders = ""; + - _includePath = ""; + - _targetMain = ""; + - _instrumentation = None; + - _timeModel = RealTime; + - m_generateActors = 1; + - _statechartImplementation = Flat; + - _initializationCode = ""; + - _checksList = 0 ; + - ScopeElements = { IRPYRawContainer + - size = 0; + } + - InitialInstances = { IRPYRawContainer + - size = 0; + } + - _root = { IFolder + - _id = GUID ad59531b-81ac-4204-8859-61524c155490; + - _myState = 8192; + - _name = "DefaultConfig"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - m_path = ""; + - Elements = { IRPYRawContainer + - size = 0; + } + - Files = { IRPYRawContainer + - size = 0; + } + } + - weakCGTime = 1.2.1990::0:0:0; + - strongCGTime = 1.2.1990::0:0:0; + - AnimScopeElements = { IRPYRawContainer + - size = 0; + } + - m_allInAnimScope = 1; + - m_generateUsecases = 0; + } + } + - HandlesInMe = { IRPYRawContainer + - size = 4; + - value = + { IHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID 337ad934-0dd7-4d29-a363-f6a451039341; + } + { IHandle + - _m2Class = "ISubsystem"; + - _filename = "package_2.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "package_2"; + - _id = GUID c085a6c1-b0d8-4c37-ba3b-4398cdacf2bf; + } + { IHandle + - _m2Class = "IProfile"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "SysML"; + - _id = GUID d9689b73-885e-44c4-896b-de43defa0a33; + } + { IHandle + - _m2Class = "IProfile"; + - _filename = "$OMROOT\\Settings\\SysMLPerspectives\\SysMLPerspectives.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "SysMLPerspectives"; + - _id = GUID ab285915-0966-4322-a029-ffac3e6ef3df; + } + } + - VariationPoints = { IRPYRawContainer + - size = 0; + } + - SelectedVariants = { IRPYRawContainer + - size = 0; + } + - weakCGTime = 1.12.2017::10:19:54; + - strongCGTime = 1.2.1990::0:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/filesTable.dat b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/filesTable.dat new file mode 100755 index 00000000000..21572cc6cc8 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/filesTable.dat @@ -0,0 +1,11 @@ +I-Logix-RPY-Archive version 8.12.0 * 9728113 + +- filesTable = { IRPYRawContainer + - size = 4; + - value = "Rph_Actors_And_Events_001.rpy" "" + "Rph_Actors_And_Events_001_rpy\\Default.sbs" "Default" + "Rph_Actors_And_Events_001_rpy\\DefaultComponent.cmp" "DefaultComponent" + "Rph_Actors_And_Events_001_rpy\\package_2.sbs" "Default::package_2" + +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/package_2.sbs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/package_2.sbs new file mode 100755 index 00000000000..3fb3f48ab68 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/Inputs/Model/Rph_Actors_And_Events_001_rpy/package_2.sbs @@ -0,0 +1,78 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ ISubsystem + - _id = GUID c085a6c1-b0d8-4c37-ba3b-4398cdacf2bf; + - _myState = 10240; + - _name = "package_2"; + - _modifiedTimeWeak = 1.12.2017::10:19:54; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "block definition diagram_0"; + - _id = GUID 66e8cea3-dd1e-4b10-a65e-f164c94da1ba; + } + - _lastID = 2; + - weakCGTime = 1.12.2017::10:19:54; + - strongCGTime = 1.12.2017::10:12:30; + - _defaultComposite = GUID e22bf21a-5586-49b0-a8ae-abbde77fb476; + - _eventsBaseID = 5801; + - Classes = { IRPYRawContainer + - size = 1; + - value = + { IClass + - _id = GUID e22bf21a-5586-49b0-a8ae-abbde77fb476; + - _myState = 40960; + - _name = "TopLevel"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - weakCGTime = 1.2.1990::0:0:0; + - strongCGTime = 1.2.1990::0:0:0; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + } + - Events = { IRPYRawContainer + - size = 1; + - value = + { IEvent + - _id = GUID 7b17a812-9fe7-4e7c-91af-d1dd42a275e4; + - _myState = 10240; + - _name = "event_1"; + - _modifiedTimeWeak = 1.12.2017::10:15:7; + - _virtual = 0; + - Args = { IRPYRawContainer + - size = 0; + } + } + } + - Actors = { IRPYRawContainer + - size = 1; + - value = + { IActor + - _id = GUID f52294ba-73f7-43cf-9009-476f35eb919f; + - _myState = 10240; + - _name = "actor_0"; + - _modifiedTimeWeak = 1.12.2017::10:12:42; + - _theMainDiagram = { IHandle + - _m2Class = "IDiagram"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "block definition diagram_0"; + - _id = GUID 66e8cea3-dd1e-4b10-a65e-f164c94da1ba; + } + - weakCGTime = 1.12.2017::10:12:42; + - strongCGTime = 1.12.2017::10:12:35; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + } + - _configurationRelatedTime = 1.1.1970::1:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.di b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.di new file mode 100755 index 00000000000..bf9abab340f --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.di @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.notation b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.notation new file mode 100755 index 00000000000..39c0b9836b9 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.notation @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_cCHZsN1pEeaPE50IvOrJGw" type="BlockDefinition" name="block definition diagram_0" measurementUnit="Pixel"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZsd1pEeaPE50IvOrJGw" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZst1pEeaPE50IvOrJGw" key="Rhapsody Model Name" value="Rph_Actors_And_Events_001"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZs91pEeaPE50IvOrJGw" key="Rhapsody Version" value="version 8.12.0 C++ 9728113
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZtN1pEeaPE50IvOrJGw" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_cCHZtd1pEeaPE50IvOrJGw" type="shape_uml_actor_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_cCHZtt1pEeaPE50IvOrJGw" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_cCHZt91pEeaPE50IvOrJGw" visible="false" type="compartment_uml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZuN1pEeaPE50IvOrJGw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZud1pEeaPE50IvOrJGw" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_cCHZut1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZu91pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_cCHZvN1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_cCHZvd1pEeaPE50IvOrJGw"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="_cCHZvt1pEeaPE50IvOrJGw" visible="false" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZv91pEeaPE50IvOrJGw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZwN1pEeaPE50IvOrJGw" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_cCHZwd1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZwt1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_cCHZw91pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_cCHZxN1pEeaPE50IvOrJGw"/> + </children> + <element xmi:type="uml:Actor" href="Rph_Actors_And_Events_001.uml#GUID-3be16112-b3fc-4665-90f7-10ede6571a3f"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cCHZxd1pEeaPE50IvOrJGw" x="65" y="51" width="53" height="142"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_cCHZxt1pEeaPE50IvOrJGw" type="Package_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_cCHZx91pEeaPE50IvOrJGw" type="Package_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_cCHZyN1pEeaPE50IvOrJGw" type="Package_PackagedElementCompartment"> + <children xmi:type="notation:Shape" xmi:id="_cCHZyd1pEeaPE50IvOrJGw" type="shape_uml_actor_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_cCHZyt1pEeaPE50IvOrJGw" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_cCHZy91pEeaPE50IvOrJGw" visible="false" type="compartment_uml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZzN1pEeaPE50IvOrJGw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZzd1pEeaPE50IvOrJGw" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_cCHZzt1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZz91pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_cCHZ0N1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_cCHZ0d1pEeaPE50IvOrJGw"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="_cCHZ0t1pEeaPE50IvOrJGw" visible="false" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZ091pEeaPE50IvOrJGw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZ1N1pEeaPE50IvOrJGw" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_cCHZ1d1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZ1t1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_cCHZ191pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_cCHZ2N1pEeaPE50IvOrJGw"/> + </children> + <element xmi:type="uml:Actor" href="Rph_Actors_And_Events_001.uml#GUID-f52294ba-73f7-43cf-9009-476f35eb919f"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cCHZ2d1pEeaPE50IvOrJGw" x="90" y="47" width="40" height="142"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_cCHZ2t1pEeaPE50IvOrJGw" type="shape_uml_signal_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_cCHZ291pEeaPE50IvOrJGw" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_cCHZ3N1pEeaPE50IvOrJGw" visible="false" type="compartment_uml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZ3d1pEeaPE50IvOrJGw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZ3t1pEeaPE50IvOrJGw" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_cCHZ391pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZ4N1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_cCHZ4d1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_cCHZ4t1pEeaPE50IvOrJGw"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="_cCHZ491pEeaPE50IvOrJGw" visible="false" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZ5N1pEeaPE50IvOrJGw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZ5d1pEeaPE50IvOrJGw" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_cCHZ5t1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZ591pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_cCHZ6N1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_cCHZ6d1pEeaPE50IvOrJGw"/> + </children> + <element xmi:type="uml:Signal" href="Rph_Actors_And_Events_001.uml#GUID-7b17a812-9fe7-4e7c-91af-d1dd42a275e4"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cCHZ6t1pEeaPE50IvOrJGw" x="41" y="218" width="108" height="73"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZ691pEeaPE50IvOrJGw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cCHZ7N1pEeaPE50IvOrJGw"/> + </children> + <element xmi:type="uml:Package" href="Rph_Actors_And_Events_001.uml#GUID-c085a6c1-b0d8-4c37-ba3b-4398cdacf2bf"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cCHZ7d1pEeaPE50IvOrJGw" x="298" y="135" width="262" height="305"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_cCHZ7t1pEeaPE50IvOrJGw" type="shape_uml_signal_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_cCHZ791pEeaPE50IvOrJGw" type="label_uml_namedelement_name"/> + <children xmi:type="notation:ListCompartment" xmi:id="_cCHZ8N1pEeaPE50IvOrJGw" visible="false" type="compartment_uml_property_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZ8d1pEeaPE50IvOrJGw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZ8t1pEeaPE50IvOrJGw" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_cCHZ891pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZ9N1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_cCHZ9d1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_cCHZ9t1pEeaPE50IvOrJGw"/> + </children> + <children xmi:type="notation:ListCompartment" xmi:id="_cCHZ991pEeaPE50IvOrJGw" visible="false" type="compartment_uml_operation_as_list"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHZ-N1pEeaPE50IvOrJGw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHZ-d1pEeaPE50IvOrJGw" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:DrawerStyle" xmi:id="_cCHZ-t1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_cCHZ-91pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_cCHZ_N1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_cCHZ_d1pEeaPE50IvOrJGw"/> + </children> + <element xmi:type="uml:Signal" href="Rph_Actors_And_Events_001.uml#GUID-a6c3fae0-cc2e-4af9-ab89-9e5e0df8603f"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cCHZ_t1pEeaPE50IvOrJGw" x="52" y="234" width="108" height="73"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_cCHZ_91pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_cCHaAN1pEeaPE50IvOrJGw" name="diagram_compatibility_version" stringValue="1.2.0"/> + <element xmi:type="uml:Package" href="Rph_Actors_And_Events_001.uml#GUID-337ad934-0dd7-4d29-a363-f6a451039341"/> + </notation:Diagram> + <notation:Diagram xmi:id="_cCHaAd1pEeaPE50IvOrJGw" type="BlockDefinition" name="Model1" measurementUnit="Pixel"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_cCHaAt1pEeaPE50IvOrJGw" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHaA91pEeaPE50IvOrJGw" key="Rhapsody Model Name" value="Rph_Actors_And_Events_001"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHaBN1pEeaPE50IvOrJGw" key="Rhapsody Version" value="version 8.12.0 C++ 9728113
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_cCHaBd1pEeaPE50IvOrJGw" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <styles xmi:type="notation:DiagramStyle" xmi:id="_cCHaBt1pEeaPE50IvOrJGw"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_cCHaB91pEeaPE50IvOrJGw" name="diagram_compatibility_version" stringValue="1.2.0"/> + <element xmi:type="uml:Package" href="Rph_Actors_And_Events_001.uml#GUID-337ad934-0dd7-4d29-a363-f6a451039341"/> + </notation:Diagram> +</xmi:XMI>
\ No newline at end of file diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.properties b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.properties new file mode 100755 index 00000000000..5c4c373e8c9 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.properties @@ -0,0 +1 @@ +#Wed Jan 18 11:32:40 CET 2017
\ No newline at end of file diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.uml b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.uml new file mode 100755 index 00000000000..c5142e8071a --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.uml @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff" name="Rph_Actors_And_Events_001"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-EAnnotation--448205768" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-EAnnotation--448205768-EStringToStringMapEntry--1539448500-1037342239" key="Rhapsody Model Name" value="Rph_Actors_And_Events_001"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-EAnnotation--448205768-EStringToStringMapEntry--1450492658--463603529" key="Rhapsody Version" value="version 8.12.0 C++ 9728113
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-EAnnotation--448205768-EStringToStringMapEntry-659752885--1799222281" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <packageImport xmi:type="uml:PackageImport" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-PackageImport-PrimitiveTypes"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-337ad934-0dd7-4d29-a363-f6a451039341" name="Default"> + <packagedElement xmi:type="uml:Signal" xmi:id="GUID-a6c3fae0-cc2e-4af9-ab89-9e5e0df8603f" name="event_3"/> + <packagedElement xmi:type="uml:Actor" xmi:id="GUID-3be16112-b3fc-4665-90f7-10ede6571a3f" name="actor_1"/> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-c085a6c1-b0d8-4c37-ba3b-4398cdacf2bf" name="package_2"> + <packagedElement xmi:type="uml:Signal" xmi:id="GUID-7b17a812-9fe7-4e7c-91af-d1dd42a275e4" name="event_1"/> + <packagedElement xmi:type="uml:Actor" xmi:id="GUID-f52294ba-73f7-43cf-9009-476f35eb919f" name="actor_0"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-0d7c31da-7afa-4eca-b608-47dcf53db5ec" name="PredefinedTypes"> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-9503fd72-4374-4a1d-9a70-b60508d8f583" name="RhpInteger"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-b7e65bea-6691-4590-9603-62027199b5ea" name="RhpCharacter"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-ae5e3720-4e3e-40f1-9346-9a8b4e501f35" name="RhpString"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-34e00222-aae8-4bb2-b23a-cd349dbe0c8e" name="RhpReal"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-cd984976-2388-43e6-b12f-11af05b7d764" name="RhpVoid"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-c15c3cb5-b121-483b-a09d-9eeb3706739c" name="RhpPositive"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-90328072-ef68-42d6-836a-28b3a821ade8" name="RhpAddress"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-f19b56f2-78ab-44fa-860e-6ead487ecb07" name="RhpBoolean"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-64be9919-e542-4c33-b533-2547e77ae343" name="RhpUnlimitedNatural"/> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-ab2bdee5-8a4f-47c9-ba7a-e2dccbdeeb45" name="SearchTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-ba527dea-46cd-4298-9500-f5cbf7ba3132" name="ExactString"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-db64d14a-335e-4c67-9a98-9e5e9e075c3e" name="WildCardSearch"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-55dda544-5679-4071-b664-4020bbdc0b88" name="RegularExpSearch"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-693e6225-b80c-4632-b3d8-9b2c5873c915" name="SearchUnresolvedEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-8c7fe176-2afd-4a9b-89c2-3405e84039b9" name="IgnoreUnresolved"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-894d2de0-2208-4f93-bab9-cbcafe48bab1" name="ShowUnresolved"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-65137ae7-0f59-48a6-8213-c45ed4fadb10" name="OnlyUnresolvedUnloaded"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-20f1e2d7-a8d9-47e3-ba8e-79c8a90bb771" name="SearchRelRefAmountTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-b6a2af8e-cdeb-4143-8181-e468a3e830b0" name="MoreThan"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-581f8625-8d22-4287-b0e9-0b1d79c5b4ca" name="LessThan"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-29400a42-439c-482c-876a-4d0b674b466b" name="Exactly"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-1f51c8cc-5b4f-4e36-a391-d8a3d29b610a" name="SearchRelRefHowRelatedEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-248fe4b1-2395-44b8-b070-0f4558d6d2f6" name="NotChosen_HowRelated"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-960a425f-ba68-47f5-a79a-f248cc640733" name="IncomingRelations"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-cb741723-346f-4cc6-917a-2c47b6544d7d" name="OutgoingRelations"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-e570ab67-1908-4313-87bc-a92018c40f9e" name="ChildElements"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-028dad2d-a2ac-40e8-98ac-01af0bc9f70b" name="References"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-febff302-512d-45f1-9066-8436c3acc6fe" name="DiagramElements"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-16ad8b9b-888c-4f32-80e5-8eeaa7111d07" name="MetricsChartTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-02c01db6-710b-467e-804e-c264dfaabef7" name="BarGraph"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-35c7ee7a-13ed-4ccf-a070-056c01fa7754" name="PieChart"/> + </packagedElement> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-34ab43c6-e05a-46a1-b6b5-3efc74493294" name="Untyped"/> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::ModelElements"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::ModelElements-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Blocks"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Blocks-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::PortAndFlows"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::PortAndFlows-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Constraints"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Constraints-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Activities"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Activities-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Allocations"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Allocations-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Requirements"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Requirements-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Interactions"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::Interactions-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::StateMachines"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::StateMachines-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::UseCases"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-abdfc616-0f20-428d-8a91-35b13ae587ff-ProfileApplication-SysML::UseCases-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/> + </profileApplication> +</uml:Model> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/screenshots/BDD.PNG b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/screenshots/BDD.PNG Binary files differnew file mode 100755 index 00000000000..cfb907ced74 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_Actors_And_Events_001/screenshots/BDD.PNG diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.ehl b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.ehl new file mode 100755 index 00000000000..2c2ad5d70fe --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.ehl @@ -0,0 +1,3 @@ +[Op Calls] +[Events] +[Breakpoints] diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.rpw b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.rpw new file mode 100755 index 00000000000..1e1bfa13779 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.rpw @@ -0,0 +1,67 @@ +I-Logix-RPY-Archive version 8.12.0 * 9728113 +{ CGEMdiWorkspace + - stubList = { IRPYRawContainer + - size = 0; + } + - isLoadOnDemand = 0; + - myViewsWithID = { IRPYRawContainer + - size = 1; + - value = + { CGEMdiDiagramParams + - _placement = { CCommon_WINDOWPLACEMENT + - m_nLength = 44; + - m_nFlags = 2; + - m_showCmd = 3; + - m_ptMinPositionX = -1; + - m_ptMinPositionY = -1; + - m_ptMaxPositionX = -8; + - m_ptMaxPositionY = -30; + - m_nLeft = 75; + - m_nTop = 75; + - m_nRight = 1199; + - m_nBottom = 644; + } + - _wasOpenedOnCloseProject = 1; + - _theDiagram = { IHandle + - _m2Class = "IDiagram"; + - _filename = ""; + - _subsystem = ""; + - _class = ""; + - _name = "Model1"; + - _id = GUID c70d3411-5e13-4c08-ae95-3b5be11995b5; + } + - _UpLeft = 0 0 ; + - _DownRight = 1378 823 ; + - _instanceName = ""; + - m_nDiagramIndex = 0; + - m_bIsActiveView = 1; + } + } + - _fullName = "D:\\VL222926\\Desktop\\rpyTMP\\Rph_LibraryImport_001\\Rph_LibraryImport_001"; + - m_SearchScopeList = { IRPYRawContainer + - size = 0; + } + - bUsingCustomBrowserView = 0; + - bUsingQueries = 0; + - bApplyOnDiagrams = 0; + - liQueryIDs = { IRPYRawContainer + - size = 0; + } + - liElementTypes = { IRPYRawContainer + - size = 0; + } + - mapOslcRmCollections = { IRPYRawContainer + - size = 0; + } + + - m_favoritesTree = { + count=1; + { - favoritesItem + generation = 0; + name = Favorites; + idOrFolder = folder; + } + } + +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.rpy b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.rpy new file mode 100755 index 00000000000..5da3214b82d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.rpy @@ -0,0 +1,313 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ IProject + - _id = GUID 420979e3-ed15-4094-af5a-c8d117603bd2; + - _myState = 8192; + - _name = "Rph_LibraryImport_001"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML"; + - _class = ""; + - _name = "SysML"; + - _id = GUID 052b8171-a32b-4f45-a829-5585f79f9deb; + } + } + - _modifiedTimeWeak = 1.12.2017::15:33:53; + - _UserColors = { IRPYRawContainer + - size = 16; + - value = 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; 16777215; + } + - _defaultSubsystem = { ISubsystemHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID b31fcd11-4230-4a83-85e5-ed16472029b6; + } + - _component = { IHandle + - _m2Class = "IComponent"; + - _filename = "DefaultComponent.cmp"; + - _subsystem = ""; + - _class = ""; + - _name = "DefaultComponent"; + - _id = GUID 91326338-89a8-406e-87b5-ae740a5cc1ea; + } + - Multiplicities = { IRPYRawContainer + - size = 4; + - value = + { IMultiplicityItem + - _name = "1"; + - _count = -1; + } + { IMultiplicityItem + - _name = "*"; + - _count = -1; + } + { IMultiplicityItem + - _name = "0,1"; + - _count = -1; + } + { IMultiplicityItem + - _name = "1..*"; + - _count = -1; + } + } + - Subsystems = { IRPYRawContainer + - size = 3; + - value = + { ISubsystem + - fileName = "Default"; + - _id = GUID b31fcd11-4230-4a83-85e5-ed16472029b6; + } + { IProfile + - fileName = "SysML"; + - _persistAs = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy"; + - _id = GUID d9689b73-885e-44c4-896b-de43defa0a33; + - _isReference = 1; + } + { IProfile + - fileName = "SysMLPerspectives"; + - _persistAs = "$OMROOT\\Settings\\SysMLPerspectives"; + - _id = GUID ab285915-0966-4322-a029-ffac3e6ef3df; + - _isReference = 1; + } + } + - Diagrams = { IRPYRawContainer + - size = 1; + - value = + { IDiagram + - _id = GUID c70d3411-5e13-4c08-ae95-3b5be11995b5; + - _myState = 8192; + - _properties = { IPropertyContainer + - Subjects = { IRPYRawContainer + - size = 1; + - value = + { IPropertySubject + - _Name = "Format"; + - Metaclasses = { IRPYRawContainer + - size = 1; + - value = + { IPropertyMetaclass + - _Name = "DiagramFrame"; + - Properties = { IRPYRawContainer + - size = 8; + - value = + { IProperty + - _Name = "DefaultSize"; + - _Value = "20,20,590,500"; + - _Type = String; + } + { IProperty + - _Name = "Fill.FillColor"; + - _Value = "247,247,247"; + - _Type = Color; + } + { IProperty + - _Name = "Fill.Transparent_Fill"; + - _Value = "0"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Font"; + - _Value = "Tahoma"; + - _Type = String; + } + { IProperty + - _Name = "Font.Size"; + - _Value = "8"; + - _Type = Int; + } + { IProperty + - _Name = "Font.Weight@Child.NameCompartment@Name"; + - _Value = "700"; + - _Type = Int; + } + { IProperty + - _Name = "Line.LineColor"; + - _Value = "194,192,192"; + - _Type = Color; + } + { IProperty + - _Name = "Line.LineWidth"; + - _Value = "1"; + - _Type = Int; + } + } + } + } + } + } + } + - _name = "Model1"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Diagrams"; + - _class = ""; + - _name = "Block Definition Diagram"; + - _id = GUID 6c142614-3349-49e9-8c6b-0236be5f6b61; + } + } + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - _lastModifiedTime = "1.12.2017::15:33:53"; + - _graphicChart = { CGIClassChart + - _id = GUID 27e9c52c-7945-45b5-a3d5-7759abc86a0b; + - m_type = 0; + - m_pModelObject = { IHandle + - _m2Class = "IDiagram"; + - _id = GUID c70d3411-5e13-4c08-ae95-3b5be11995b5; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - elementList = 2; + { CGIClass + - _id = GUID 246c7c8e-c8a9-4474-91f0-01a32d388790; + - m_type = 78; + - m_pModelObject = { IHandle + - _m2Class = "IClass"; + - _filename = "Default.sbs"; + - _subsystem = "Default"; + - _class = ""; + - _name = "TopLevel"; + - _id = GUID b12d7d74-2e9f-41ac-8fdb-3cb3cb34d46d; + } + - m_pParent = ; + - m_name = { CGIText + - m_str = "TopLevel"; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 5; + } + - m_drawBehavior = 0; + - m_bIsPreferencesInitialized = 0; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + - Attrs = { IRPYRawContainer + - size = 0; + } + - Operations = { IRPYRawContainer + - size = 0; + } + } + { CGIDiagramFrame + - _id = GUID d39c4f68-ecd4-4e51-9a3b-f37b7b405c7b; + - m_type = 203; + - m_pModelObject = { IHandle + - _m2Class = ""; + } + - m_pParent = GUID 246c7c8e-c8a9-4474-91f0-01a32d388790; + - m_name = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 8; + } + - m_drawBehavior = 4096; + - m_transform = 2.63889 0 0 3.63636 20 20 ; + - m_bIsPreferencesInitialized = 1; + - m_AdditionalLabel = { CGIText + - m_str = ""; + - m_style = "Arial" 10 0 0 0 1 ; + - m_color = { IColor + - m_fgColor = 0; + - m_bgColor = 0; + - m_bgFlag = 0; + } + - m_position = 1 0 0 ; + - m_nIdent = 0; + - m_bImplicitSetRectPoints = 0; + - m_nOrientationCtrlPt = 1; + } + - m_polygon = 4 0 0 0 132 216 132 216 0 ; + - m_nNameFormat = 0; + - m_nIsNameFormat = 0; + - Compartments = { IRPYRawContainer + - size = 0; + } + } + + - m_access = 'Z'; + - m_modified = 'N'; + - m_fileVersion = ""; + - m_nModifyDate = 0; + - m_nCreateDate = 0; + - m_creator = ""; + - m_bScaleWithZoom = 1; + - m_arrowStyle = 'S'; + - m_pRoot = GUID 246c7c8e-c8a9-4474-91f0-01a32d388790; + - m_currentLeftTop = 0 0 ; + - m_currentRightBottom = 0 0 ; + - m_bFreezeCompartmentContent = 0; + } + - _defaultSubsystem = { IHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID b31fcd11-4230-4a83-85e5-ed16472029b6; + } + } + } + - Components = { IRPYRawContainer + - size = 1; + - value = + { IComponent + - fileName = "DefaultComponent"; + - _id = GUID 91326338-89a8-406e-87b5-ae740a5cc1ea; + } + } +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.save b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.save new file mode 100755 index 00000000000..e69de29bb2d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001.save diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/Default.sbs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/Default.sbs new file mode 100755 index 00000000000..386b98fd5ad --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/Default.sbs @@ -0,0 +1,118 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ ISubsystem + - _id = GUID b31fcd11-4230-4a83-85e5-ed16472029b6; + - _myState = 8192; + - _name = "Default"; + - _modifiedTimeWeak = 1.12.2017::15:35:7; + - _lastID = 1; + - weakCGTime = 1.12.2017::15:35:7; + - strongCGTime = 1.2.1990::0:0:0; + - _defaultComposite = GUID b12d7d74-2e9f-41ac-8fdb-3cb3cb34d46d; + - _eventsBaseID = -1; + - Classes = { IRPYRawContainer + - size = 2; + - value = + { IClass + - _id = GUID b12d7d74-2e9f-41ac-8fdb-3cb3cb34d46d; + - _myState = 40960; + - _name = "TopLevel"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - weakCGTime = 1.2.1990::0:0:0; + - strongCGTime = 1.2.1990::0:0:0; + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + { IClass + - _id = GUID a809dd99-7428-433c-9c3d-fe2d6f0eadee; + - _myState = 10240; + - _name = "block_0"; + - Stereotypes = { IRPYRawContainer + - size = 1; + - value = + { IHandle + - _m2Class = "IStereotype"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = "SysML::Blocks"; + - _class = ""; + - _name = "Block"; + - _id = GUID f685432f-691e-4ff1-be70-4d09d19457e1; + } + } + - _modifiedTimeWeak = 1.12.2017::15:36:29; + - _lastID = 1; + - weakCGTime = 1.12.2017::15:36:29; + - strongCGTime = 1.12.2017::15:34:5; + - Attrs = { IRPYRawContainer + - size = 3; + - value = + { IAttribute + - _id = GUID 2b73684a-e350-4754-a551-c4b4b31f6c18; + - _myState = 10240; + - _name = "attribute_0"; + - _modifiedTimeWeak = 1.12.2017::15:34:16; + - _typeOf = { IHandle + - _m2Class = "IType"; + - _filename = "PredefinedTypesC++.sbs"; + - _subsystem = "PredefinedTypesCpp"; + - _class = ""; + - _name = "int"; + - _id = GUID 6024c6ab-fe9e-402e-954f-27aca6d3b5e4; + } + - _isOrdered = 0; + - _protection = iPublic; + - _static = 0; + - _isReference = 0; + - _isConstant = 0; + } + { IAttribute + - _id = GUID 753d1612-5f39-4c44-a016-c424fb1b130a; + - _myState = 8192; + - _name = "attribute_1"; + - _modifiedTimeWeak = 1.12.2017::15:35:7; + - _typeOf = { IHandle + - _m2Class = "IType"; + - _filename = "PredefinedTypes.sbs"; + - _subsystem = "PredefinedTypes"; + - _class = ""; + - _name = "RhpInteger"; + - _id = GUID 9503fd72-4374-4a1d-9a70-b60508d8f583; + } + - _isOrdered = 0; + - _protection = iPublic; + - _static = 0; + - _isReference = 0; + - _isConstant = 0; + } + { IAttribute + - _id = GUID 3a196e85-90cf-4585-b6b5-9918c9836faf; + - _myState = 8192; + - _name = "attribute_2"; + - _modifiedTimeWeak = 1.12.2017::15:36:29; + - _typeOf = { IHandle + - _m2Class = "IType"; + - _filename = "PredefinedTypesC++.sbs"; + - _subsystem = "PredefinedTypesCpp"; + - _class = ""; + - _name = "OMString"; + - _id = GUID 1af3f2a5-fcc3-48cd-b086-29e9f0c30052; + } + - _isOrdered = 0; + - _protection = iPublic; + - _static = 0; + - _isReference = 0; + - _isConstant = 0; + } + } + - _multiplicity = ""; + - _itsStateChart = { IHandle + - _m2Class = ""; + } + - _classModifier = Unspecified; + } + } + - _configurationRelatedTime = 1.1.1970::1:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/DefaultComponent.cmp b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/DefaultComponent.cmp new file mode 100755 index 00000000000..4d371fc4c74 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/DefaultComponent.cmp @@ -0,0 +1,115 @@ +I-Logix-RPY-Archive version 8.12.0 C++ 9728113 +{ IComponent + - _id = GUID 91326338-89a8-406e-87b5-ae740a5cc1ea; + - _myState = 139264; + - _name = "DefaultComponent"; + - _modifiedTimeWeak = 1.12.2017::15:33:53; + - m_buildType = Executable; + - m_libraries = ""; + - m_additionalSources = ""; + - m_standardHeaders = ""; + - m_includePath = ""; + - m_initializationCode = ""; + - m_folder = { IFolder + - _id = GUID 0c5cdea3-30dd-4cef-9295-aac006cd2fb4; + - _myState = 73728; + - _name = "Files"; + - _modifiedTimeWeak = 1.12.2017::15:33:52; + - m_path = ""; + - Elements = { IRPYRawContainer + - size = 0; + } + - Files = { IRPYRawContainer + - size = 0; + } + } + - m_configActive = { ICodeGenConfigInfoHandle + - _m2Class = "ICodeGenConfigInfo"; + - _id = GUID 04deec47-a8d0-4c64-a574-a4aa0ed99d87; + } + - Configs = { IRPYRawContainer + - size = 1; + - value = + { ICodeGenConfigInfo + - _id = GUID 04deec47-a8d0-4c64-a574-a4aa0ed99d87; + - _myState = 8192; + - _name = "DefaultConfig"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - _scopeType = Explicit; + - _libraries = ""; + - _additionalSources = ""; + - _standardHeaders = ""; + - _includePath = ""; + - _targetMain = ""; + - _instrumentation = None; + - _timeModel = RealTime; + - m_generateActors = 1; + - _statechartImplementation = Flat; + - _initializationCode = ""; + - _checksList = 0 ; + - ScopeElements = { IRPYRawContainer + - size = 0; + } + - InitialInstances = { IRPYRawContainer + - size = 0; + } + - _root = { IFolder + - _id = GUID a0afdd70-1d50-46c9-8d28-b41e0dcdb612; + - _myState = 8192; + - _name = "DefaultConfig"; + - _modifiedTimeWeak = 1.2.1990::0:0:0; + - m_path = ""; + - Elements = { IRPYRawContainer + - size = 0; + } + - Files = { IRPYRawContainer + - size = 0; + } + } + - weakCGTime = 1.2.1990::0:0:0; + - strongCGTime = 1.2.1990::0:0:0; + - AnimScopeElements = { IRPYRawContainer + - size = 0; + } + - m_allInAnimScope = 1; + - m_generateUsecases = 0; + } + } + - HandlesInMe = { IRPYRawContainer + - size = 3; + - value = + { IHandle + - _m2Class = "ISubsystem"; + - _filename = "Default.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "Default"; + - _id = GUID b31fcd11-4230-4a83-85e5-ed16472029b6; + } + { IHandle + - _m2Class = "IProfile"; + - _filename = "$OMROOT\\Profiles\\SysML\\SysMLProfile_rpy\\SysML.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "SysML"; + - _id = GUID d9689b73-885e-44c4-896b-de43defa0a33; + } + { IHandle + - _m2Class = "IProfile"; + - _filename = "$OMROOT\\Settings\\SysMLPerspectives\\SysMLPerspectives.sbs"; + - _subsystem = ""; + - _class = ""; + - _name = "SysMLPerspectives"; + - _id = GUID ab285915-0966-4322-a029-ffac3e6ef3df; + } + } + - VariationPoints = { IRPYRawContainer + - size = 0; + } + - SelectedVariants = { IRPYRawContainer + - size = 0; + } + - weakCGTime = 1.12.2017::15:33:53; + - strongCGTime = 1.2.1990::0:0:0; +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/filesTable.dat b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/filesTable.dat new file mode 100755 index 00000000000..7855c49f383 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/Inputs/Model/Rph_LibraryImport_001_rpy/filesTable.dat @@ -0,0 +1,10 @@ +I-Logix-RPY-Archive version 8.12.0 * 9728113 + +- filesTable = { IRPYRawContainer + - size = 3; + - value = "Rph_LibraryImport_001.rpy" "" + "Rph_LibraryImport_001_rpy\\Default.sbs" "Default" + "Rph_LibraryImport_001_rpy\\DefaultComponent.cmp" "DefaultComponent" + +} + diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.di b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.di new file mode 100755 index 00000000000..bf9abab340f --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.di @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.notation b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.notation new file mode 100755 index 00000000000..3455ff05e46 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.notation @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_YWlH4NzAEea4K6xARJBg7g" type="BlockDefinition" name="Model1" measurementUnit="Pixel"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YWlH4dzAEea4K6xARJBg7g" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YWlH4tzAEea4K6xARJBg7g" key="Rhapsody Model Name" value="Rph_LibraryImport_001"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YWlH49zAEea4K6xARJBg7g" key="Rhapsody Version" value="version 8.12.0 C++ 9728113
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YWlH5NzAEea4K6xARJBg7g" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <styles xmi:type="notation:DiagramStyle" xmi:id="_YWlH5dzAEea4K6xARJBg7g"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_YWlH5tzAEea4K6xARJBg7g" name="diagram_compatibility_version" stringValue="1.2.0"/> + <element xmi:type="uml:Package" href="Rph_LibraryImport_001.uml#GUID-b31fcd11-4230-4a83-85e5-ed16472029b6"/> +</notation:Diagram> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.properties b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.properties new file mode 100755 index 00000000000..afac1e42c62 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.properties @@ -0,0 +1 @@ +#Tue Jan 17 15:22:31 CET 2017 diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.uml b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.uml new file mode 100755 index 00000000000..3d0eb5322b5 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.uml @@ -0,0 +1,145 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/0.7.0/SysML/Blocks http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"> + <uml:Model xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2" name="Rph_LibraryImport_001"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-EAnnotation--448205768" source="Imported from a Rhapsody Model"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-EAnnotation--448205768-EStringToStringMapEntry--1539448500-1938285149" key="Rhapsody Model Name" value="Rph_LibraryImport_001"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-EAnnotation--448205768-EStringToStringMapEntry--1450492658--463603529" key="Rhapsody Version" value="version 8.12.0 C++ 9728113
"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-EAnnotation--448205768-EStringToStringMapEntry-659752885--1799222281" key="Papyrus Rhapsody Import Bundle Version" value="0.7.0.qualifier"/> + </eAnnotations> + <packageImport xmi:type="uml:PackageImport" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-PackageImport-PrimitiveTypes"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-b31fcd11-4230-4a83-85e5-ed16472029b6" name="Default"> + <packagedElement xmi:type="uml:Class" xmi:id="GUID-a809dd99-7428-433c-9c3d-fe2d6f0eadee" name="block_0"> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-2b73684a-e350-4754-a551-c4b4b31f6c18" name="attribute_0" type="GUID-6024c6ab-fe9e-402e-954f-27aca6d3b5e4" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-753d1612-5f39-4c44-a016-c424fb1b130a" name="attribute_1" type="GUID-9503fd72-4374-4a1d-9a70-b60508d8f583" aggregation="composite"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="GUID-3a196e85-90cf-4585-b6b5-9918c9836faf" name="attribute_2" type="GUID-1af3f2a5-fcc3-48cd-b086-29e9f0c30052" aggregation="composite"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="GUID-0d7c31da-7afa-4eca-b608-47dcf53db5ec" name="PredefinedTypes"> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-9503fd72-4374-4a1d-9a70-b60508d8f583" name="RhpInteger"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-b7e65bea-6691-4590-9603-62027199b5ea" name="RhpCharacter"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-ae5e3720-4e3e-40f1-9346-9a8b4e501f35" name="RhpString"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-34e00222-aae8-4bb2-b23a-cd349dbe0c8e" name="RhpReal"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-cd984976-2388-43e6-b12f-11af05b7d764" name="RhpVoid"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-c15c3cb5-b121-483b-a09d-9eeb3706739c" name="RhpPositive"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-90328072-ef68-42d6-836a-28b3a821ade8" name="RhpAddress"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-f19b56f2-78ab-44fa-860e-6ead487ecb07" name="RhpBoolean"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-64be9919-e542-4c33-b533-2547e77ae343" name="RhpUnlimitedNatural"/> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-ab2bdee5-8a4f-47c9-ba7a-e2dccbdeeb45" name="SearchTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-ba527dea-46cd-4298-9500-f5cbf7ba3132" name="ExactString"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-db64d14a-335e-4c67-9a98-9e5e9e075c3e" name="WildCardSearch"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-55dda544-5679-4071-b664-4020bbdc0b88" name="RegularExpSearch"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-693e6225-b80c-4632-b3d8-9b2c5873c915" name="SearchUnresolvedEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-8c7fe176-2afd-4a9b-89c2-3405e84039b9" name="IgnoreUnresolved"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-894d2de0-2208-4f93-bab9-cbcafe48bab1" name="ShowUnresolved"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-65137ae7-0f59-48a6-8213-c45ed4fadb10" name="OnlyUnresolvedUnloaded"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-20f1e2d7-a8d9-47e3-ba8e-79c8a90bb771" name="SearchRelRefAmountTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-b6a2af8e-cdeb-4143-8181-e468a3e830b0" name="MoreThan"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-581f8625-8d22-4287-b0e9-0b1d79c5b4ca" name="LessThan"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-29400a42-439c-482c-876a-4d0b674b466b" name="Exactly"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-1f51c8cc-5b4f-4e36-a391-d8a3d29b610a" name="SearchRelRefHowRelatedEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-248fe4b1-2395-44b8-b070-0f4558d6d2f6" name="NotChosen_HowRelated"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-960a425f-ba68-47f5-a79a-f248cc640733" name="IncomingRelations"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-cb741723-346f-4cc6-917a-2c47b6544d7d" name="OutgoingRelations"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-e570ab67-1908-4313-87bc-a92018c40f9e" name="ChildElements"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-028dad2d-a2ac-40e8-98ac-01af0bc9f70b" name="References"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-febff302-512d-45f1-9066-8436c3acc6fe" name="DiagramElements"/> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="GUID-16ad8b9b-888c-4f32-80e5-8eeaa7111d07" name="MetricsChartTypeEnum"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-02c01db6-710b-467e-804e-c264dfaabef7" name="BarGraph"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="GUID-35c7ee7a-13ed-4ccf-a070-056c01fa7754" name="PieChart"/> + </packagedElement> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-34ab43c6-e05a-46a1-b6b5-3efc74493294" name="Untyped"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="OLDID-31" name="PredefinedTypesCpp"> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-6024c6ab-fe9e-402e-954f-27aca6d3b5e4" name="int"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-717461b3-278b-47c8-9526-c62c7be55b14" name="char"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-a1f818e6-c022-42d5-bbc0-075bf073b055" name="char*"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-02ef7294-6849-47b9-9fb2-cfb87b56d2ad" name="double"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-c6b70728-b655-45a0-abb7-8ea5d3da94be" name="void"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-8d6ece2f-4774-4e46-a346-b71b55717d33" name="long"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-68975846-a809-4f2e-9f11-00ad6073974c" name="void *"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-acbdc4af-48eb-46da-b59c-929d016f0498" name="OMBoolean"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-1af3f2a5-fcc3-48cd-b086-29e9f0c30052" name="OMString"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-620bab5d-356a-4f83-9d6c-82cd4335f315" name="short"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-7688bde5-e3a0-4b4d-bcd7-cbfa35c3b811" name="unsigned int"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-77bfd7dd-107e-4af2-a566-2d076f08e5c1" name="unsigned short"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-9d8f4778-cb8b-4170-b0f4-dde265622dc0" name="unsigned char"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-c8a5c793-f60c-46d1-80a0-4ea6d9338a78" name="unsigned long"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-99104309-1ad3-4198-867b-4b18db727593" name="long double"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-e6c263cc-4bc5-4a11-b32d-02148c93add0" name="bool"/> + <packagedElement xmi:type="uml:DataType" xmi:id="GUID-49a1890b-9064-409b-bd56-859d88083577" name="float"/> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_TZ_nULU5EduiKqCzJMWbGw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::ModelElements"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::ModelElements-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_Gx8MgLX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Blocks"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Blocks-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_fSw28LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::PortAndFlows"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::PortAndFlows-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//portandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_rpx28LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Constraints"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Constraints-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//constraints"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_5WYJ0LX7EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Activities"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Activities-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_C2zXMLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Allocations"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Allocations-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_NxdG4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Requirements"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Requirements-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Interactions"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::Interactions-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//interactions"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_meOioLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::StateMachines"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::StateMachines-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//statemachines"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_nAF5kLX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::UseCases"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="GUID-420979e3-ed15-4094-af5a-c8d117603bd2-ProfileApplication-SysML::UseCases-EAnnotation--906144443" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/0.7.0/SysML#//usecases"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_neZmMLX8EduFmqQsrNB9lw"/> + </profileApplication> + </uml:Model> + <Blocks:Block xmi:id="Block-of-GUID-a809dd99-7428-433c-9c3d-fe2d6f0eadee" base_Class="GUID-a809dd99-7428-433c-9c3d-fe2d6f0eadee"/> +</xmi:XMI> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/Activator.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/Activator.java new file mode 100644 index 00000000000..2cecec9e1f7 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/Activator.java @@ -0,0 +1,71 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.migration.rhapsody.sysml.tests; + +import org.eclipse.core.runtime.Plugin; +import org.eclipse.papyrus.infra.core.log.LogHelper; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends Plugin { + + /** Plug-in ID */ + public static final String PLUGIN_ID = "org.eclipse.papyrus.migration.rhapsody.sysml.tests"; //$NON-NLS-1$ + + /** The plug-in shared instance */ + private static Activator plugin; + + /** The log service */ + public static LogHelper log; + + + /** Default Constructor */ + public Activator() { + + } + /* + * (non-Javadoc) + * + * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) + */ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + log = new LogHelper(plugin); + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/AllTests.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/AllTests.java new file mode 100644 index 00000000000..2482f9d0a40 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/AllTests.java @@ -0,0 +1,36 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.migration.rhapsody.sysml.tests.tests; + +import org.eclipse.papyrus.junit.framework.classification.ClassificationSuite; +import org.junit.runner.RunWith; +import org.junit.runners.Suite.SuiteClasses; + +/** + * Master test suite for this test fragment. + */ +@RunWith(ClassificationSuite.class) +@SuiteClasses({ + org.eclipse.papyrus.migration.rhapsody.tests.AllTests.class, + + ImportSysML11_EnumerationInBDD_Test.class, + ImportSysML11_AssociationLabelInBDD_Test.class, + ImportSysML11_Rph_Actors_And_Events_001_Test.class, + ImportSysML11_Rph_LibraryImport_001_Test.class +}) + +public class AllTests { + +} +
\ No newline at end of file diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_AssociationLabelInBDD_Test.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_AssociationLabelInBDD_Test.java new file mode 100755 index 00000000000..22de67048ec --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_AssociationLabelInBDD_Test.java @@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.sysml.tests.tests; + + +import org.eclipse.papyrus.junit.utils.rules.PluginResource; +import org.eclipse.papyrus.migration.rhapsody.sysml.tests.Activator; +import org.eclipse.papyrus.migration.rhapsody.tests.tests.AbstractImportRhapsodyModelTests; +import org.junit.Before; + +/** + * + * @author VL222926 + * + * + * + */ +@PluginResource("resources/AssociationLabelInBDD_test/expected_papyrus/AssociationLabelInBDD.di") // the name of the expected model must be the same than the name of the Rhapsody project +public class ImportSysML11_AssociationLabelInBDD_Test extends AbstractImportRhapsodyModelTests { + + /** + * the name of the Rhapsody File + */ + public static final String RHAPSODY_MODEL_NAME = "AssociationLabelInBDD";// $NON-NLS-0$ + + /** + * the name of the project created to execute the tests + */ + public static final String PROJECT_NAME = "org.eclipse.papyrus.sysml.rhapsody.testImport"; // $NON-NLS-0$ + + private static final String SOURCE_PATH = "resources/AssociationLabelInBDD_test/"; // $NON-NLS-0$ + + /** + * + * @throws Exception + */ + @Before + public void initTest() throws Exception { + super.initTest(PROJECT_NAME, RHAPSODY_MODEL_NAME, SOURCE_PATH, Activator.getDefault().getBundle()); + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_EnumerationInBDD_Test.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_EnumerationInBDD_Test.java new file mode 100755 index 00000000000..19cba36a88d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_EnumerationInBDD_Test.java @@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.sysml.tests.tests; + +import org.eclipse.papyrus.junit.utils.rules.PluginResource; +import org.eclipse.papyrus.migration.rhapsody.sysml.tests.Activator; +import org.eclipse.papyrus.migration.rhapsody.tests.tests.AbstractImportRhapsodyModelTests; +import org.junit.Before; + +/** + * + * @author VL222926 + * + * + * + */ +@PluginResource("resources/EnumerationInBDD_test/expected_papyrus/EnumerationInBDD.di") // the name of the expected model must be the same than the name of the Rhapsody project +public class ImportSysML11_EnumerationInBDD_Test extends AbstractImportRhapsodyModelTests { + + /** + * the name of the Rhapsody File + */ + public static final String RHAPSODY_MODEL_NAME = "EnumerationInBDD";// $NON-NLS-0$ + + /** + * the name of the project created to execute the tests + */ + public static final String PROJECT_NAME = "org.eclipse.papyrus.sysml.rhapsody.testImport"; // $NON-NLS-0$ + + private static final String SOURCE_PATH = "resources/EnumerationInBDD_test/"; // $NON-NLS-0$ + + /** + * + * @throws Exception + */ + @Before + public void initTest() throws Exception { + super.initTest(PROJECT_NAME, RHAPSODY_MODEL_NAME, SOURCE_PATH, Activator.getDefault().getBundle()); + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_Rph_Actors_And_Events_001_Test.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_Rph_Actors_And_Events_001_Test.java new file mode 100755 index 00000000000..bd0470dbcc5 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_Rph_Actors_And_Events_001_Test.java @@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.sysml.tests.tests; + + +import org.eclipse.papyrus.junit.utils.rules.PluginResource; +import org.eclipse.papyrus.migration.rhapsody.sysml.tests.Activator; +import org.eclipse.papyrus.migration.rhapsody.tests.tests.AbstractImportRhapsodyModelTests; +import org.junit.Before; + +/** + * + * @author VL222926 + * + * + * + */ +@PluginResource("resources/Rph_Actors_And_Events_001/expected_papyrus/Rph_Actors_And_Events_001.di") // the name of the expected model must be the same than the name of the Rhapsody project +public class ImportSysML11_Rph_Actors_And_Events_001_Test extends AbstractImportRhapsodyModelTests { + + /** + * the name of the Rhapsody File + */ + public static final String RHAPSODY_MODEL_NAME = "Rph_Actors_And_Events_001"; //$NON-NLS-1$ + + /** + * the name of the project created to execute the tests + */ + public static final String PROJECT_NAME = "org.eclipse.papyrus.sysml.rhapsody.testImport"; //$NON-NLS-1$ + + private static final String SOURCE_PATH = "resources/Rph_Actors_And_Events_001/Inputs/Model/"; //$NON-NLS-1$ + + /** + * + * @throws Exception + */ + @Before + public void initTest() throws Exception { + super.initTest(PROJECT_NAME, RHAPSODY_MODEL_NAME, SOURCE_PATH, Activator.getDefault().getBundle()); + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_Rph_LibraryImport_001_Test.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_Rph_LibraryImport_001_Test.java new file mode 100755 index 00000000000..1aa6b79c8b3 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.sysml.tests/src/org/eclipse/papyrus/migration/rhapsody/sysml/tests/tests/ImportSysML11_Rph_LibraryImport_001_Test.java @@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.sysml.tests.tests; + + +import org.eclipse.papyrus.junit.utils.rules.PluginResource; +import org.eclipse.papyrus.migration.rhapsody.sysml.tests.Activator; +import org.eclipse.papyrus.migration.rhapsody.tests.tests.AbstractImportRhapsodyModelTests; +import org.junit.Before; + +/** + * + * @author VL222926 + * + * + * + */ +@PluginResource("resources/Rph_LibraryImport_001/expected_papyrus/Rph_LibraryImport_001.di") // the name of the expected model must be the same than the name of the Rhapsody project +public class ImportSysML11_Rph_LibraryImport_001_Test extends AbstractImportRhapsodyModelTests { + + /** + * the name of the Rhapsody File + */ + public static final String RHAPSODY_MODEL_NAME = "Rph_LibraryImport_001"; //$NON-NLS-1$ + + /** + * the name of the project created to execute the tests + */ + public static final String PROJECT_NAME = "org.eclipse.papyrus.sysml.rhapsody.testImport"; //$NON-NLS-1$ + + private static final String SOURCE_PATH = "resources/Rph_LibraryImport_001/Inputs/Model/"; //$NON-NLS-1$ + + /** + * + * @throws Exception + */ + @Before + public void initTest() throws Exception { + super.initTest(PROJECT_NAME, RHAPSODY_MODEL_NAME, SOURCE_PATH, Activator.getDefault().getBundle()); + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.classpath b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.classpath new file mode 100644 index 00000000000..eca7bdba8f0 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.gitignore b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.gitignore new file mode 100644 index 00000000000..ae3c1726048 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.project b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.project new file mode 100644 index 00000000000..96600f3176e --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.migration.rhapsody.tests</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.jdt.core.prefs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000000..b3aa6d60f94 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,291 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.formatter.align_type_members_on_columns=false +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_assignment=0 +org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 +org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 +org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 +org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 +org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 +org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 +org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 +org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 +org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 +org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 +org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_after_package=1 +org.eclipse.jdt.core.formatter.blank_lines_before_field=0 +org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 +org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 +org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 +org.eclipse.jdt.core.formatter.blank_lines_before_method=1 +org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 +org.eclipse.jdt.core.formatter.blank_lines_before_package=0 +org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 +org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 +org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line +org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false +org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false +org.eclipse.jdt.core.formatter.comment.format_block_comments=true +org.eclipse.jdt.core.formatter.comment.format_header=false +org.eclipse.jdt.core.formatter.comment.format_html=true +org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true +org.eclipse.jdt.core.formatter.comment.format_line_comments=true +org.eclipse.jdt.core.formatter.comment.format_source_code=true +org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true +org.eclipse.jdt.core.formatter.comment.indent_root_tags=true +org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert +org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert +org.eclipse.jdt.core.formatter.comment.line_length=260 +org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true +org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true +org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false +org.eclipse.jdt.core.formatter.compact_else_if=true +org.eclipse.jdt.core.formatter.continuation_indentation=2 +org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 +org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off +org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on +org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false +org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true +org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true +org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_empty_lines=false +org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true +org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true +org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false +org.eclipse.jdt.core.formatter.indentation.size=4 +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert +org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert +org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert +org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert +org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert +org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert +org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert +org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert +org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert +org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert +org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert +org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert +org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert +org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert +org.eclipse.jdt.core.formatter.join_lines_in_comments=false +org.eclipse.jdt.core.formatter.join_wrapped_lines=false +org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false +org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false +org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false +org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false +org.eclipse.jdt.core.formatter.lineSplit=260 +org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false +org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false +org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 +org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=5 +org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true +org.eclipse.jdt.core.formatter.tabulation.char=tab +org.eclipse.jdt.core.formatter.tabulation.size=4 +org.eclipse.jdt.core.formatter.use_on_off_tags=false +org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false +org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true +org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true +org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.jdt.ui.prefs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.jdt.ui.prefs new file mode 100644 index 00000000000..954281dbc31 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.jdt.ui.prefs @@ -0,0 +1,68 @@ +cleanup.add_default_serial_version_id=true +cleanup.add_generated_serial_version_id=false +cleanup.add_missing_annotations=true +cleanup.add_missing_deprecated_annotations=true +cleanup.add_missing_methods=false +cleanup.add_missing_nls_tags=false +cleanup.add_missing_override_annotations=true +cleanup.add_missing_override_annotations_interface_methods=true +cleanup.add_serial_version_id=false +cleanup.always_use_blocks=true +cleanup.always_use_parentheses_in_expressions=false +cleanup.always_use_this_for_non_static_field_access=false +cleanup.always_use_this_for_non_static_method_access=false +cleanup.convert_functional_interfaces=false +cleanup.convert_to_enhanced_for_loop=false +cleanup.correct_indentation=false +cleanup.format_source_code=false +cleanup.format_source_code_changes_only=false +cleanup.insert_inferred_type_arguments=false +cleanup.make_local_variable_final=true +cleanup.make_parameters_final=false +cleanup.make_private_fields_final=true +cleanup.make_type_abstract_if_missing_method=false +cleanup.make_variable_declarations_final=false +cleanup.never_use_blocks=false +cleanup.never_use_parentheses_in_expressions=true +cleanup.organize_imports=false +cleanup.qualify_static_field_accesses_with_declaring_class=false +cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +cleanup.qualify_static_member_accesses_with_declaring_class=true +cleanup.qualify_static_method_accesses_with_declaring_class=false +cleanup.remove_private_constructors=true +cleanup.remove_redundant_type_arguments=true +cleanup.remove_trailing_whitespaces=true +cleanup.remove_trailing_whitespaces_all=true +cleanup.remove_trailing_whitespaces_ignore_empty=false +cleanup.remove_unnecessary_casts=true +cleanup.remove_unnecessary_nls_tags=true +cleanup.remove_unused_imports=true +cleanup.remove_unused_local_variables=false +cleanup.remove_unused_private_fields=true +cleanup.remove_unused_private_members=false +cleanup.remove_unused_private_methods=true +cleanup.remove_unused_private_types=true +cleanup.sort_members=false +cleanup.sort_members_all=false +cleanup.use_anonymous_class_creation=false +cleanup.use_blocks=true +cleanup.use_blocks_only_for_return_and_throw=false +cleanup.use_lambda=true +cleanup.use_parentheses_in_expressions=false +cleanup.use_this_for_non_static_field_access=false +cleanup.use_this_for_non_static_field_access_only_if_necessary=true +cleanup.use_this_for_non_static_method_access=false +cleanup.use_this_for_non_static_method_access_only_if_necessary=true +cleanup.use_type_arguments=false +cleanup_profile=_Papyrus +cleanup_settings_version=2 +eclipse.preferences.version=1 +formatter_profile=_Papyrus +formatter_settings_version=12 +org.eclipse.jdt.ui.ignorelowercasenames=true +org.eclipse.jdt.ui.importorder=java;javax;org;com; +org.eclipse.jdt.ui.javadoc=true +org.eclipse.jdt.ui.ondemandthreshold=99 +org.eclipse.jdt.ui.staticondemandthreshold=99 +org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor.\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*****************************************************************************\n * Copyright (c) ${year} CEA LIST and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n * CEA LIST - Initial API and implementation\n * \n *****************************************************************************/\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${see_to_target}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.pde.api.tools.prefs b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.pde.api.tools.prefs new file mode 100644 index 00000000000..23fb95e120f --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/.settings/org.eclipse.pde.api.tools.prefs @@ -0,0 +1,98 @@ +ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error +ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error +ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error +API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error +API_USE_SCAN_FIELD_SEVERITY=Error +API_USE_SCAN_METHOD_SEVERITY=Error +API_USE_SCAN_TYPE_SEVERITY=Error +CLASS_ELEMENT_TYPE_ADDED_METHOD=Error +CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error +CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error +CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error +CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error +CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error +CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error +CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error +ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error +ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error +ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +FIELD_ELEMENT_TYPE_ADDED_VALUE=Error +FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error +FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error +FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error +FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error +FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error +FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error +FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error +ILLEGAL_EXTEND=Warning +ILLEGAL_IMPLEMENT=Warning +ILLEGAL_INSTANTIATE=Warning +ILLEGAL_OVERRIDE=Warning +ILLEGAL_REFERENCE=Warning +INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Ignore +INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error +INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error +INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error +INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error +INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error +INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error +INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error +INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +INVALID_ANNOTATION=Ignore +INVALID_JAVADOC_TAG=Ignore +INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Ignore +LEAK_EXTEND=Warning +LEAK_FIELD_DECL=Warning +LEAK_IMPLEMENT=Warning +LEAK_METHOD_PARAM=Warning +LEAK_METHOD_RETURN_TYPE=Warning +METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error +METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error +METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error +METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error +METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error +METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error +METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error +METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error +MISSING_EE_DESCRIPTIONS=Error +TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error +TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error +UNUSED_PROBLEM_FILTERS=Warning +automatically_removed_unused_problem_filters=Enabled +eclipse.preferences.version=1 +incompatible_api_component_version=Error +incompatible_api_component_version_include_major_without_breaking_change=Disabled +incompatible_api_component_version_include_minor_without_api_change=Disabled +invalid_since_tag_version=Error +malformed_since_tag=Error +missing_since_tag=Warning +report_api_breakage_when_major_version_incremented=Disabled +report_resolution_errors_api_component=Warning diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/META-INF/MANIFEST.MF b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/META-INF/MANIFEST.MF new file mode 100755 index 00000000000..3350fdc7acb --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/META-INF/MANIFEST.MF @@ -0,0 +1,22 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.migration.rhapsody.tests;singleton:=true +Bundle-Version: 0.7.0.qualifier +Bundle-Vendor: %Bundle-Vendor +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.eclipse.papyrus.infra.core.log;bundle-version="1.2.0", + org.eclipse.papyrus.junit.framework;bundle-version="1.2.0", + org.eclipse.core.commands, + org.eclipse.emf.ecore, + org.eclipse.papyrus.migration.rhapsody;bundle-version="0.7.0", + org.eclipse.uml2.uml;bundle-version="5.3.0", + org.eclipse.papyrus.junit.utils;bundle-version="2.0.0", + org.eclipse.emf.compare;bundle-version="3.4.0", + org.eclipse.papyrus.migration.rhapsody.blackboxes;bundle-version="0.7.0", + org.eclipse.papyrus.migration.common;bundle-version="0.7.0", + org.eclipse.papyrus.migration.rhapsody.metamodel;bundle-version="0.7.0" +Bundle-Activator: org.eclipse.papyrus.migration.rhapsody.tests.Activator +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.papyrus.migration.rhapsody.tests, + org.eclipse.papyrus.migration.rhapsody.tests.tests diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/OSGI-INF/l10n/bundle.properties b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000000..fdb80afac4a --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,3 @@ +#Properties file for org.eclipse.papyrus.migration.rhapsody.tests +Bundle-Vendor = Eclipse Modeling Project +Bundle-Name = Papyrus Rhapsody Tests
\ No newline at end of file diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/about.html b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/about.html new file mode 100644 index 00000000000..dd3c089a94c --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>November 14, 2008</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/build.properties b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/build.properties new file mode 100644 index 00000000000..27571f5e1a7 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/build.properties @@ -0,0 +1,8 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + OSGI-INF/l10n/bundle.properties,\ + plugin.xml +src.includes = about.html diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/plugin.xml b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/plugin.xml new file mode 100755 index 00000000000..ce405453dd1 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/plugin.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + <extension + point="org.eclipse.ui.menus"> + <menuContribution + allPopups="true" + locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?after=additions"> + <command + commandId="org.eclipse.papyrus.compare.ignoringXMiID" + label="Compare As JUnit Imported RhapsodyModel" + style="push"> + </command> + </menuContribution> + </extension> + <extension + point="org.eclipse.ui.commands"> + <command + defaultHandler="org.eclipse.papyrus.migration.rhapsody.tests.handlers.CompareAsPapyrusJUnitHandler" + id="org.eclipse.papyrus.compare.ignoringXMiID" + name="Compare As JUnit Imported RhapsodyModel"> + </command> + </extension> + +</plugin> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/pom.xml b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/pom.xml new file mode 100644 index 00000000000..b6355dee780 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus</groupId> + <artifactId>org.eclipse.papyrus.extra.tests.releng</artifactId> + <version>1.2.0-SNAPSHOT</version> + <relativePath>../../../../../../releng/extra-tests</relativePath> + </parent> + <groupId>org.eclipse.papyrus</groupId> + <artifactId>org.eclipse.papyrus.migration.rhapsody.tests</artifactId> + <version>0.7.0-SNAPSHOT</version> + <packaging>eclipse-test-plugin</packaging> +</project> diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/Activator.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/Activator.java new file mode 100644 index 00000000000..42a28e287f0 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/Activator.java @@ -0,0 +1,71 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.migration.rhapsody.tests; + +import org.eclipse.core.runtime.Plugin; +import org.eclipse.papyrus.infra.core.log.LogHelper; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends Plugin { + + /** Plug-in ID */ + public static final String PLUGIN_ID = "org.eclipse.papyrus.migration.rhapsody.tests"; //$NON-NLS-1$ + + /** The plug-in shared instance */ + private static Activator plugin; + + /** The log service */ + public static LogHelper log; + + + /** Default Constructor */ + public Activator() { + + } + /* + * (non-Javadoc) + * + * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) + */ + @Override + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + log = new LogHelper(plugin); + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + */ + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/AllTests.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/AllTests.java new file mode 100644 index 00000000000..fddc5a16b1f --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/AllTests.java @@ -0,0 +1,32 @@ +package org.eclipse.papyrus.migration.rhapsody.tests; +/***************************************************************************** + * Copyright (c) 2016 CEA LIST. + * + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +import org.eclipse.papyrus.junit.framework.classification.ClassificationSuite; +import org.eclipse.papyrus.migration.rhapsody.tests.tests.TestRhapsodyMetamodel; +import org.eclipse.papyrus.migration.rhapsody.tests.tests.TestRhapsodySharedFolder; +import org.junit.runner.RunWith; +import org.junit.runners.Suite.SuiteClasses; + +/** + * Master test suite for this test fragment. + */ +@RunWith(ClassificationSuite.class) +@SuiteClasses({ + TestRhapsodySharedFolder.class, + TestRhapsodyMetamodel.class +}) +public class AllTests { + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/handlers/CompareAsPapyrusJUnitHandler.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/handlers/CompareAsPapyrusJUnitHandler.java new file mode 100755 index 00000000000..1d044eedb37 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/handlers/CompareAsPapyrusJUnitHandler.java @@ -0,0 +1,195 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.tests.handlers; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Map; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.compare.Comparison; +import org.eclipse.emf.compare.EMFCompare; +import org.eclipse.emf.compare.scope.DefaultComparisonScope; +import org.eclipse.emf.compare.scope.IComparisonScope; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.IStructuredSelection; +import org.eclipse.papyrus.migration.rhapsody.tests.tests.EMFCompareUtils; +import org.eclipse.ui.handlers.HandlerUtil; + +/** + * @author VL222926 + * + */ +public class CompareAsPapyrusJUnitHandler extends AbstractHandler { + + + + private static final String MATCHES = "matches"; //$NON-NLS-1$ + + private static final String DIFFERENCES = "differences"; //$NON-NLS-1$ + + private static final String CONFLICTS = "conflicts"; //$NON-NLS-1$ + + private static final String COMPARISON = "comparison"; //$NON-NLS-1$ + + private static final String DIFF_RESULT_FOLDER = "diffResult"; //$NON-NLS-1$ + + /** + * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) + * + * @param event + * @return + * @throws ExecutionException + */ + @Override + public Object execute(ExecutionEvent event) throws ExecutionException { + final List<URI> selectedFiles = getSelectedFileURIs(event); + if (selectedFiles.size() == 2) { + + final URI currentVersionURI = selectedFiles.get(0); + final URI expectedVersionURI = selectedFiles.get(1); + final EMFCompare compare = EMFCompareUtils.createEMFCompare(); + final ResourceSet left = new ResourceSetImpl(); + final ResourceSet right = new ResourceSetImpl(); + + left.getResource(currentVersionURI, true); // the first one is the edited model + right.getResource(expectedVersionURI, true); // the second one is the expected model + final IComparisonScope scope = new DefaultComparisonScope(left, right, null); + final Comparison comparison = compare.compare(scope); + + URI baseURI = currentVersionURI.trimFileExtension(); + String lastSeg = baseURI.lastSegment(); + baseURI = baseURI.appendSegment(DIFF_RESULT_FOLDER); + baseURI = baseURI.appendSegment(lastSeg); + saveResult(baseURI, comparison); + } + return null; + } + + protected void saveResult(final URI baseURI, final Comparison comparison) { + final Resource.Factory.Registry reg = Resource.Factory.Registry.INSTANCE; + final Map<String, Object> m = reg.getExtensionToFactoryMap(); + m.put(DIFFERENCES, new XMIResourceFactoryImpl()); + m.put(COMPARISON, new XMIResourceFactoryImpl()); + m.put(MATCHES, new XMIResourceFactoryImpl()); + m.put(CONFLICTS, new XMIResourceFactoryImpl()); + + final ResourceSet savedSet = new ResourceSetImpl(); + + final URI comparisonURI = baseURI.appendFileExtension(COMPARISON); + final URI differencesURI = baseURI.appendFileExtension(DIFFERENCES); + final URI conflictsURI = baseURI.appendFileExtension(CONFLICTS); + final URI matchesURI = baseURI.appendFileExtension(MATCHES); + + final Resource comparisonResource = savedSet.createResource(comparisonURI); + final Resource differencesResource = savedSet.createResource(differencesURI); + final Resource conflictsResource = savedSet.createResource(conflictsURI); + final Resource matchesResource = savedSet.createResource(matchesURI); + + + comparisonResource.getContents().add(comparison); + + EcoreUtil.copy(comparison); + differencesResource.getContents().addAll(EcoreUtil.copy(comparison).getDifferences()); + conflictsResource.getContents().addAll(EcoreUtil.copy(comparison).getConflicts()); + matchesResource.getContents().addAll(EcoreUtil.copy(comparison).getMatches()); + + for (Resource current : savedSet.getResources()) { + try { + current.save(Collections.EMPTY_MAP); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + } + + /** + * @see org.eclipse.core.commands.AbstractHandler#setEnabled(java.lang.Object) + * + * @param evaluationContext + */ + @Override + public void setEnabled(Object evaluationContext) { + // TODO Auto-generated method stub + super.setEnabled(evaluationContext); + } + + /** + * + * @param event + * @return + * an empty list or a list with 2 URI. The first one should be the current version of the file and the second one should be the expected version of the file + * + */ + protected List<URI> getSelectedFileURIs(final ExecutionEvent event) { + final ISelection selection = HandlerUtil.getCurrentSelection(event); + final List<URI> selectedURI = new ArrayList<>(); + if (selection instanceof IStructuredSelection) { + List<?> selectedElement = ((IStructuredSelection) selection).toList(); + if (selectedElement.size() == 2) { + final Object element1 = selectedElement.get(0); + final Object element2 = selectedElement.get(1); + if (element1 instanceof IAdaptable) { + final IFile file = ((IAdaptable) element1).getAdapter(IFile.class); + URI uri = getUMLFileURI(file); + if (uri != null) { + selectedURI.add(uri); + } + } + if (element2 instanceof IAdaptable) { + final IFile file = ((IAdaptable) element2).getAdapter(IFile.class); + URI uri = getUMLFileURI(file); + if (uri != null) { + selectedURI.add(uri); + } + } + } + } + if (selectedURI.size() != 2) { + selectedURI.clear(); + } + return selectedURI; + } + + + /** + * + * @param file + * an ifile, must not be null + * @return + * the file URI in case of uml file and <code>null</code> in other case + */ + protected URI getUMLFileURI(final IFile file) { + String path = file.getFullPath().toPortableString(); + URI uri = URI.createURI(path); + if ("uml".equals(uri.fileExtension())) { //$NON-NLS-1$ + return uri; + } + return null; + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/AbstractImportRhapsodyModelTests.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/AbstractImportRhapsodyModelTests.java new file mode 100644 index 00000000000..3e0c5d4e4c7 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/AbstractImportRhapsodyModelTests.java @@ -0,0 +1,811 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.tests.tests; + +import java.io.File; +import java.io.IOException; +import java.net.URISyntaxException; +import java.net.URL; +import java.util.ArrayList; +import java.util.Comparator; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Set; +import java.util.function.Consumer; + +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; + +import org.eclipse.core.internal.jobs.Worker; +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.IWorkspace; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.NullProgressMonitor; +import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.jobs.Job; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.compare.Comparison; +import org.eclipse.emf.compare.Conflict; +import org.eclipse.emf.compare.Diff; +import org.eclipse.emf.compare.DifferenceKind; +import org.eclipse.emf.compare.internal.spec.ReferenceChangeSpec; +import org.eclipse.emf.compare.scope.DefaultComparisonScope; +import org.eclipse.emf.ecore.EAnnotation; +import org.eclipse.emf.ecore.EModelElement; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.xmi.XMIResource; +import org.eclipse.gmf.runtime.notation.Bounds; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.gmf.runtime.notation.NotationPackage; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.StringValueStyle; +import org.eclipse.osgi.util.NLS; +import org.eclipse.papyrus.infra.constraints.Activator; +import org.eclipse.papyrus.junit.framework.classification.tests.AbstractPapyrusTest; +import org.eclipse.papyrus.junit.utils.DisplayUtils; +import org.eclipse.papyrus.junit.utils.ProjectUtils; +import org.eclipse.papyrus.junit.utils.rules.ModelSetFixture; +import org.eclipse.papyrus.migration.common.MigrationParameters.MigrationParametersFactory; +import org.eclipse.papyrus.migration.common.MigrationParameters.ThreadConfig; +import org.eclipse.papyrus.migration.common.transformation.AbstractImportTransformationLauncher; +import org.eclipse.papyrus.migration.rhapsody.blackboxes.VersioningBlackboxes; +import org.eclipse.papyrus.migration.rhapsody.importer.SelectedRhapsodyFilesImporter; +import org.eclipse.papyrus.migration.rhapsody.importer.utils.RpyProjectHandler; +import org.eclipse.papyrus.migration.rhapsody.importer.utils.RpyUtil; +import org.eclipse.papyrus.migration.rhapsody.transformations.RhapsodyImportTransformationLauncher; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Port; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Rule; +import org.junit.Test; +import org.osgi.framework.Bundle; +import org.w3c.dom.Document; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; + +/** + * @author VL222926 + * + * abstract class used to test the import of Rhapsody Model into Papyrus + */ +@SuppressWarnings("nls") +public class AbstractImportRhapsodyModelTests extends AbstractPapyrusTest { + + /** + * the rhapsody file to import in Papyrus + */ + protected Set<IFile> rhapsodyFilesToImport = new HashSet<IFile>(); + + /** + * the papyrus editor fixture used to load the expected model + */ + @Rule + public final ModelSetFixture expectedResultFixture = new ModelSetFixture(); + + /** + * This resource set contains the files created by the transformation + */ + protected final ResourceSet resultingResourceSet = new ResourceSetImpl(); + + /** + * the resources created by the import + */ + protected Resource diResource = null; + protected Resource notationResource = null; + protected Resource umlResource = null; + + /** + * the created project used for the tests + */ + protected IProject project; + + /** + * the name of the rhapsody model to import + */ + protected String rhapsodyModelName; + + protected String resourcePath; + + protected IFile outputUmlFile = null; + protected IFile outputNotationFile = null; + protected IFile outputDiFile = null; + + + /** + * + * This method allows to create the project + * + * @param projectName + * the name of the project to create for the JUnit test + * @param resourcePath + * the path where are stored the file to copy/load to execute the tests + * @param bundle + * the bundle + * @throws CoreException + * @throws IOException + * @throws URISyntaxException + * + */ + public void initTest(final String projectName, final String rhapsodyModelName, final String resourcePath, Bundle bundle) throws CoreException, IOException, URISyntaxException { + this.rhapsodyModelName = rhapsodyModelName; + this.project = ProjectUtils.createProject(projectName); + + importRhapsodyModelIntoProject(rhapsodyModelName, resourcePath, bundle, this.project); + executeTransformation(this.rhapsodyFilesToImport); + DisplayUtils.flushEventLoop(); + waitEndOfImportThread(); + DisplayUtils.flushEventLoop(); + initOutputIFilesFields(); + } + + + protected void initOutputIFilesFields() { + if (this.outputUmlFile == null) { + this.outputUmlFile = checkUMLFileCreationAndGetIt(); + } + if (this.outputNotationFile == null) { + this.outputNotationFile = checkNotationFileCreationAndGetIt(); + } + if (this.outputDiFile == null) { + this.outputDiFile = checkDiFileCreationAndGetIt(); + } + } + + + protected void initOutputResourcesFields() { + initOutputIFilesFields(); + if (this.umlResource == null) { + this.umlResource = addFileToResourceSet(resultingResourceSet, outputUmlFile); + } + if (this.notationResource == null) { + this.notationResource = addFileToResourceSet(resultingResourceSet, outputNotationFile); + } + if (this.diResource == null) { + this.diResource = addFileToResourceSet(resultingResourceSet, outputDiFile); + } + } + + /** + * This method import the Rhapsody project into the workspace + * + * @throws IOException + * @throws URISyntaxException + */ + public final void importRhapsodyModelIntoProject(final String rhapsodyModelName, final String sourcePath, final Bundle sourceBundle, final IProject targetProject) throws URISyntaxException, IOException { + // TODO improve all this path with url, uri, string, ... emf URI will be a good solution + final String currentRpyPath = sourcePath + rhapsodyModelName + "." + "rpy"; + URL url = sourceBundle.getResource(currentRpyPath); + java.net.URI uri = FileLocator.resolve(url).toURI(); + RpyProjectHandler handler = new RpyProjectHandler(uri.getRawPath()); + URI rpyURI = handler.copyRhapsodyProjectToNewFolder(URI.createFileURI(targetProject.getLocationURI().getRawPath())); + try { + this.project.refreshLocal(IProject.DEPTH_INFINITE, new NullProgressMonitor()); + } catch (CoreException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + IWorkspace workspace = ResourcesPlugin.getWorkspace(); + IPath location = Path.fromOSString(rpyURI.toFileString()); + IFile ifile = workspace.getRoot().getFileForLocation(location); + rhapsodyFilesToImport.add(ifile); + } + + private RhapsodyImportTransformationLauncher launcher; + + /** + * + * @param rhapsodyFiles + * the list of file to import + */ + protected void executeTransformation(final Set<IFile> rhapsodyFiles) { + // TODO change the parameters of this method + List<URI> urisToImport = new ArrayList<URI>(); + for (IFile current : rhapsodyFiles) { + String path = null; + if (current instanceof IFile) { + path = ((IFile) current).getFullPath().toString(); + } + if (path != null) { + URI uri = URI.createPlatformResourceURI(path, true); + urisToImport.add(uri); + } + } + + // SelectedRhapsodyFilesImporter importer = new SelectedRhapsodyFilesImporter(urisToImport); + ThreadConfig config = MigrationParametersFactory.eINSTANCE.createThreadConfig(); + // List<URI> createdFilesURI = importer.getRhapsodyFilesToImportURI(); + launcher = new RhapsodyImportTransformationLauncher(config); + // launcher.run(createdFilesURI); + launcher.run(urisToImport); + + + } + + /** + * + * @return + * the uml file created by the QVTO tranformation if it exists + */ + protected IFile checkUMLFileCreationAndGetIt() { + // TODO refactore this line! + String outputFolder = /* project.getLocation().toOSString() + File.separator + */SelectedRhapsodyFilesImporter.OUTPUT_FOLDER + File.separator + rhapsodyModelName; // TODO output folder must be a parameter of the tranformation, it could be a project too + // TODO : the SelectedFile importer must provide a method to get the target folder/project + final IFile umlFile = project.getFile(outputFolder + File.separator + rhapsodyModelName + ".uml"); + try { + umlFile.getProject().refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()); + } catch (CoreException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + Assert.assertTrue("The uml file has not been created." + umlFile.getFullPath(), umlFile.exists()); + return umlFile; + } + + /** + * This method allows to wait the end of the import thread + * + * TODO : refactore API to have a direct access to the import thread! + */ + @SuppressWarnings("restriction") + protected void waitEndOfImportThread() { + Set<Thread> threads = Thread.getAllStackTraces().keySet(); + for (Thread thread : threads) { + if (thread instanceof Worker) { + Job job = ((Worker) thread).currentJob(); + if (null != job) { + if (job.getName().equals(AbstractImportTransformationLauncher.IMPORT_MODELS_JOB_NAME)) { + try { + job.join(); + } catch (InterruptedException e1) { + Activator.log.error(e1); + } + } + } + } + } + } + + /** + * + * @return + * the notation file created by the QVTO tranformation if it exists + */ + protected IFile checkNotationFileCreationAndGetIt() { + // TODO refactore this line! + String outputFolder = /* project.getLocation().toOSString() + File.separator + */SelectedRhapsodyFilesImporter.OUTPUT_FOLDER + File.separator + rhapsodyModelName; // TODO output folder must be a parameter of the tranformation, it could be a project too + // TODO : the SelectedFile imported must provide a method to get the target folder/project + final IFile notationFile = project.getFile(outputFolder + File.separator + rhapsodyModelName + ".notation"); + Assert.assertTrue("The notation file has not been created.", notationFile.exists()); + + return notationFile; + } + + /** + * + * @return + * the notation file created by the QVTO tranformation if it exists + */ + protected IFile checkDiFileCreationAndGetIt() { + // TODO refactore this line! + String outputFolder = /* project.getLocation().toOSString() + File.separator + */SelectedRhapsodyFilesImporter.OUTPUT_FOLDER + File.separator + rhapsodyModelName; // TODO output folder must be a parameter of the tranformation, it could be a project too + // TODO : the SelectedFile imported must provide a method to get the target folder/project + final IFile diFile = project.getFile(outputFolder + File.separator + rhapsodyModelName + ".di"); + Assert.assertTrue("The di file has not been created.", diFile.exists()); + return diFile; + } + + + /** + * + * @param resourceSet + * a resource set + * @param fileToAdd + * the file to add to the resource set + * @return + * the resource represented the added file + */ + protected Resource addFileToResourceSet(final ResourceSet resourceSet, final IFile fileToAdd) { + String path = fileToAdd.getFullPath().toPortableString(); + URI umlURI = URI.createURI(path); + boolean exist = resourceSet.getURIConverter().exists(umlURI, null); + Assert.assertTrue(exist); + return resourceSet.getResource(umlURI, true); + } + + /** + * This test check the annotation added to the imported model + */ + @Test + @Ignore + public void checkUMLModel_ImportRhapsodyVersioning() { + initOutputResourcesFields(); + Assert.assertTrue("The created uml resource is empty.", this.umlResource.getContents().size() > 0); //$NON-NLS-1$ + final Iterator<EObject> iter = this.umlResource.getContents().iterator(); + Package root = null; + while (root == null && iter.hasNext()) { + final EObject tmp = iter.next(); + if (tmp instanceof Package) { + root = (Package) tmp; + } + } + Assert.assertNotNull("The root of the imported model has not been found", root); //$NON-NLS-1$ + + checkEAnnotationUsedForImportRhapsodyModelVersioning(root); + } + + @Test + @Ignore + public void checkNotationModel_ImportRhapsodyVersioning() { + initOutputResourcesFields(); + Assert.assertTrue("The created notation resource is empty.", this.notationResource.getContents().size() > 0); //$NON-NLS-1$ + for (final EObject current : this.notationResource.getContents()) { + if (current instanceof Diagram) { + checkEAnnotationUsedForImportRhapsodyModelVersioning((Diagram) current); + } + } + } + + /** + * This method check that the EObject owns the required EAnnotation indicating the model Model or Diagram has been created from a Rhapsody Model + * + * @param objectToTest + * an object + */ + protected void checkEAnnotationUsedForImportRhapsodyModelVersioning(final EModelElement objectToTest) { + Assert.assertTrue("Internal test checking that tested object is a NamedElement or a Diagram failed", objectToTest instanceof NamedElement || objectToTest instanceof Diagram); //$NON-NLS-1$ + String objectName = ""; //$NON-NLS-1$ + if (objectToTest instanceof NamedElement) { + objectName = ((NamedElement) objectToTest).getName(); + } else { + objectName = ((Diagram) objectToTest).getName(); + } + final String eClassName = objectToTest.eClass().getName(); + final EAnnotation annotation = objectToTest.getEAnnotation(VersioningBlackboxes.VERSIONING_EANNOTATION_SOURCE); + Assert.assertNotNull(NLS.bind("{0}:{1} : The EAnnotation used for versioning has not been found.", objectName, eClassName), annotation); //$NON-NLS-1$ + + // we check the Papyrus Bundle version used for the import + final String papyrusImportBundleVersion = annotation.getDetails().get(VersioningBlackboxes.VERSIONING_EANNOTATION_DETAIL_KEY_PAPYRUS_RHAPSODY_IMPORT_BUNDLE_VERSION); + Assert.assertNotNull(NLS.bind("{0}:{1} : The string indicating the Papyrus import version has not been found.", objectName, eClassName), papyrusImportBundleVersion); //$NON-NLS-1$ + Assert.assertTrue(NLS.bind("{0}:{1} : The string indicating the Papyrus version is empty.", objectName, eClassName), !papyrusImportBundleVersion.isEmpty()); //$NON-NLS-1$ + + final String RhapsodyVersion = annotation.getDetails().get(VersioningBlackboxes.VERSIONING_EANNOTATION_DETAIL_KEY_RHAPSODY_VERSION); + Assert.assertNotNull(NLS.bind("{0}:{1} : The string indicating the Rhapsody version has not been found.", objectName, eClassName), RhapsodyVersion); //$NON-NLS-1$ + Assert.assertTrue(NLS.bind("{0}:{1} : The string indicating the Rhapsody version is empty.", objectName, eClassName), !RhapsodyVersion.isEmpty()); //$NON-NLS-1$ + + final String rhapsodyModelName = annotation.getDetails().get(VersioningBlackboxes.VERSIONING_EANNOTATION_DETAIL_KEY_RHAPSODY_PROJECT_NAME); + Assert.assertNotNull(NLS.bind("{0}:{1} : The string indicating the name of the Rhapsody model has not been found.", objectName, eClassName), rhapsodyModelName); //$NON-NLS-1$ + Assert.assertTrue(NLS.bind("{0}:{1} : The string indicating the name of the Rhapsody model.", objectName, eClassName), !rhapsodyModelName.isEmpty()); //$NON-NLS-1$ + } + + /** + * Check the compatibility diagram version for all imported diagrams + */ + @Test + @Ignore + public void checkImportedDiagramCompatibilityVersion() { + initOutputResourcesFields(); + Assert.assertTrue("The created notation resource is empty.", this.notationResource.getContents().size() > 0); //$NON-NLS-1$ + for (final EObject current : this.notationResource.getContents()) { + if (current instanceof Diagram) { + final StringValueStyle style = (StringValueStyle) ((Diagram) current).getNamedStyle(NotationPackage.eINSTANCE.getStringValueStyle(), VersioningBlackboxes.COMPATIBILITY_VERSION); + Assert.assertNotNull(NLS.bind("{0}:Diagram : The compatibility diagram version has not been found", ((Diagram) current).getName()), style); //$NON-NLS-1$ + Assert.assertTrue(NLS.bind("{0}:Diagram : The compatibility diagram version is empty", ((Diagram) current).getName()), style.getStringValue().length() > 0); //$NON-NLS-1$ + } + } + } + + /** + * This method allows to check the created UML Model with the expected one + * + * FIXME : in some case, the result is wrong, we detect diff between PackageImport + */ + @Test + public void checkSemanticWithEMFCompare() { + initOutputResourcesFields(); + final ResourceSet resultSet = new ResourceSetImpl(); + Resource currentResultResource = resultSet.getResource(this.umlResource.getURI(), true); + List<EObject> currentContents = new ArrayList<EObject>( currentResultResource.getContents()); + currentContents.sort(new XMI_ID_Sorter()); + currentResultResource.getContents().clear(); + currentResultResource.getContents().addAll(currentContents); + + final ResourceSet expectedSet = new ResourceSetImpl(); + Resource expectedResource = expectedSet.getResource(expectedResultFixture.getModelResource().getURI(), true); + List<EObject> expectedContents = new ArrayList<EObject>(expectedResource.getContents()); + expectedContents.sort(new XMI_ID_Sorter()); + expectedResource.getContents().clear(); + expectedResource.getContents().addAll(expectedContents); + + final DefaultComparisonScope scope = new DefaultComparisonScope(resultSet, expectedSet, null); + final Comparison result = EMFCompareUtils.createEMFCompare().compare(scope); + final List<Conflict> conflicts = result.getConflicts(); + Assert.assertEquals("Conflicts have been detected", 0, conflicts.size()); //$NON-NLS-1$ + + final List<Diff> differences = getFilteredDiff(new ArrayList<Diff>(result.getDifferences())); + + if (!differences.isEmpty()) { + final StringBuilder builder = new StringBuilder(NLS.bind("{0} differences have been detected: \n", differences.size())); //$NON-NLS-1$ + final Iterator<Diff> iter = differences.iterator(); + while (iter.hasNext()) { + final Diff current = iter.next(); + builder.append(current.toString()); + if (iter.hasNext()) { + builder.append("\n"); //$NON-NLS-1$ + } + } + Assert.assertEquals(builder.toString(), 0, differences.size()); + } + } + + public class XMI_ID_Sorter implements Comparator<EObject>{ + + /** + * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object) + * + * @param o1 + * @param o2 + * @return + */ + @Override + public int compare(EObject o1, EObject o2) { + XMIResource res1 = (XMIResource) o1.eResource(); + XMIResource res2 = (XMIResource) o2.eResource(); + String id1 = res1.getID(o1); + String id2 = res2.getID(o2); + return id1.compareTo(id2); + } + + } + + protected List<Diff> getFilteredDiff(final List<Diff> diff) { + List<Diff> returnedDiffs = new ArrayList<>(diff); + for (Diff current : diff) { + if (current instanceof ReferenceChangeSpec) { + if (current.getKind() == DifferenceKind.ADD || current.getKind() == DifferenceKind.DELETE) { + EObject value = ((ReferenceChangeSpec) current).getValue(); + if (value instanceof EStringToStringMapEntryImpl) { + EStringToStringMapEntryImpl map = (EStringToStringMapEntryImpl) value; + String key = map.getKey(); + if ("Rhapsody Version".equals(key) || "Papyrus Rhapsody Import Bundle Version".equals(key)) { + returnedDiffs.remove(current); + } + } + } + } + } + return returnedDiffs; + } + + + /** + * This method allows to check the created UML Model with the expected one + */ + @Test + @Ignore // doesn't work yet + public void checkNotationWithEMFCompare() { + final ResourceSet resultSet = new ResourceSetImpl(); + resultSet.getResource(this.umlResource.getURI(), true); + resultSet.getResource(this.notationResource.getURI(), true); + + + final ResourceSet expectedSet = new ResourceSetImpl(); + + expectedSet.getResource(expectedResultFixture.getModelResource().getURI(), true); + expectedSet.getResource(expectedResultFixture.getModelResource().getURI().trimFileExtension().appendFileExtension("notation"), true); + + + final DefaultComparisonScope scope = new DefaultComparisonScope(resultSet, expectedSet, null); + final Comparison result = EMFCompareUtils.createEMFCompare().compare(scope); + final List<Conflict> conflicts = result.getConflicts(); + Assert.assertEquals("Conflicts have been detected", 0, conflicts.size()); //$NON-NLS-1$ + + final List<Diff> differences = result.getDifferences(); + if (!differences.isEmpty()) { + final StringBuilder builder = new StringBuilder(NLS.bind("{0} differences have been detected: \n", differences.size())); //$NON-NLS-1$ + final Iterator<Diff> iter = differences.iterator(); + while (iter.hasNext()) { + final Diff current = iter.next(); + builder.append(current.toString()); + if (iter.hasNext()) { + builder.append("\n"); //$NON-NLS-1$ + } + } + Assert.assertEquals(builder.toString(), 0, differences.size()); + } + } + + /** relative path for some interesting folder to check */ + + + private static final String XMI_ID_ATTRIBUTE_NAME = "xmi:id"; // $NON-NLS-0$ + + /** + * Checks that the XMI_ID are unique in the uml file + */ + @Test + public void checkUnicityOfXMI_ID_In_UML_File() throws Exception { + DocumentBuilder dBuilder; + Document document = null; + dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); + document = dBuilder.parse(getUMLOutputFile()); + List<String> ids = new ArrayList<String>(); + List<Node> nodes = flattenDocument(document); + for (Node node : nodes) { + if (node.getAttributes() != null) { + Node item = node.getAttributes().getNamedItem(XMI_ID_ATTRIBUTE_NAME); + if (item != null) { + String value = item.getNodeValue(); + ids.add(value); + } + } + } + Set<String> uniqueIds = new HashSet<>(ids); + for (String t : uniqueIds) { + // remove all method remove all instance, so it can't be used here + ids.remove(t); + } + Assert.assertEquals("Some ids are duplicated in the UML model: " + ids.toString(), 0, ids.size()); + } + + /** + * Checks that the XMI_ID are unique in the uml file + */ + @Test + @Ignore + public void checkUnicityOfXMI_ID_In_Notation_File() throws Exception { + DocumentBuilder dBuilder; + Document document = null; + dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); + document = dBuilder.parse(getNotationOutputFile()); + List<String> ids = new ArrayList<String>(); + List<Node> nodes = flattenDocument(document); + for (Node node : nodes) { + if (node.getAttributes() != null) { + Node item = node.getAttributes().getNamedItem(XMI_ID_ATTRIBUTE_NAME); + if (item != null) { + String value = item.getNodeValue(); + ids.add(value); + } + } + } + Set<String> uniqueIds = new HashSet<>(ids); + for (String t : uniqueIds) { + // remove all method remove all instance, so it can't be used here + ids.remove(t); + } + Assert.assertEquals("Some ids are duplicated in the Notation model: " + ids.toString(), 0, ids.size()); + } + + /** + * Checks that all IDS contains the string GUID + */ + @Test + public void checkIds_In_UML_File() throws Exception { + DocumentBuilder dBuilder; + Document document = null; + dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); + document = dBuilder.parse(getUMLOutputFile()); + List<String> ids = new ArrayList<String>(); + List<Node> nodes = flattenDocument(document); + for (Node node : nodes) { + if (node.getAttributes() != null) { + Node item = node.getAttributes().getNamedItem(XMI_ID_ATTRIBUTE_NAME); + if (item != null) { + String value = item.getNodeValue(); + ids.add(value); + } + } + } + List<String> errorsIds = new ArrayList<String>(); + Consumer<? super String> action = (String param) -> { + if (!param.contains(RpyUtil.GUID_STRING) && !param.contains(RpyUtil.OLDID_STRING)) { + errorsIds.add(param); + } + }; + ids.forEach(action); + Assert.assertEquals("Some ids doesn't contains the required string \"GUID\" or \"OLDID\":" + errorsIds.toString(), 0, errorsIds.size()); + } + + /** + * Checks that all IDS contains the string GUID + */ + @Test + @Ignore // doesn't work yet + public void checkIds_In_Notation_File() throws Exception { + DocumentBuilder dBuilder; + Document document = null; + dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); + document = dBuilder.parse(getNotationOutputFile()); + List<String> ids = new ArrayList<String>(); + List<Node> nodes = flattenDocument(document); + for (Node node : nodes) { + if (node.getAttributes() != null) { + Node item = node.getAttributes().getNamedItem(XMI_ID_ATTRIBUTE_NAME); + if (item != null) { + String value = item.getNodeValue(); + ids.add(value); + } + } + } + List<String> errorsIds = new ArrayList<String>(); + Consumer<? super String> action = (String param) -> { + if (!param.contains("GUID")) { // TODO reuse me + errorsIds.add(param); + } + }; + ids.forEach(action); + Assert.assertEquals("Some ids doesn't contains the required string \"GUID\":" + errorsIds.toString(), 0, errorsIds.size()); + } + + @Test + public void checkAllElementInUMLFileHaveAnID() throws Exception { + DocumentBuilder dBuilder; + Document document = null; + dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); + document = dBuilder.parse(getUMLOutputFile()); + List<String> ids = new ArrayList<String>(); + List<Node> nodes = flattenDocument(document); + for (Node node : nodes) { + if (node.getAttributes() != null) { + Node item = node.getAttributes().getNamedItem(XMI_ID_ATTRIBUTE_NAME); + if (item != null) { + String value = item.getNodeValue(); + ids.add(value); + } + } + } + int nbElements = 0; + + // here we need to load the umlResource to know how elements there are in the model. + // it can fail if several elements have the same IDs and incompatible type + initOutputResourcesFields(); + Iterator<EObject> iter = this.umlResource.getAllContents(); + while (iter.hasNext()) { + iter.next(); + nbElements++; + } + Assert.assertEquals("I don't found the same number of XMI_ID than the number of element in the file", nbElements, ids.size()); + + } + + @Test + @Ignore // doesn't work yet + public void checkAllElementInNotationFileHaveAnID() throws Exception { + DocumentBuilder dBuilder; + Document document = null; + dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); + document = dBuilder.parse(getNotationOutputFile()); + List<String> ids = new ArrayList<String>(); + List<Node> nodes = flattenDocument(document); + for (Node node : nodes) { + if (node.getAttributes() != null) { + Node item = node.getAttributes().getNamedItem(XMI_ID_ATTRIBUTE_NAME); + if (item != null) { + String value = item.getNodeValue(); + ids.add(value); + } + } + } + int nbElements = 0; + + // here we need to load the umlResource to know how elements there are in the model. + // it can fail if several elements have the same IDs and incompatible type + initOutputResourcesFields(); + Iterator<EObject> iter = this.notationResource.getAllContents(); + while (iter.hasNext()) { + iter.next(); + nbElements++; + } + Assert.assertEquals("I don't found the same number of XMI_ID than the number of element in the file", nbElements, ids.size()); + + } + + private static final int DEFAULT_PORT_HEIGHT = 20; + private static final int DEFAULT_PORT_WIDTH = 20; + + + /** + * check the size of the port + * + * This test must at least be valid for "shape_sysml_flowport_as_affixed" + */ + @Test + @Ignore + public void checkPortSize() { + initOutputResourcesFields(); + final TreeIterator<EObject> iter = this.notationResource.getAllContents(); + while (iter.hasNext()) { + final EObject current = iter.next(); + if (current instanceof Shape) { + final Shape view = (Shape) current; + final EObject eobject = view.getElement(); + if (eobject instanceof Port) { + if (view.getLayoutConstraint() instanceof Bounds) { + final Bounds bounds = (Bounds) view.getLayoutConstraint(); + Assert.assertEquals("The height of the port is not the expected one", DEFAULT_PORT_HEIGHT, bounds.getHeight()); + Assert.assertEquals("The width of the port is not the expected one", DEFAULT_PORT_WIDTH, bounds.getWidth()); + } + } + } + } + } + + /** + * + * @param document + * a document + * @return + * all the nodes of the document + */ + public List<Node> flattenDocument(final Document document) { + List<Node> nodes = new ArrayList<Node>(); + nodes = getAllChildren(document.getChildNodes()); + return nodes; + } + + /** + * + * @param nodeList + * a node list + * @return + * all nodes and sub-nodes of the node list + */ + public List<Node> getAllChildren(NodeList nodeList) { + List<Node> objects = new ArrayList<>(); + for (int i = 0; i < nodeList.getLength(); i++) { + Node node = nodeList.item(i); + objects.add(node); + objects.addAll(getAllChildren(node.getChildNodes())); + } + return objects; + } + + + + /** + * + * @return + * the UML output file + */ + protected File getUMLOutputFile() { + final IPath path = this.outputUmlFile.getRawLocation(); + final File file = path.toFile(); + return file; + } + + /** + * + * @return + * the Notation output file + */ + protected File getNotationOutputFile() { + final IPath path = this.outputNotationFile.getRawLocation(); + final File file = path.toFile(); + return file; + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/EMFCompareUtils.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/EMFCompareUtils.java new file mode 100755 index 00000000000..3a580012964 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/EMFCompareUtils.java @@ -0,0 +1,232 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.tests.tests; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.compare.EMFCompare; +import org.eclipse.emf.compare.diff.DefaultDiffEngine; +import org.eclipse.emf.compare.diff.DiffBuilder; +import org.eclipse.emf.compare.diff.FeatureFilter; +import org.eclipse.emf.compare.diff.IDiffEngine; +import org.eclipse.emf.compare.diff.IDiffProcessor; +import org.eclipse.emf.compare.match.DefaultComparisonFactory; +import org.eclipse.emf.compare.match.DefaultEqualityHelperFactory; +import org.eclipse.emf.compare.match.DefaultMatchEngine; +import org.eclipse.emf.compare.match.IComparisonFactory; +import org.eclipse.emf.compare.match.IEqualityHelperFactory; +import org.eclipse.emf.compare.match.IMatchEngine; +import org.eclipse.emf.compare.match.eobject.IEObjectMatcher; +import org.eclipse.emf.compare.match.eobject.WeightProviderDescriptorRegistryImpl; +import org.eclipse.emf.compare.match.impl.MatchEngineFactoryImpl; +import org.eclipse.emf.compare.match.impl.MatchEngineFactoryRegistryImpl; +import org.eclipse.emf.compare.utils.EqualityHelper; +import org.eclipse.emf.compare.utils.IEqualityHelper; +import org.eclipse.emf.compare.utils.UseIdentifiers; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.EcorePackage; + +import com.google.common.cache.LoadingCache; + +/** + * @author VL222926 + * + */ +public class EMFCompareUtils { + +// /** +// * +// * @return +// * an EMF Compare ready for comparison and configured as follow: +// * <ul> +// * <li>comparison USE XMI_ID (UseIdentifiers.NEVER)</li> +// * <li>redefining EqualityHelper to be able to match some UML Element not matching by default</li> +// * <li>redefining the DiffEngine to ignore differences on features which are not ordered in UML</li> +// * </ul> +// */ +// public static final EMFCompare createEMFCompare() { +// // testing equality helper +// +// // we override the equality helper to be able to match some objects which didn't match with the default one + //final IEqualityHelperFactory helperFactory = createUMLEqualityHelper(); +// final IComparisonFactory comparisonFactory = new DefaultComparisonFactory(helperFactory); +// +// // we override the DiffEngine to ignore differences for non ordered feature +// final IDiffProcessor diffProcessor = new DiffBuilder(); +// final IDiffEngine diffEngine = createDiffEngineIgnoringNonOrderedFeature(diffProcessor); +// +// final IMatchEngine.Factory.Registry registry = MatchEngineFactoryRegistryImpl.createStandaloneInstance(); +// +// final IEObjectMatcher matcher = DefaultMatchEngine.createDefaultEObjectMatcher(UseIdentifiers.NEVER, WeightProviderDescriptorRegistryImpl.createStandaloneInstance()); +// final MatchEngineFactoryImpl mathEnginefactory = new MatchEngineFactoryImpl(matcher, comparisonFactory); +// registry.add(mathEnginefactory); +// mathEnginefactory.setRanking(30); // default engine ranking is 10, must be higher to override. +// +// // TODO : override the post processor too ? +// return EMFCompare.builder().setDiffEngine(diffEngine).setMatchEngineFactoryRegistry(registry).build(); +// } + + + public static final EMFCompare createEMFCompare() { + // testing equality helper + + // we override the equality helper to be able to match some objects which didn't match with the default one + //final IEqualityHelperFactory helperFactory = createUMLEqualityHelper(); + final IEqualityHelperFactory helperFactory = new DefaultEqualityHelperFactory(); + final IComparisonFactory comparisonFactory = new DefaultComparisonFactory(helperFactory); + + // we override the DiffEngine to ignore differences for non ordered feature + final IDiffProcessor diffProcessor = new DiffBuilder(); + final IDiffEngine diffEngine = createDiffEngineIgnoringNonOrderedFeature(diffProcessor); + + final IMatchEngine.Factory.Registry registry = MatchEngineFactoryRegistryImpl.createStandaloneInstance(); + +// final IEObjectMatcher matcher = DefaultMatchEngine.createDefaultEObjectMatcher(UseIdentifiers.NEVER, WeightProviderDescriptorRegistryImpl.createStandaloneInstance()); + final IEObjectMatcher matcher = DefaultMatchEngine.createDefaultEObjectMatcher(UseIdentifiers.ONLY, WeightProviderDescriptorRegistryImpl.createStandaloneInstance()); + final MatchEngineFactoryImpl mathEnginefactory = new MatchEngineFactoryImpl(matcher, comparisonFactory); + registry.add(mathEnginefactory); + mathEnginefactory.setRanking(30); // default engine ranking is 10, must be higher to override. + + // TODO : override the post processor too ? + return EMFCompare.builder().setDiffEngine(diffEngine).setMatchEngineFactoryRegistry(registry).build(); + } + + // /** + // * + // * @return + // * an EMF Compare ready for comparison and configured as follow: + // * <ul> + // * <li>comparison ignoring XMI_ID (UseIdentifiers.NEVER)</li> + // * <li>redefining EqualityHelper to be able to match some UML Element not matching by default</li> + // * <li>redefining the DiffEngine to ignore differences on features which are not ordered in UML</li> + // * </ul> + // */ + // public static final EMFCompare createEMFCompareV2() { + // // testing equality helper + // + // // we override the equality helper to be able to match some objects which didn't match with the default one + // final IEqualityHelperFactory helperFactory = createUMLEqualityHelper(); + // final IComparisonFactory comparisonFactory = new DefaultComparisonFactory(helperFactory); + // + // // we override the DiffEngine to ignore differences for non ordered feature + // final IDiffProcessor diffProcessor = new DiffBuilder(); + // final IDiffEngine diffEngine = createDiffEngineIgnoringNonOrderedFeature(diffProcessor); + // + // + // final IMatchEngine.Factory.Registry registry = MatchEngineFactoryRegistryImpl.createStandaloneInstance(); + // final EditionDistance editionDistance = new EditionDistance(WeightProviderDescriptorRegistryImpl.createStandaloneInstance()); + // final CachingDistance cachedDistance = new CachingDistance(editionDistance); + // + // + // IEObjectMatcher matcher = new PapyrusProximityEObjectMatcher(cachedDistance){ + // + // }; + // + //// final IEObjectMatcher matcher = DefaultMatchEngine.createDefaultEObjectMatcher(UseIdentifiers.NEVER, WeightProviderDescriptorRegistryImpl.createStandaloneInstance()); + // final MatchEngineFactoryImpl mathEnginefactory = new MatchEngineFactoryImpl(matcher, comparisonFactory); + // registry.add(mathEnginefactory); + // mathEnginefactory.setRanking(30); // default engine ranking is 10, must be higher to override. + // return EMFCompare.builder().setDiffEngine(diffEngine).setMatchEngineFactoryRegistry(registry).build(); + // } + // + // /** + // * + // * @return + // * an EMF Compare ready for comparison and configured as follow: + // * <ul> + // * <li>comparison ignoring XMI_ID (UseIdentifiers.NEVER)</li> + // * <li>redefining EqualityHelper to be able to match some UML Element not matching by default</li> + // * <li>redefining the DiffEngine to ignore differences on features which are not ordered in UML</li> + // * </ul> + // */ + // public static final EMFCompare createEMFCompareV3() { + // // testing equality helper + // + // // we override the equality helper to be able to match some objects which didn't match with the default one + //// final IEqualityHelperFactory helperFactory = createUMLEqualityHelper(); + //// final IComparisonFactory comparisonFactory = new DefaultComparisonFactory(helperFactory); + // + // // we override the DiffEngine to ignore differences for non ordered feature + // final IDiffProcessor diffProcessor = new DiffBuilder(); + // final IDiffEngine diffEngine = createDiffEngineIgnoringNonOrderedFeature(diffProcessor); + // + // + // final IMatchEngine.Factory.Registry registry = MatchEngineFactoryRegistryImpl.createStandaloneInstance(); + // final EditionDistance editionDistance = new EditionDistance(WeightProviderDescriptorRegistryImpl.createStandaloneInstance()); + // final CachingDistance cachedDistance = new CachingDistance(editionDistance); + // + // + // IEObjectMatcher matcher = new PapyrusProximityEObjectMatcher(cachedDistance); + // + //// final IEObjectMatcher matcher = DefaultMatchEngine.createDefaultEObjectMatcher(UseIdentifiers.NEVER, WeightProviderDescriptorRegistryImpl.createStandaloneInstance()); + // final MatchEngineFactoryImpl mathEnginefactory = new MatchEngineFactoryImpl(matcher, new DefaultComparisonFactory(new DefaultEqualityHelperFactory())); + // registry.add(mathEnginefactory); + // mathEnginefactory.setRanking(30); // default engine ranking is 10, must be higher to override. + // return EMFCompare.builder().setDiffEngine(diffEngine).setMatchEngineFactoryRegistry(registry).build(); + // } + + + /** + * + * @return + * a new equality helper used for UML + */ + protected static final IEqualityHelperFactory createUMLEqualityHelper() { + // we override the equality helper to be able to match some objects which didn't match with the default one + final IEqualityHelperFactory helperFactory = new DefaultEqualityHelperFactory() { + @Override + public IEqualityHelper createEqualityHelper() { + final LoadingCache<EObject, URI> cache = EqualityHelper.createDefaultCache(getCacheBuilder()); + return new UMLIgnoringIdentifiedEqualityHelper(cache); + } + }; + return helperFactory; + } + + /** + * + * @param diffProcessor + * the diff processor + * @return + * a DiffEngine ignoring the feature where isOrdered() return false;s + */ + protected static final IDiffEngine createDiffEngineIgnoringNonOrderedFeature(IDiffProcessor diffProcessor) { + return new DefaultDiffEngine(diffProcessor) { + @Override + protected FeatureFilter createFeatureFilter() { + return new FeatureFilter() { + + + /** + * + * @see org.eclipse.emf.compare.diff.FeatureFilter#checkForOrderingChanges(org.eclipse.emf.ecore.EStructuralFeature) + * + * @param feature + * @return + */ + @Override + public boolean checkForOrderingChanges(EStructuralFeature feature) { + if (feature.isOrdered()) { + if (feature.eClass().getEPackage() == EcorePackage.eINSTANCE) { + return false; + } + System.out.println("ORDERED_FEATURE: " + feature.getName()); + } + return feature.isOrdered(); + } + }; + } + }; + } +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/PapyrusProximityEObjectMatcher.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/PapyrusProximityEObjectMatcher.java new file mode 100755 index 00000000000..f2fa92de65d --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/PapyrusProximityEObjectMatcher.java @@ -0,0 +1,493 @@ +package org.eclipse.papyrus.migration.rhapsody.tests.tests; + +import com.google.common.collect.ImmutableList; +import com.google.common.collect.Iterators; +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; +import com.google.common.collect.Sets; + +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.eclipse.core.runtime.QualifiedName; +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.Monitor; +import org.eclipse.emf.compare.CompareFactory; +import org.eclipse.emf.compare.Comparison; +import org.eclipse.emf.compare.ComparisonCanceledException; +import org.eclipse.emf.compare.EMFCompareMessages; +import org.eclipse.emf.compare.Match; +import org.eclipse.emf.compare.match.eobject.EObjectIndex; +import org.eclipse.emf.compare.match.eobject.EObjectIndex.Side; +import org.eclipse.emf.compare.match.eobject.IEObjectMatcher; +import org.eclipse.emf.compare.match.eobject.ProximityEObjectMatcher; +import org.eclipse.emf.compare.match.eobject.ProximityEObjectMatcher.DistanceFunction; +import org.eclipse.emf.compare.match.eobject.ScopeQuery; +import org.eclipse.emf.compare.match.eobject.internal.ByTypeIndex; +import org.eclipse.emf.compare.match.eobject.internal.MatchAheadOfTime; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.PackageImport; +import org.eclipse.uml2.uml.ProfileApplication; + +/** + * This matcher is using a distance function to match EObject. It guarantees that elements are matched with + * the other EObject having the lowest distance. If two elements have the same distance regarding the other + * EObject it will arbitrary pick one. (You should probably not rely on this and make sure your distance only + * return 0 if both EObject have the very same content). The matcher will try to use the fact that it is a + * distance to achieve a suitable scalability. It is also build on the following assumptions : + * <ul> + * <li>Most EObjects have no difference and have their corresponding EObject on the other sides of the model + * (right and origins)</li> + * <li>Two consecutive calls on the distance function with the same parameters will give the same distance. + * </li> + * </ul> + * The scalability you'll get will highly depend on the complexity of the distance function. The + * implementation is not caching any distance result from two EObjects. + * + * @author <a href="mailto:cedric.brun@obeo.fr">Cedric Brun</a> + */ + + +//TODO : not yet used and seems don't enough to be able to match properly PackageImport! +public class PapyrusProximityEObjectMatcher implements IEObjectMatcher, ScopeQuery { + /** + * Number of elements to index before a starting a match ahead step. + */ + private static final int NB_ELEMENTS_BETWEEN_MATCH_AHEAD = 10000; + + /** + * The index which keep the EObjects. + */ + private EObjectIndex index; + + /** + * Keeps track of which side was the EObject from. + */ + private Map<EObject, Side> eObjectsToSide = Maps.newHashMap(); + + /** + * Create the matcher using the given distance function. + * + * @param meter + * a function to measure the distance between two {@link EObject}s. + */ + public PapyrusProximityEObjectMatcher(DistanceFunction meter) { + this.index = new ByTypeIndex(meter, this); + } + + Map<String, EObject> leftMap = new HashMap<String, EObject>(); + Map<String, EObject> rightMap = new HashMap<String, EObject>(); + + Map<String, EObject> leftPackageImportMap = new HashMap<String, EObject>(); + Map<String, EObject> rightPackageImportMap = new HashMap<String, EObject>(); + + + Map<String, EObject> leftProfileApplicationImportMap = new HashMap<String, EObject>(); + Map<String, EObject> rightProfileApplicationImportMap = new HashMap<String, EObject>(); + + private void addToLeftNamedElementMap(EObject object) { + if (object instanceof NamedElement) { + leftMap.put(((NamedElement) object).getQualifiedName(), object); + } else if (object instanceof PackageImport) { + leftPackageImportMap.put(((PackageImport) object).getImportedPackage().getQualifiedName(), object); + } else if (object instanceof ProfileApplication) { + leftProfileApplicationImportMap.put(((ProfileApplication) object).getAppliedProfile().getQualifiedName(), object); + } + + } + + private void addToRightNamedElementMap(EObject object) { + if (object instanceof NamedElement) { + rightMap.put(((NamedElement) object).getQualifiedName(), object); + } else if (object instanceof PackageImport) { + rightPackageImportMap.put(((PackageImport) object).getImportedPackage().getQualifiedName(), object); + } else if (object instanceof ProfileApplication) { + rightProfileApplicationImportMap.put(((ProfileApplication) object).getAppliedProfile().getQualifiedName(), object); + } + } + + + + /** + * {@inheritDoc} + */ + public void createMatches(Comparison comparison, Iterator<? extends EObject> leftEObjects, + Iterator<? extends EObject> rightEObjects, Iterator<? extends EObject> originEObjects, + Monitor monitor) { + if (!leftEObjects.hasNext() && !rightEObjects.hasNext() && !originEObjects.hasNext()) { + return; + } + + monitor.subTask(EMFCompareMessages.getString("ProximityEObjectMatcher.monitor.indexing")); //$NON-NLS-1$ + int nbElements = 0; + int lastSegment = 0; + /* + * We are iterating through the three sides of the scope at the same time so that index might apply + * pre-matching strategies elements if they wish. + */ + while (leftEObjects.hasNext() || rightEObjects.hasNext() || originEObjects.hasNext()) { + if (monitor.isCanceled()) { + throw new ComparisonCanceledException(); + } + + if (leftEObjects.hasNext()) { + EObject next = leftEObjects.next(); + nbElements++; + index.index(next, Side.LEFT); + eObjectsToSide.put(next, Side.LEFT); + addToLeftNamedElementMap(next); + } + + if (rightEObjects.hasNext()) { + EObject next = rightEObjects.next(); + index.index(next, Side.RIGHT); + eObjectsToSide.put(next, Side.RIGHT); + addToRightNamedElementMap(next); + } + + if (originEObjects.hasNext()) { + EObject next = originEObjects.next(); + index.index(next, Side.ORIGIN); + eObjectsToSide.put(next, Side.ORIGIN); + } + if (nbElements / NB_ELEMENTS_BETWEEN_MATCH_AHEAD > lastSegment) { + matchAheadOfTime(comparison, monitor); + lastSegment++; + } + + } + + monitor.subTask(EMFCompareMessages.getString("ProximityEObjectMatcher.monitor.matching")); //$NON-NLS-1$ + createMatch(comparison); + matchIndexedObjects(comparison, monitor); + + createUnmatchesForRemainingObjects(comparison); + restructureMatchModel(comparison); + + } + + /** + * + */ + private void createMatch(Comparison comparison) { + Iterator<String> iter = leftMap.keySet().iterator(); + while (iter.hasNext()) { + String current = iter.next(); + EObject leftValue = leftMap.get(current); + EObject rightValue = rightMap.get(current); + if (leftValue != null && rightValue != null) { + areMatching(comparison, leftValue, rightValue, null); + } + } + iter = leftPackageImportMap.keySet().iterator(); + while (iter.hasNext()) { + String current = iter.next(); + EObject leftValue = leftPackageImportMap.get(current); + EObject rightValue = rightPackageImportMap.get(current); + if (leftValue != null && rightValue != null) { + areMatching(comparison, leftValue, rightValue, null); + } + } + + iter = leftProfileApplicationImportMap.keySet().iterator(); + while (iter.hasNext()) { + String current = iter.next(); + EObject leftValue = leftProfileApplicationImportMap.get(current); + EObject rightValue = rightProfileApplicationImportMap.get(current); + if (leftValue != null && rightValue != null) { + areMatching(comparison, leftValue, rightValue, null); + } + } + } + + /** + * If the index supports it, match element ahead of time, in case of failure the elements are kept and + * will be processed again later on. + * + * @param comparison + * the current comoparison. + * @param monitor + * monitor to track progress. + */ + private void matchAheadOfTime(Comparison comparison, Monitor monitor) { + if (index instanceof MatchAheadOfTime) { + matchList(comparison, ((MatchAheadOfTime) index).getValuesToMatchAhead(Side.LEFT), false, monitor); + matchList(comparison, ((MatchAheadOfTime) index).getValuesToMatchAhead(Side.RIGHT), false, + monitor); + } + } + + /** + * Match elements for real, if no match is found for an element, an object will be created to represent + * this unmatch and the element will not be processed again. + * + * @param comparison + * the current comparison. + * @param monitor + * monitor to track progress. + */ + private void matchIndexedObjects(Comparison comparison, Monitor monitor) { + Iterable<EObject> todo = index.getValuesStillThere(Side.LEFT); + while (todo.iterator().hasNext()) { + if (monitor.isCanceled()) { + throw new ComparisonCanceledException(); + } + todo = matchList(comparison, todo, true, monitor); + } + todo = index.getValuesStillThere(Side.RIGHT); + while (todo.iterator().hasNext()) { + if (monitor.isCanceled()) { + throw new ComparisonCanceledException(); + } + todo = matchList(comparison, todo, true, monitor); + } + + } + + /** + * Create all the Match objects for the remaining EObjects. + * + * @param comparison + * the current comparison. + */ + private void createUnmatchesForRemainingObjects(Comparison comparison) { + for (EObject notFound : index.getValuesStillThere(Side.RIGHT)) { + areMatching(comparison, null, notFound, null); + } + for (EObject notFound : index.getValuesStillThere(Side.LEFT)) { + areMatching(comparison, notFound, null, null); + } + for (EObject notFound : index.getValuesStillThere(Side.ORIGIN)) { + areMatching(comparison, null, null, notFound); + } + } + + /** + * Process the list of objects matching them. This method might not be able to process all the EObjects if + * - for instance, their container has not been matched already. Every object which could not be matched + * is returned in the list. + * + * @param comparison + * the comparison being built. + * @param todoList + * the list of objects to process. + * @param createUnmatches + * whether elements which have no match should trigger the creation of a Match object (meaning + * we won't try to match them afterwards) or not. + * @param monitor + * a monitor to track progress. + * @return the list of EObjects which could not be processed for some reason. + */ + private Iterable<EObject> matchList(Comparison comparison, Iterable<EObject> todoList, + boolean createUnmatches, Monitor monitor) { + Set<EObject> remainingResult = Sets.newLinkedHashSet(); + List<EObject> requiredContainers = Lists.newArrayList(); + Iterator<EObject> todo = todoList.iterator(); + while (todo.hasNext()) { + if (monitor.isCanceled()) { + throw new ComparisonCanceledException(); + } + EObject next = todo.next(); + /* + * Let's first add every container which is in scope + */ + EObject container = next.eContainer(); + while (container != null && isInScope(container)) { + if (comparison.getMatch(container) == null) { + requiredContainers.add(0, container); + } + container = container.eContainer(); + } + } + Iterator<EObject> containersAndTodo = Iterators.concat(requiredContainers.iterator(), + todoList.iterator()); + while (containersAndTodo.hasNext()) { + if (monitor.isCanceled()) { + throw new ComparisonCanceledException(); + } + EObject next = containersAndTodo.next(); + /* + * At this point you need to be sure the element has not been matched in any other way before. + */ + if (comparison.getMatch(next) == null) { + if (!tryToMatch(comparison, next, createUnmatches)) { + remainingResult.add(next); + } + } + } + return remainingResult; + } + + /** + * Try to create a Match. If the match got created, register it (having actual left/right/origin matches + * or not), if not, then return false. Cases where it might not create the match : if some required data + * has not been computed yet (for instance if the container of an object has not been matched and if the + * distance need to know if it's match to find the children matches). + * + * @param comparison + * the comparison under construction, it will be updated with the new match. + * @param a + * object to match. + * @param createUnmatches + * whether elements which have no match should trigger the creation of a Match object (meaning + * we won't try to match them afterwards) or not. + * @return false if the conditions are not fulfilled to create the match, true otherwhise. + */ + private boolean tryToMatch(Comparison comparison, EObject a, boolean createUnmatches) { + boolean okToMatch = false; + Side aSide = eObjectsToSide.get(a); + assert aSide != null; + Side bSide = Side.LEFT; + Side cSide = Side.RIGHT; + if (aSide == Side.RIGHT) { + bSide = Side.LEFT; + cSide = Side.ORIGIN; + } else if (aSide == Side.LEFT) { + bSide = Side.RIGHT; + cSide = Side.ORIGIN; + } else if (aSide == Side.ORIGIN) { + bSide = Side.LEFT; + cSide = Side.RIGHT; + } + assert aSide != bSide; + assert bSide != cSide; + assert cSide != aSide; + Map<Side, EObject> closests = index.findClosests(comparison, a, aSide); + if (closests != null) { + EObject lObj = closests.get(bSide); + EObject aObj = closests.get(cSide); + if (lObj != null || aObj != null) { + // we have at least one other match + areMatching(comparison, closests.get(Side.LEFT), closests.get(Side.RIGHT), + closests.get(Side.ORIGIN)); + okToMatch = true; + } else if (createUnmatches) { + areMatching(comparison, closests.get(Side.LEFT), closests.get(Side.RIGHT), + closests.get(Side.ORIGIN)); + okToMatch = true; + } + } + return okToMatch; + } + + /** + * Process all the matches of the given comparison and re-attach them to their parent if one is found. + * + * @param comparison + * the comparison to restructure. + */ + private void restructureMatchModel(Comparison comparison) { + Iterator<Match> it = ImmutableList.copyOf(Iterators.filter(comparison.eAllContents(), Match.class)) + .iterator(); + + while (it.hasNext()) { + Match cur = it.next(); + EObject possibleContainer = null; + if (cur.getLeft() != null) { + possibleContainer = cur.getLeft().eContainer(); + } + if (possibleContainer == null && cur.getRight() != null) { + possibleContainer = cur.getRight().eContainer(); + } + if (possibleContainer == null && cur.getOrigin() != null) { + possibleContainer = cur.getOrigin().eContainer(); + } + Match possibleContainerMatch = comparison.getMatch(possibleContainer); + if (possibleContainerMatch != null) { + ((BasicEList<Match>) possibleContainerMatch.getSubmatches()).addUnique(cur); + } + } + } + + /** + * Register the given object as a match and add it in the comparison. + * + * @param comparison + * container for the Match. + * @param left + * left element. + * @param right + * right element + * @param origin + * origin element. + * @return the created match. + */ + private Match areMatching(Comparison comparison, EObject left, EObject right, EObject origin) { + Match result = CompareFactory.eINSTANCE.createMatch(); + result.setLeft(left); + result.setRight(right); + result.setOrigin(origin); + ((BasicEList<Match>) comparison.getMatches()).addUnique(result); + if (left != null) { + index.remove(left, Side.LEFT); + } + if (right != null) { + index.remove(right, Side.RIGHT); + } + if (origin != null) { + index.remove(origin, Side.ORIGIN); + } + return result; + } + + // /** + // * This represent a distance function used by the {@link PapyrusProximityEObjectMatcher} to compare EObjects and + // * retrieve the closest EObject from one side to another. Axioms of the distance are supposed to be + // * respected more especially : + // * <ul> + // * <li>symetry : dist(a,b) == dist(b,a)</li> + // * <li>separation :dist(a,a) == 0</li> + // * </ul> + // * Triangular inequality is not leveraged with the current implementation but might be at some point to + // * speed up the indexing. <br/> + // * computing the distance between two EObjects should be a <b> fast operation</b> or the scalability of + // * the whole matching phase will be poor. + // * + // * @author cedric brun <cedric.brun@obeo.fr> + // */ + // public interface DistanceFunction { + // /** + // * Return the distance between two EObjects. When the two objects should considered as completely + // * different the implementation is expected to return Double.MAX_VALUE. + // * + // * @param inProgress + // * the comparison being processed right now. This might be used for the distance to + // * retrieve other matches for instance. + // * @param a + // * first object. + // * @param b + // * second object. + // * @return the distance between the two EObjects or Double.MAX_VALUE when the objects are considered + // * too different to be the same. + // */ + // double distance(Comparison inProgress, EObject a, EObject b); + // + // /** + // * Check that two objects are equals from the distance function point of view (distance should be 0) + // * You should prefer this method when you just want to check objects are not equals enabling the + // * distance to stop sooner. + // * + // * @param inProgress + // * the comparison being processed right now. This might be used for the distance to + // * retrieve other matches for instance. + // * @param a + // * first object. + // * @param b + // * second object. + // * @return true of the two objects are equals, false otherwise. + // */ + // boolean areIdentic(Comparison inProgress, EObject a, EObject b); + // + // } + + /** + * {@inheritDoc} + */ + public boolean isInScope(EObject eContainer) { + return eObjectsToSide.get(eContainer) != null; + } +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/TestRhapsodyMetamodel.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/TestRhapsodyMetamodel.java new file mode 100755 index 00000000000..f65d43fab70 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/TestRhapsodyMetamodel.java @@ -0,0 +1,73 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.tests.tests; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.UMLRhapsodyPackage; +import org.junit.Assert; +import org.junit.Test; + +/** + * This class tests Rhapsody metamodel properties for which we are sure of them + * + */ +@SuppressWarnings("nls") +public class TestRhapsodyMetamodel { + + /** + * the list of the elements which must not have the displayName feature (partial list) + */ + private static final List<EClass> withoutDisplayNameFeature = new ArrayList<EClass>(); + + /** + * the list of the elements which must not have the displayName feature (partial list) + */ + private static final List<EClass> withDisplayNameFeature = new ArrayList<EClass>(); + + + static { +// withoutDisplayNameFeature.add(UMLRhapsodyPackage.eINSTANCE.getIAssociationEnd()); + + withDisplayNameFeature.add(UMLRhapsodyPackage.eINSTANCE.getIAssociationEnd()); + withDisplayNameFeature.add(UMLRhapsodyPackage.eINSTANCE.getIObjectLink()); + withDisplayNameFeature.add(UMLRhapsodyPackage.eINSTANCE.getIInformationFlow()); + withDisplayNameFeature.add(UMLRhapsodyPackage.eINSTANCE.getIType()); + } + + /** + * Check objects for which we are sure they must not have the displayName feature + */ + @Test + public void testObjectWithoutDisplayNameFeature() { + for (EClass current : withoutDisplayNameFeature) { + Assert.assertFalse("The eClass " + current.getName() + " must not contain a feature called " + UMLRhapsodyPackage.eINSTANCE.getIModelElement_DisplayName().getName() + ".", + current.getEAllStructuralFeatures().contains(UMLRhapsodyPackage.eINSTANCE.getIModelElement_DisplayName())); + } + } + + /** + * Check objects for which we are sure they must have the displayName feature + */ + @Test + public void textObjectWithDisplayNameFeature() { + for (EClass current : withDisplayNameFeature) { + Assert.assertTrue("The eClass " + current.getName() + " must contain a feature called " + UMLRhapsodyPackage.eINSTANCE.getIModelElement_DisplayName().getName() + ".", + current.getEAllStructuralFeatures().contains(UMLRhapsodyPackage.eINSTANCE.getIModelElement_DisplayName())); + } + } + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/TestRhapsodySharedFolder.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/TestRhapsodySharedFolder.java new file mode 100644 index 00000000000..95511d1bde0 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/TestRhapsodySharedFolder.java @@ -0,0 +1,60 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.migration.rhapsody.tests.tests; + +import java.io.File; + +import org.eclipse.osgi.util.NLS; +import org.eclipse.papyrus.migration.rhapsody.utils.RhapsodyShareFolderUtils; +import org.junit.Assert; +import org.junit.Test; + +/** + * @author VL222926 + * + */ +public class TestRhapsodySharedFolder { + + // TODO : duplicated into org.eclipse.papyrus.migration.rhapsody.preferences.RhapsodyShareFolderUtils + // TODO probably works only on windows! + private static final String SYSML_FILE_PATH_IN_SHARE_FOLDER = "\\Profiles\\SysML\\SysMLProfile.rpy"; + private static final String MARTE_FOLDER_PATH_IN_SHARE_FOLDER = "\\Profiles\\MARTE"; + private static final String PREDEFINED_C_TYPES_IN_SHARE_FOLDER = "\\Properties\\PredefinedTypesC.sbs"; + private static final String PREDEFINED_CPP_TYPES_IN_SHARE_FOLDER = "\\Properties\\PredefinedTypesC++.sbs"; + + /** + * this test check that the Rhapsody folder is known by the system + */ + @Test + public void checkSharedRhapsodyFolder() { + // if this field is not registered, we can't execute the JUnit tests! + // System.setProperty("-RhapsodyHome","C:\\IBM\\Rational\\Rhapsody\\8.0\\Share"); + // or //C:\ProgramData\IBM\Rational\Rhapsody\8.1.5\Share + final String rhpHome = RhapsodyShareFolderUtils.getRhapsodyShareFolder(); + String uri = rhpHome;// + "traze"; + File file = new File(uri); + Assert.assertTrue(NLS.bind("The given Rhapsody Shared Folder Path doesn't not exists. We don't found: {0}", rhpHome), file.exists()); + + + // checking SysML file is found + Assert.assertTrue("SysML File not found in the Rhapsody Share folder", new File(rhpHome + SYSML_FILE_PATH_IN_SHARE_FOLDER).exists()); + // checking Predefined Types C file is found + Assert.assertTrue("Predefined Type C File not found in the Rhapsody Share folder", new File(rhpHome + PREDEFINED_C_TYPES_IN_SHARE_FOLDER).exists()); + // checking Predefined Types C++ file is found + Assert.assertTrue("Predefined Type C++ File not found in the Rhapsody Share folder", new File(rhpHome + PREDEFINED_CPP_TYPES_IN_SHARE_FOLDER).exists()); + // checking MARTE folder is found + Assert.assertTrue("MARTE not found in the Rhapsody Share folder", new File(rhpHome + MARTE_FOLDER_PATH_IN_SHARE_FOLDER).exists()); + } + + +} diff --git a/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/UMLIgnoringIdentifiedEqualityHelper.java b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/UMLIgnoringIdentifiedEqualityHelper.java new file mode 100755 index 00000000000..8600895dc78 --- /dev/null +++ b/tests/junit/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.tests/src/org/eclipse/papyrus/migration/rhapsody/tests/tests/UMLIgnoringIdentifiedEqualityHelper.java @@ -0,0 +1,177 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.migration.rhapsody.tests.tests; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.compare.utils.EqualityHelper; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.emf.ecore.impl.DynamicEObjectImpl; +import org.eclipse.papyrus.infra.constraints.constraints.TrueConstraint; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.PackageImport; +import org.eclipse.uml2.uml.Profile; +import org.eclipse.uml2.uml.ProfileApplication; +import org.eclipse.uml2.uml.TemplateBinding; +import org.eclipse.uml2.uml.TemplateParameterSubstitution; +import org.eclipse.uml2.uml.util.UMLUtil; + +import com.google.common.cache.LoadingCache; + +/** + * @author VL222926 + * + */ +public class UMLIgnoringIdentifiedEqualityHelper extends EqualityHelper { + + /** + * Constructor. + * + * @param uriCache + */ + //TODO the cache is ignored from this implementation + public UMLIgnoringIdentifiedEqualityHelper(LoadingCache<EObject, URI> uriCache) { + super(uriCache); + } + + /** + * + * @see org.eclipse.emf.compare.utils.EqualityHelper#matchingValues(java.lang.Object, java.lang.Object) + * + * @param object1 + * @param object2 + * @return + */ + @Override + public boolean matchingValues(Object object1, Object object2) { + boolean result = super.matchingValues(object1, object2); + return result; + } + + /** + * @see org.eclipse.emf.compare.utils.EqualityHelper#matchingEObjects(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject) + * + * @param object1 + * @param object2 + * @return + */ + @Override + protected boolean matchingEObjects(EObject object1, EObject object2) { + final EClass eClass1 = object1.eClass(); + final EClass eClass2 = object2.eClass(); + + boolean result = false; + if (eClass1 == eClass2) { + if (object1.eIsProxy() && object2.eIsProxy()) { + result = super.matchingEObjects(object1, object2); + } else if (object1 instanceof NamedElement && object2 instanceof NamedElement) { + result = matchingNamedElement((NamedElement) object1, (NamedElement) object2); + } else if (object1 instanceof Element && object2 instanceof Element) { + result = matchingElement((Element) object1, (Element) object2); + } else if (object1.eClass().getEPackage() == EcorePackage.eINSTANCE) { + result = super.matchingEObjects(object1, object2); + } else { + // TODO ? + result = super.matchingEObjects(object1, object2); + } + } + return result; + } + + /** + * + * @param object1 + * @param object2 + * @return + * {@link TrueConstraint} if the 2 named element have the same qualified name + */ + protected boolean matchingNamedElement(final NamedElement object1, final NamedElement object2) { + boolean result = false; + final String qn1 = ((NamedElement) object1).getQualifiedName(); + final String qn2 = ((NamedElement) object2).getQualifiedName(); + if (qn1 == null && qn2 == null) { + // when there is no name on a named element + result = matchingValues(object1.eContainer(), object2.eContainer()); + } + if (null != qn1 && null != qn2) { + result = qn1.equals(qn2); + } + return result; + } + + /** + * + * @param object1 + * @param object2 + * @return + * + */ + protected boolean matchingElement(final Element object1, final Element object2) { + boolean result = false; + final EObject parent1 = object1.eContainer(); + final EObject parent2 = object2.eContainer(); + + // we check owner + if (matchingValues(parent1, parent2)) { + if (object1 instanceof PackageImport && object2 instanceof PackageImport) { + final Package importedPackage1 = ((PackageImport) object1).getImportedPackage(); + final Package importedPackage2 = ((PackageImport) object2).getImportedPackage(); + result = importedPackage1.getQualifiedName().equals(importedPackage2.getQualifiedName()); + } else if (object1 instanceof ProfileApplication && object2 instanceof ProfileApplication) { + final ProfileApplication prof1 = (ProfileApplication) object1; + final ProfileApplication prof2 = (ProfileApplication) object2; + final Profile p1 = prof1.getAppliedProfile(); + final Profile p2 = prof2.getAppliedProfile(); + final String p1Qname = p1.getQualifiedName(); + final String p2Qname = p2.getQualifiedName(); + if (p1Qname != null) { + result = p1Qname.equals(p2Qname); + } + } else if (object1 instanceof ConnectorEnd && object2 instanceof ConnectorEnd) { + final ConnectorEnd conn1 = (ConnectorEnd) object1; + final ConnectorEnd conn2 = (ConnectorEnd) object2; + final Element role1 = conn1.getRole(); + final Element role2 = conn2.getRole(); + boolean roleMatching = matchingValues(role1, role2); + if (roleMatching) { + final Element partWithPort1 = conn1.getPartWithPort(); + final Element partWithPort2 = conn2.getPartWithPort(); + result = matchingValues(partWithPort1, partWithPort2); + } + // } + } else if (object1 instanceof Comment && object2 instanceof Comment) { + final String body1 = ((Comment) object1).getBody(); + final String body2 = ((Comment) object2).getBody(); + if (body1 != null) { + result = body1.equals(body2); + } + } else if (object1 instanceof TemplateBinding && object2 instanceof TemplateBinding) { + // owner already checked + result = true; + } else if (object1 instanceof TemplateParameterSubstitution && object2 instanceof TemplateParameterSubstitution) { + // owner already checked + result = true; + } else { + // ? + } + } + return result; + } + +} |