Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Le Menez2017-01-09 14:22:29 +0000
committerGerrit Code Review @ Eclipse.org2017-01-13 14:32:49 +0000
commit6534cb833f6a5e96a32e9127d0b94a4adea13cae (patch)
tree4eb478a5921e7411cb78d20e878ec759e3204a02 /tests/integration
parentd39caf72129aba65c94bb46cb557d3e070e18caf (diff)
downloadorg.eclipse.papyrus-6534cb833f6a5e96a32e9127d0b94a4adea13cae.tar.gz
org.eclipse.papyrus-6534cb833f6a5e96a32e9127d0b94a4adea13cae.tar.xz
org.eclipse.papyrus-6534cb833f6a5e96a32e9127d0b94a4adea13cae.zip
[Releng] [Tests] Delete obsolete tests
Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.classpath8
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.project28
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.settings/org.eclipse.jdt.core.prefs291
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.settings/org.eclipse.jdt.ui.prefs68
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/META-INF/MANIFEST.MF30
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/about.html28
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/build.properties10
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.di17
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.notation37
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.uml4
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/plugin.properties15
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/Activator.java34
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/DiagramCreationException.java69
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/DiagramCreator.java123
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/EclipseProject.java218
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/EditorCreationException.java68
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/ExecutionException.java70
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/ProgramaticPapyrusEditor.java327
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/operationhistory/IOperationHistoryHandler.java36
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/operationhistory/OperationHistoryHandler.java103
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/package-info.java24
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/DiagramCreatorTest.java81
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/EclipseProjectTest.java114
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/ProgramaticPapyrusEditorTest.java162
-rw-r--r--tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/undoredo/UndoRedoAfterEditorCreationTest.java202
25 files changed, 0 insertions, 2167 deletions
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.classpath b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.classpath
deleted file mode 100644
index e8be64492e4..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="test"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.project b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.project
deleted file mode 100644
index 123e0599bfc..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.integrationtests.editor</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/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.settings/org.eclipse.jdt.core.prefs b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 410244d65a6..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,291 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
-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/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.settings/org.eclipse.jdt.ui.prefs b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 954281dbc31..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,68 +0,0 @@
-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/integration/plugins/org.eclipse.papyrus.integrationtests.editor/META-INF/MANIFEST.MF b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/META-INF/MANIFEST.MF
deleted file mode 100644
index db6fac77c6a..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,30 +0,0 @@
-Manifest-Version: 1.0
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.papyrus.infra.core;bundle-version="1.2.0",
- org.eclipse.ui.workbench,
- org.eclipse.ui.ide,
- org.eclipse.emf.ecore;bundle-version="2.9.1",
- org.junit;bundle-version="4.10.0",
- org.eclipse.papyrus.uml.tools;bundle-version="1.2.0",
- org.eclipse.papyrus.uml.diagram.clazz;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="1.2.0",
- org.eclipse.papyrus.uml.diagram.activity;bundle-version="1.2.0",
- org.eclipse.papyrus.uml.diagram.common;bundle-version="1.2.0",
- org.eclipse.papyrus.uml.diagram.emftree;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.emf.diagram.common;bundle-version="1.2.0",
- org.eclipse.core.commands;bundle-version="3.6.100",
- org.eclipse.emf.transaction;bundle-version="1.4.0",
- org.eclipse.papyrus.infra.ui;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.2.0"
-Export-Package: org.eclipse.papyrus.integrationtests.editor
-Bundle-Vendor: %providerName
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 1.2.0.qualifier
-Bundle-Name: %pluginName
-Bundle-Localization: plugin
-Bundle-ManifestVersion: 2
-Bundle-Activator: org.eclipse.papyrus.integrationtests.editor.Activator
-Bundle-SymbolicName: org.eclipse.papyrus.integrationtests.editor
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/about.html b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!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>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). 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, &quot;Program&quot; 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 (&quot;Redistributor&quot;) 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>
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/build.properties b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/build.properties
deleted file mode 100644
index 5011ec37623..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/build.properties
+++ /dev/null
@@ -1,10 +0,0 @@
-source.. = src/,\
- test/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- about.html,\
- plugin.properties,\
- build.properties,\
- models/
-src.includes = about.html
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.di b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.di
deleted file mode 100644
index 3628d4d1db8..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.di
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
- <pageList>
- <availablePage>
- <emfPageIdentifier href="modelTestLoadModel.notation#_cW2QoH71EeOkT5h268q24w"/>
- </availablePage>
- </pageList>
- <sashModel currentSelection="//@sashModel/@windows.0/@children.0">
- <windows>
- <children xsi:type="di:TabFolder">
- <children>
- <emfPageIdentifier href="modelTestLoadModel.notation#_cW2QoH71EeOkT5h268q24w"/>
- </children>
- </children>
- </windows>
- </sashModel>
-</di:SashWindowsMngr>
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.notation b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.notation
deleted file mode 100644
index 856d89e4d76..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.notation
+++ /dev/null
@@ -1,37 +0,0 @@
-<?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/4.0.0/UML" xmi:id="_cW2QoH71EeOkT5h268q24w" type="PapyrusUMLClassDiagram" name="diagram1" measurementUnit="Pixel">
- <children xmi:type="notation:Shape" xmi:id="_c9YsMH71EeOkT5h268q24w" type="2008" fontName="Segoe UI" lineColor="0">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_c9YsMn71EeOkT5h268q24w" source="ShadowFigure">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_c9YsM371EeOkT5h268q24w" key="ShadowFigure_Value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_c9YsNH71EeOkT5h268q24w" source="displayNameLabelIcon">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_c9YsNX71EeOkT5h268q24w" key="displayNameLabelIcon_value" value="false"/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_c9YsNn71EeOkT5h268q24w" source="QualifiedName">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_c9YsN371EeOkT5h268q24w" key="QualifiedNameDepth" value="1000"/>
- </eAnnotations>
- <children xmi:type="notation:DecorationNode" xmi:id="_c9YsOH71EeOkT5h268q24w" type="5029"/>
- <children xmi:type="notation:BasicCompartment" xmi:id="_c9YsOX71EeOkT5h268q24w" type="7017">
- <styles xmi:type="notation:TitleStyle" xmi:id="_c9YsOn71EeOkT5h268q24w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_c9YsO371EeOkT5h268q24w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_c9YsPH71EeOkT5h268q24w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_c9YsPX71EeOkT5h268q24w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_c9YsPn71EeOkT5h268q24w" type="7018">
- <styles xmi:type="notation:TitleStyle" xmi:id="_c9YsP371EeOkT5h268q24w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_c9YsQH71EeOkT5h268q24w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_c9YsQX71EeOkT5h268q24w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_c9YsQn71EeOkT5h268q24w"/>
- </children>
- <children xmi:type="notation:BasicCompartment" xmi:id="_c9YsQ371EeOkT5h268q24w" type="7019">
- <styles xmi:type="notation:TitleStyle" xmi:id="_c9YsRH71EeOkT5h268q24w"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_c9YsRX71EeOkT5h268q24w"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_c9YsRn71EeOkT5h268q24w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_c9YsR371EeOkT5h268q24w"/>
- </children>
- <element xmi:type="uml:Class" href="modelTestLoadModel.uml#_c8pFUH71EeOkT5h268q24w"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_c9YsMX71EeOkT5h268q24w" x="156" y="167"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_cW2QoX71EeOkT5h268q24w"/>
- <element xmi:type="uml:Model" href="modelTestLoadModel.uml#_cWjVsH71EeOkT5h268q24w"/>
-</notation:Diagram>
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.uml b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.uml
deleted file mode 100644
index a0c1c0d789b..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/models/modelTestLoadModel.uml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xmi:id="_cWjVsH71EeOkT5h268q24w" name="model">
- <packagedElement xmi:type="uml:Class" xmi:id="_c8pFUH71EeOkT5h268q24w" name="Class1"/>
-</uml:Model>
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/plugin.properties b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/plugin.properties
deleted file mode 100644
index e10974ff0f5..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/plugin.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-#################################################################################
-# Copyright (c) 2013, 2014 LIFL, CEA, 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:
-# Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
-# Christian W. Damus (CEA) - fix pluginName
-#
-##################################################################################
-pluginName=Papyrus Core Editor Integration Tests
-providerName=Eclipse Modeling Project
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/Activator.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/Activator.java
deleted file mode 100644
index 404def75863..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/Activator.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.eclipse.papyrus.integrationtests.editor;
-
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-public class Activator implements BundleActivator {
-
- private static BundleContext context;
-
- static BundleContext getContext() {
- return context;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
- */
- @Override
- public void start(BundleContext bundleContext) throws Exception {
- Activator.context = bundleContext;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
- */
- @Override
- public void stop(BundleContext bundleContext) throws Exception {
- Activator.context = null;
- }
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/DiagramCreationException.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/DiagramCreationException.java
deleted file mode 100644
index 5c8c3b1c188..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/DiagramCreationException.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013, 2014 Cedric Dumoulin, CEA, 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- * Christian W. Damus (CEA) - bug 442526
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-public class DiagramCreationException extends ExecutionException {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- *
- */
- public DiagramCreationException() {
- super();
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- * @param cause
- */
- public DiagramCreationException(String message, Throwable cause) {
- super(message, cause);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public DiagramCreationException(String message) {
- super(message);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param cause
- */
- public DiagramCreationException(Throwable cause) {
- super(cause);
- // TODO Auto-generated constructor stub
- }
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/DiagramCreator.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/DiagramCreator.java
deleted file mode 100644
index e78a791591e..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/DiagramCreator.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 Cedric Dumoulin.
- *
- *
- * 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.papyrus.commands.ICreationCommand;
-import org.eclipse.papyrus.infra.core.resource.ModelSet;
-import org.eclipse.papyrus.infra.core.sasheditor.editor.IPage;
-import org.eclipse.papyrus.infra.core.sasheditor.editor.ISashWindowsContainer;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.uml.diagram.activity.CreateActivityDiagramCommand;
-import org.eclipse.papyrus.uml.diagram.clazz.CreateClassDiagramCommand;
-import org.eclipse.papyrus.uml.diagram.emftree.CreateEMFTreeDiagramHandler;
-
-
-/**
- * This class is used to create programmatically various diagram available in Papyrus. <br>
- * This class is designed for tests purpose. It is not intended to be used in regular editor.
- *
- * @author cedric dumoulin
- *
- */
-public class DiagramCreator {
-
- public ProgramaticPapyrusEditor editorCreator;
-
- /**
- * Constructor.
- *
- */
- public DiagramCreator(ProgramaticPapyrusEditor editorCreator) {
- this.editorCreator = editorCreator;
- }
-
- /**
- * Create a diagram of the requested type. Return the {@link IPage} used in {@link ISashWindowsContainer}.
- *
- * @param name
- * @return
- * @throws DiagramCreationException
- */
- public IPage createClassDiagram(String name) throws DiagramCreationException {
-
- try {
- ModelSet modelSet = editorCreator.getModelSet();
-
- ICreationCommand command = new CreateClassDiagramCommand();
- command.createDiagram(modelSet, null, name);
-
- // Return the page created by the container.
- // This should be the activePage
- ISashWindowsContainer container = editorCreator.getServiceRegistry().getService(ISashWindowsContainer.class);
- return container.getActiveSashWindowsPage();
- } catch (ServiceException e) {
- e.printStackTrace();
- throw new DiagramCreationException(e);
- }
- }
-
- /**
- * Create a diagram of the requested type. Return the {@link IPage} used in {@link ISashWindowsContainer}.
- *
- * @param name
- * @return
- * @throws DiagramCreationException
- */
- public IPage createActivityDiagram(String name) throws DiagramCreationException {
-
- try {
- ModelSet modelSet = editorCreator.getModelSet();
-
- ICreationCommand command = new CreateActivityDiagramCommand();
- command.createDiagram(modelSet, null, name);
-
- // Return the page created by the container.
- // This should be the activePage
- ISashWindowsContainer container = editorCreator.getServiceRegistry().getService(ISashWindowsContainer.class);
- return container.getActiveSashWindowsPage();
- } catch (ServiceException e) {
- e.printStackTrace();
- throw new DiagramCreationException(e);
- }
- }
-
- /**
- * Create a diagram of the requested type. Return the {@link IPage} used in {@link ISashWindowsContainer}.
- *
- * @param name
- * @return
- * @throws DiagramCreationException
- */
- public IPage createEmfTreeDiagram(String name) throws DiagramCreationException {
-
- try {
- ModelSet modelSet = editorCreator.getModelSet();
-
- CreateEMFTreeDiagramHandler command = new CreateEMFTreeDiagramHandler();
- command.execute(editorCreator.getServiceRegistry());
-
- // Return the page created by the container.
- // This should be the activePage
- ISashWindowsContainer container = editorCreator.getServiceRegistry().getService(ISashWindowsContainer.class);
- return container.getActiveSashWindowsPage();
- } catch (ServiceException e) {
- e.printStackTrace();
- throw new DiagramCreationException(e);
- } catch (ExecutionException e) {
- throw new DiagramCreationException(e);
- }
- }
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/EclipseProject.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/EclipseProject.java
deleted file mode 100644
index 2ebd921d45e..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/EclipseProject.java
+++ /dev/null
@@ -1,218 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2014 Cedric Dumoulin.
- *
- *
- * 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor;
-
-import java.net.URL;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-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.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-
-
-/**
- * This class allows to create or load an Eclipse Project.
- * This is the projects found in the project explorer.
- * This class is mainly used in tests.
- *
- * @author cedric dumoulin
- *
- */
-public class EclipseProject {
-
- /**
- * The underlying Eclipse project.
- *
- */
- protected IProject project;
-
- protected IProgressMonitor monitor = new NullProgressMonitor();
-
- /**
- * Constructor.
- * Create or load the specified project.
- *
- * @throws ExecutionException
- */
- public EclipseProject(String projectName) throws ExecutionException {
- // Create the project
- initProject(projectName);
- }
-
- /**
- * Create or load the project.
- *
- * @param projectName
- * @throws ExecutionException
- */
- protected void initProject(String projectName) throws ExecutionException {
- project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
-
- if (project == null) {
- throw new ExecutionException("Can't get project '" + projectName + "' from workspace.");
- }
-
- if (project != null && !project.exists()) {
- // IProgressMonitor monitor = new NullProgressMonitor();
- try {
- project.create(monitor);
- } catch (CoreException e) {
- throw new ExecutionException("Can't create project '" + projectName + "'.", e);
- }
- }
-
- if (!project.isOpen()) {
- try {
- project.open(null);
- } catch (CoreException e) {
- throw new ExecutionException("Can't open project '" + projectName + "'.", e);
- }
- }
-
-
-
- }
-
-
- /**
- * @return the project
- */
- public IProject getProject() {
- return project;
- }
-
- /**
- *
- * @param fromBundle
- * @param fromResourceName
- * @param toResourceName
- * @return
- * @throws ExecutionException
- */
- public IFile copyResource(String fromBundle, String fromResourceName, String toResourceName) throws ExecutionException {
-
- try {
- Path toURL = new Path(toResourceName);
- System.out.println(toURL);
-
- IFile file = project.getFile(toResourceName);
- // link all the models resources
- if (!file.exists()) {
- // Create intermediate folders
- ensureFolders(file);
-
- URL url = FileLocator.find(Platform.getBundle(fromBundle), new Path(fromResourceName), null);
- URL newFile = FileLocator.resolve(url);
-
- // encode the URI for spaces in the path
- // And then create a link to the file
- file.createLink(new URL(newFile.toString().replaceAll(" ", "%20")).toURI(), IResource.REPLACE, monitor);
- }
- return file;
- } catch (Exception e) {
- throw new ExecutionException("Can't copy resource '" + toResourceName + "'.", e);
- }
- }
-
- /**
- * Copy the specified resource from the specified bundle to this project.
- * Use the same path in src and target.
- *
- * @param fromBundle
- * @param fromResourceName
- * @return
- * @throws ExecutionException
- */
- public IFile copyResource(String fromBundle, String fromResourceName) throws ExecutionException {
-
- return copyResource(fromBundle, fromResourceName, fromResourceName);
- }
-
- /**
- *
- * @param fromBundle
- * @param fromResourceNames
- * @throws ExecutionException
- */
- public void copyResources(String fromBundle, String... fromResourceNames) throws ExecutionException {
-
- for (String fromResourceName : fromResourceNames) {
- copyResource(fromBundle, fromResourceName);
- }
- }
-
- /**
- * Ensure that the intermediates folders exist in the project.
- *
- * @param project
- * @param name
- * @throws CoreException
- */
- protected void ensureFolders(IFile file) throws CoreException {
-
- IPath path = file.getProjectRelativePath();
- IPath folderPath = path.removeLastSegments(1);
-
- String[] segments = folderPath.segments();
-
- for (int i = segments.length - 1; i >= 0; i--) {
- IPath curFolderPath = folderPath.removeLastSegments(i);
- createFolder(curFolderPath);
- }
-
-
- }
-
- /**
- *
- * @param folderPath
- * @throws CoreException
- */
- private void createFolder(IPath folderPath) throws CoreException {
- IFolder parent = project.getFolder(folderPath);
- if (!parent.exists()) {
- parent.create(true, true, monitor);
- }
- assert (parent.exists());
- }
-
- /**
- * Creates all the folders that are needed to contains the resource.
- *
- * @param modelName
- * @throws ExecutionException
- */
- public void createFolders(String modelName) throws ExecutionException {
- try {
- IFile file = project.getFile(modelName);
- // link all the models resources
- if (!file.exists()) {
- // Create intermediate folders
- ensureFolders(file);
- }
- } catch (CoreException e) {
- throw new ExecutionException("Can't create intermediate folders for '" + modelName + ". ", e);
- }
- }
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/EditorCreationException.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/EditorCreationException.java
deleted file mode 100644
index a4cbf634fd4..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/EditorCreationException.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013, 2014 Cedric Dumoulin, CEA, 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- * Christian W. Damus (CEA) - bug 442526
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-public class EditorCreationException extends ExecutionException {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- *
- */
- public EditorCreationException() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param arg0
- */
- public EditorCreationException(String arg0) {
- super(arg0);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param arg0
- */
- public EditorCreationException(Throwable arg0) {
- super(arg0);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param arg0
- * @param arg1
- */
- public EditorCreationException(String arg0, Throwable arg1) {
- super(arg0, arg1);
- // TODO Auto-generated constructor stub
- }
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/ExecutionException.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/ExecutionException.java
deleted file mode 100644
index 408f70c7d0d..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/ExecutionException.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013, 2014 Cedric Dumoulin, CEA, 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- * Christian W. Damus (CEA) - bug 442526
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor;
-
-
-/**
- * Root exception of the package.
- *
- * @author cedric dumoulin
- *
- */
-public class ExecutionException extends Exception {
-
- /**
- *
- */
- private static final long serialVersionUID = 1L;
-
- /**
- * Constructor.
- *
- */
- public ExecutionException() {
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- */
- public ExecutionException(String message) {
- super(message);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param cause
- */
- public ExecutionException(Throwable cause) {
- super(cause);
- // TODO Auto-generated constructor stub
- }
-
- /**
- * Constructor.
- *
- * @param message
- * @param cause
- */
- public ExecutionException(String message, Throwable cause) {
- super(message, cause);
- // TODO Auto-generated constructor stub
- }
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/ProgramaticPapyrusEditor.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/ProgramaticPapyrusEditor.java
deleted file mode 100644
index 1aea23c7383..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/ProgramaticPapyrusEditor.java
+++ /dev/null
@@ -1,327 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 Cedric Dumoulin.
- *
- *
- * 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-
-import org.eclipse.core.commands.operations.IOperationHistory;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.infra.core.resource.ModelSet;
-import org.eclipse.papyrus.infra.core.resource.ModelsReader;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
-import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor;
-import org.eclipse.papyrus.uml.tools.model.UmlModel;
-import org.eclipse.papyrus.uml.tools.model.UmlUtils;
-import org.eclipse.ui.IEditorDescriptor;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.part.FileEditorInput;
-
-
-/**
- * This class allows to create a Papyrus Editor programatically.
- * The creation require the name of a project and the name of the model to create.
- * This class is for use in tests.
- *
- * @author cedric dumoulin
- *
- */
-public class ProgramaticPapyrusEditor {
-
- protected static final String DEFAULT_PROJECT_NAME = "org.eclipse.papyrus.integrationtests.editor";
- protected static final String DEFAULT_MODEL_NAME = "papyrusModelForIntegration";
-
- /**
- * Name of the project that will contains Model
- */
- // protected String projectName = DEFAULT_PROJECT_NAME;
-
- /**
- * Name of the model to create.
- */
- protected String modelName = DEFAULT_MODEL_NAME;
-
- /** The di resource set. */
- // protected ModelSet modelSet;
-
- /** The file. */
- // protected IFile file;
-
- /** The page. */
- protected IWorkbenchPage page;
-
- /** The papyrus editor. */
- protected IMultiDiagramEditor papyrusEditor;
-
- /** The project. */
- // protected IProject project;
-
- /**
- * An object representing an EclipseProject.
- */
- protected EclipseProject eclipseProject;
-
-
- /** The root. */
- // protected IWorkspaceRoot root;
-
-
- /**
- * Constructor.
- *
- * @param projectName
- * @param modelName
- * @throws EditorCreationException
- * If the creation fails.
- */
- public ProgramaticPapyrusEditor(String projectName, String modelName) throws ExecutionException {
- this.modelName = modelName;
-
- // Create an Eclipse project
- eclipseProject = new EclipseProject(projectName);
- // Create a suitable EclipseProject
- initResources(false);
-
- // Create editor
- createEditor();
- }
-
- /**
- * Constructor.
- *
- * @param projectName
- * @param modelName
- * @throws EditorCreationException
- * If the creation fails.
- */
- public ProgramaticPapyrusEditor(EclipseProject eclipseProject, String modelName) throws ExecutionException {
- this.modelName = modelName;
-
- if (eclipseProject == null) {
- throw new ExecutionException("The argument 'EclipseProject' should be initialized.");
- }
- this.eclipseProject = eclipseProject;
- // Create a suitable EclipseProject
- initResources(false);
-
- // Create editor
- createEditor();
- }
-
-
- /**
- *
- * Constructor.
- *
- * @throws EditorCreationException
- * If the creation fails.
- *
- */
- public ProgramaticPapyrusEditor() throws ExecutionException {
-
- // Create an Eclipse project
- eclipseProject = new EclipseProject(DEFAULT_PROJECT_NAME);
- // Create a suitable EclipseProject
- initResources(true);
-
- // Create editor
- createEditor();
- }
-
-
- /**
- * Init the resources.
- * The {@link #eclipseProject} should be initialized.
- *
- * @throws ExecutionException
- * @throws CoreException
- * @throws IOException
- */
- private void initResources(boolean deleteFileIfExists) throws ExecutionException {
- try {
- // Ensure path to specified resource
- eclipseProject.createFolders(modelName);
-
- // delete existing files, and then create a new model
- IFile file = eclipseProject.getProject().getFile(modelName + ".di");
- if (deleteFileIfExists && file.exists()) {
- file.delete(true, new NullProgressMonitor());
- }
-
- if (!file.exists()) {
- // Create the model
- createModel(file);
- }
- } catch (Exception e) {
- throw new ExecutionException("Can't init Project and Resources", e);
- }
- }
-
-
- /**
- * Create a model suitable for Papyrus uml.
- * Save it in the provided file.
- *
- * @param file
- * @throws CoreException
- * @throws IOException
- */
- protected void createModel(IFile file) throws CoreException, IOException {
-
- // Create ModelSet and initialize it with models declared in eclipse extensions
- ModelSet modelSet = new ModelSet();
- ModelsReader reader = new ModelsReader();
- reader.readModel(modelSet);
-
- file.create(new ByteArrayInputStream(new byte[0]), true, new NullProgressMonitor());
- modelSet.createsModels(file);
- // populate the model
- UmlModel umlModel = UmlUtils.getUmlModel(modelSet);
- umlModel.initializeEmptyModel();
-
- // ICreationCommand command = getDiagramCommandCreation();
- // command.createDiagram(modelSet, null, "DiagramToTest");
- modelSet.save(new NullProgressMonitor());
-
- }
-
- /**
- * Create a papyrus editor.
- *
- * @return
- * @throws EditorCreationException
- */
- protected IMultiDiagramEditor createEditor() throws EditorCreationException {
- // IWorkspace workspace = ResourcesPlugin.getWorkspace();
- // root = workspace.getRoot();
- // project = root.getProject(projectName);
- IFile file = eclipseProject.getProject().getFile(modelName + ".di");
-
- try {
- // //at this point, no resources have been created
- // if(!project.exists()) {
- // project.create(null);
- // }
- // if(!project.isOpen()) {
- // project.open(null);
- // }
- //
- // if(file.exists()) {
- // file.delete(true, new NullProgressMonitor());
- // }
- //
- // if(!file.exists()) {
- // // Create the model
- // createModel(file);
- // }
- //
- // Create the editor
- page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- IEditorDescriptor desc = PlatformUI.getWorkbench().getEditorRegistry().getDefaultEditor(file.getName());
- papyrusEditor = (IMultiDiagramEditor) page.openEditor(new FileEditorInput(file), desc.getId());
- return papyrusEditor;
- } catch (PartInitException e) {
- e.printStackTrace();
- throw new EditorCreationException("Can't create editor", e);
- } catch (CoreException e) {
- throw new EditorCreationException("Can't create editor", e);
- // } catch (IOException e) {
- // throw new EditorCreationException("Can't create editor", e);
- }
-
- }
-
- /**
- * Dispose the editor.
- */
- public void dispose() {
-
- if (papyrusEditor == null) {
- return;
- }
-
- // Save model, to avoid popup
- papyrusEditor.doSave(new NullProgressMonitor());
- papyrusEditor = null;
-
- // Dispose done from closeAllEditors ?
- // papyrusEditor.dispose();
- page.closeAllEditors(true);
- try {
- eclipseProject.getProject().delete(true, new NullProgressMonitor());
- } catch (CoreException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
-
- }
-
- /**
- *
- * @return
- */
- public IMultiDiagramEditor getEditor() {
- return papyrusEditor;
- }
-
- /**
- * Get the {@link ServicesRegistry} associated to the editor.
- *
- * @return The service registry.
- */
- public ServicesRegistry getServiceRegistry() {
- return papyrusEditor.getServicesRegistry();
- }
-
-
- /**
- * Cached value of modelSet.
- */
- private ModelSet modelSet;
-
- public ModelSet getModelSet() throws ServiceException {
- if (modelSet == null) {
- modelSet = papyrusEditor.getServicesRegistry().getService(ModelSet.class);
- }
- return modelSet;
- }
-
- public void undo() throws ServiceException {
- TransactionalEditingDomain domain = getServiceRegistry().getService(TransactionalEditingDomain.class);
-
- if (domain.getCommandStack().canUndo()) {
- domain.getCommandStack().undo();
- }
- }
-
- public void redo() throws ServiceException {
- TransactionalEditingDomain domain = getServiceRegistry().getService(TransactionalEditingDomain.class);
-
- if (domain.getCommandStack().canRedo()) {
- domain.getCommandStack().redo();
- }
-
- }
-
- public IOperationHistory getIOperationHistory() {
- return papyrusEditor.getSite().getWorkbenchWindow().getWorkbench().getOperationSupport().getOperationHistory();
- }
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/operationhistory/IOperationHistoryHandler.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/operationhistory/IOperationHistoryHandler.java
deleted file mode 100644
index a73f0c4c9ce..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/operationhistory/IOperationHistoryHandler.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package org.eclipse.papyrus.integrationtests.editor.operationhistory;
-
-import org.eclipse.papyrus.integrationtests.editor.ExecutionException;
-
-
-
-
-public interface IOperationHistoryHandler {
-
- /**
- *
- * @return
- */
- public boolean canRedo();
-
- /**
- * Redo the last operation in the history.
- *
- * @throws ExecutionException
- */
- public void redo() throws ExecutionException;
-
- /**
- *
- * @return
- */
- public boolean canUndo();
-
- /**
- * Redo the last operation in the history.
- *
- * @throws ExecutionException
- */
- public void undo() throws ExecutionException;
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/operationhistory/OperationHistoryHandler.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/operationhistory/OperationHistoryHandler.java
deleted file mode 100644
index 1c4bd1d940f..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/operationhistory/OperationHistoryHandler.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 Cedric Dumoulin.
- *
- *
- * 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor.operationhistory;
-
-import org.eclipse.core.commands.operations.IOperationHistory;
-import org.eclipse.core.commands.operations.IUndoContext;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor;
-import org.eclipse.papyrus.integrationtests.editor.ExecutionException;
-import org.eclipse.papyrus.integrationtests.editor.ProgramaticPapyrusEditor;
-
-
-/**
- * A handler allowing to perform undo and redo through the {@link IOperationHistory}
- *
- *
- * @author cedric dumoulin
- *
- */
-public class OperationHistoryHandler implements IOperationHistoryHandler {
-
- /** The papyrus editor. */
- protected IMultiDiagramEditor papyrusEditor;
-
- protected IOperationHistory history;
-
- private IUndoContext papyrusContext;
-
- /**
- * Constructor.
- *
- * @param papyrusEditor
- * @throws ServiceException
- */
- public OperationHistoryHandler(ProgramaticPapyrusEditor handler) throws ServiceException {
- this.papyrusEditor = handler.getEditor();
- history = papyrusEditor.getSite().getWorkbenchWindow().getWorkbench().getOperationSupport().getOperationHistory();
- papyrusContext = handler.getServiceRegistry().getService(IUndoContext.class);
- }
-
- public IOperationHistory getIOperationHistory() {
- return history;
- }
-
- /**
- *
- * @return
- */
- @Override
- public boolean canRedo() {
- return history.canRedo(papyrusContext);
- }
-
- /**
- * @see org.eclipse.papyrus.integrationtests.editor.operationhistory.IOperationHistoryHandler#redo()
- *
- * @throws ExecutionException
- */
- @Override
- public void redo() throws ExecutionException {
- try {
- history.redo(papyrusContext, null, null);
- } catch (org.eclipse.core.commands.ExecutionException e) {
- throw new ExecutionException(e);
- }
- }
-
- /**
- *
- * @return
- */
- @Override
- public boolean canUndo() {
- return history.canUndo(papyrusContext);
- }
-
- /**
- * @see org.eclipse.papyrus.integrationtests.editor.operationhistory.IOperationHistoryHandler#undo()
- *
- * @throws ExecutionException
- */
- @Override
- public void undo() throws ExecutionException {
- try {
- history.undo(papyrusContext, null, null);
- } catch (org.eclipse.core.commands.ExecutionException e) {
- throw new ExecutionException(e);
- }
- }
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/package-info.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/package-info.java
deleted file mode 100644
index 4a7ae087dfa..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/src/org/eclipse/papyrus/integrationtests/editor/package-info.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2014 Cedric Dumoulin.
- *
- *
- * 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-/**
- * This package contains utility classes for integration tests.
- * <br>
- * Examples of usages can be found in tests: {@link org.eclipse.papyrus.integrationtests.editor.DiagramCreatorTest}, {@link org.eclipse.papyrus.integrationtests.editor.ProgramaticPapyrusEditorTest}.
- *
- *
- * @author cedric dumoulin
- *
- */
-package org.eclipse.papyrus.integrationtests.editor; \ No newline at end of file
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/DiagramCreatorTest.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/DiagramCreatorTest.java
deleted file mode 100644
index 6b532957855..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/DiagramCreatorTest.java
+++ /dev/null
@@ -1,81 +0,0 @@
-package org.eclipse.papyrus.integrationtests.editor;
-
-import static org.junit.Assert.assertNotNull;
-
-import org.eclipse.papyrus.infra.core.sasheditor.editor.IPage;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Ignore;
-import org.junit.Test;
-
-/**
- * Test for {@link DiagramCreator}.
- *
- *
- * @author cedric dumoulin
- *
- */
-public class DiagramCreatorTest {
-
- @Before
- public void setUp() throws Exception {
- }
-
- @After
- public void tearDown() throws Exception {
- }
-
- /**
- *
- * @throws Exception
- */
- @Test
- @Ignore
- public void testCreateClassDiagram() throws Exception {
- ProgramaticPapyrusEditor editorHandler = new ProgramaticPapyrusEditor();
- // DiagramCreator diagramCreator = new DiagramCreator(editorHandler);
- //
- // IPage createdPage = diagramCreator.createClassDiagram("newDiagram");
- //
- // assertNotNull("diagram created", createdPage);
-
- // exit
- editorHandler.dispose();
- }
-
- /**
- *
- * @throws Exception
- */
- @Test
- public void testCreateActivityDiagram() throws Exception {
- ProgramaticPapyrusEditor editorHandler = new ProgramaticPapyrusEditor();
- DiagramCreator diagramCreator = new DiagramCreator(editorHandler);
-
- IPage createdPage = diagramCreator.createActivityDiagram("newDiagram");
-
- assertNotNull("diagram created", createdPage);
-
- // exit
- editorHandler.dispose();
- }
-
- /**
- *
- * @throws Exception
- */
- @Test
- public void testCreateEMFTreeDiagram() throws Exception {
- ProgramaticPapyrusEditor editorHandler = new ProgramaticPapyrusEditor();
- DiagramCreator diagramCreator = new DiagramCreator(editorHandler);
-
- IPage createdPage = diagramCreator.createEmfTreeDiagram("newDiagram");
-
- assertNotNull("diagram created", createdPage);
-
- // exit
- editorHandler.dispose();
- }
-
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/EclipseProjectTest.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/EclipseProjectTest.java
deleted file mode 100644
index 6774b2f034a..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/EclipseProjectTest.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2014 Cedric Dumoulin.
- *
- *
- * 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor;
-
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-
-/**
- * @author cedric dumoulin
- *
- */
-public class EclipseProjectTest {
-
- private static final String PROJECT_NAME = "org.eclipse.papyrus.integrationtests.editor.project";
- private static final String FROM_BUNDLE_NAME = "org.eclipse.papyrus.integrationtests.editor";
-
- /**
- * @throws java.lang.Exception
- */
- @Before
- public void setUp() throws Exception {
- }
-
- /**
- * @throws java.lang.Exception
- */
- @After
- public void tearDown() throws Exception {
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.EclipseProject#EclipseProject(java.lang.String)}.
- *
- * @throws ExecutionException
- */
- @Test
- public void testEclipseProject() throws ExecutionException {
- EclipseProject project = new EclipseProject(PROJECT_NAME);
-
- assertNotNull("object created", project);
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.EclipseProject#getProject()}.
- *
- * @throws ExecutionException
- */
- @Test
- public void testGetProject() throws ExecutionException {
- EclipseProject project = new EclipseProject(PROJECT_NAME);
-
- assertNotNull("object created", project.getProject());
-
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.EclipseProject#copyResource(java.lang.String, java.lang.String, java.lang.String)}.
- *
- * @throws ExecutionException
- */
- @Test
- public void testCopyResource() throws ExecutionException {
-
- String fromFile = "META-INF/MANIFEST.MF";
- String toFile = "a/b/META-INF/MANIFEST.MF";
-
- EclipseProject project = new EclipseProject(PROJECT_NAME);
-
- project.copyResource(FROM_BUNDLE_NAME, fromFile, toFile);
-
- assertNotNull("file copied", project.getProject().findMember(toFile));
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.EclipseProject#copyResource(java.lang.String, java.lang.String, java.lang.String)}.
- *
- * @throws ExecutionException
- */
- @Test
- public void testCopyResources() throws ExecutionException {
-
- String fromFile1 = "META-INF/MANIFEST.MF";
- String fromFile2 = "about.html";
-
- EclipseProject project = new EclipseProject(PROJECT_NAME);
-
- assertNull("file copied", project.getProject().findMember(fromFile1));
- assertNull("file copied", project.getProject().findMember(fromFile2));
-
- project.copyResources(FROM_BUNDLE_NAME, fromFile1, fromFile2);
-
- assertNotNull("file copied", project.getProject().findMember(fromFile1));
- assertNotNull("file copied", project.getProject().findMember(fromFile2));
- }
-
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/ProgramaticPapyrusEditorTest.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/ProgramaticPapyrusEditorTest.java
deleted file mode 100644
index d1caad59229..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/ProgramaticPapyrusEditorTest.java
+++ /dev/null
@@ -1,162 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 Cedric Dumoulin.
- *
- *
- * 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.integrationtests.editor;
-
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.papyrus.infra.core.resource.BadArgumentExcetion;
-import org.eclipse.papyrus.infra.core.resource.NotFoundException;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
-import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel;
-import org.eclipse.papyrus.infra.ui.editor.IMultiDiagramEditor;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-
-/**
- * Test for the utility class {@link ProgramaticPapyrusEditor}
- *
- * @author cedric dumoulin
- *
- */
-public class ProgramaticPapyrusEditorTest {
-
- /**
- * Name of the plugin that is created.
- */
- final protected String PLUGIN_PROJECT_NAME = "org.eclipse.papyrus.integrationtests.editor.tests";
-
- /**
- * Name of the bundle containing resources to copied.
- */
- final protected String BUNDLE_NAME = "org.eclipse.papyrus.integrationtests.editor";
-
-
- /**
- * @throws java.lang.Exception
- */
- @Before
- public void setUp() throws Exception {
- }
-
- /**
- * @throws java.lang.Exception
- */
- @After
- public void tearDown() throws Exception {
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.ProgramaticPapyrusEditor#createEditor()}.
- *
- * @throws ExecutionException
- */
- @Test
- public void testCreateEditor() throws ExecutionException {
- ProgramaticPapyrusEditor editorHandler = new ProgramaticPapyrusEditor();
- IMultiDiagramEditor editor = editorHandler.getEditor();
-
- assertNotNull("editor created", editor);
- editorHandler.dispose();
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.ProgramaticPapyrusEditor#dispose()}.
- *
- * @throws ExecutionException
- */
- @Test
- public void testDispose() throws ExecutionException {
- ProgramaticPapyrusEditor editorHandler = new ProgramaticPapyrusEditor();
- IMultiDiagramEditor editor = editorHandler.getEditor();
-
- assertNotNull("editor created", editor);
- // Try to dispose
- editorHandler.dispose();
- assertNull("editor cleaned", editorHandler.getEditor());
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.ProgramaticPapyrusEditor#getEditor()}.
- *
- * @throws ExecutionException
- */
- @Test
- public void testGetEditor() throws ExecutionException {
- ProgramaticPapyrusEditor editorHandler = new ProgramaticPapyrusEditor();
- IMultiDiagramEditor editor = editorHandler.getEditor();
-
- assertNotNull("editor created", editor);
-
- editorHandler.dispose();
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.ProgramaticPapyrusEditor#getServiceRegistry()}.
- *
- * @throws ExecutionException
- */
- @Test
- public void testGetServiceRegistry() throws ExecutionException {
- ProgramaticPapyrusEditor editorHandler = new ProgramaticPapyrusEditor();
- IMultiDiagramEditor editor = editorHandler.getEditor();
-
- assertNotNull("editor created", editor);
-
- // Try to get the Registry
- ServicesRegistry servicesRegistry = editorHandler.getServiceRegistry();
- assertNotNull("registry initialized", servicesRegistry);
-
- editorHandler.dispose();
- }
-
- /**
- * Test method for {@link org.eclipse.papyrus.integrationtests.editor.ProgramaticPapyrusEditor#getEditor()}.
- *
- * @throws ServiceException
- * @throws BadArgumentExcetion
- * @throws NotFoundException
- * @throws ExecutionException
- */
- @Test
- public void testGetEditorAndLoadModel() throws ServiceException, NotFoundException, BadArgumentExcetion, ExecutionException {
-
- String modelName = "models/modelTestLoadModel";
- // String modelName = "modelTestLoadModel";
- String diagramName = "diagram1";
- EclipseProject eclipseProject = new EclipseProject(PLUGIN_PROJECT_NAME);
- eclipseProject.copyResources(BUNDLE_NAME, modelName + ".di", modelName + ".notation", modelName + ".uml");
-
- ProgramaticPapyrusEditor editorHandler = new ProgramaticPapyrusEditor(eclipseProject, modelName);
- IMultiDiagramEditor editor = editorHandler.getEditor();
-
- assertNotNull("editor created", editor);
-
- NotationModel notationModel = (NotationModel) editorHandler.getModelSet().getModel(NotationModel.MODEL_ID);
- assertNotNull("notation model loaded", notationModel);
-
- // If the following assertion is false, this means that the model is not loaded from file (it has been created)
- Diagram diagram = notationModel.getDiagram(diagramName);
- assertNotNull("diagram loaded", diagram);
-
- editorHandler.dispose();
- }
-
-
-}
diff --git a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/undoredo/UndoRedoAfterEditorCreationTest.java b/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/undoredo/UndoRedoAfterEditorCreationTest.java
deleted file mode 100644
index 00da3a726d3..00000000000
--- a/tests/integration/plugins/org.eclipse.papyrus.integrationtests.editor/test/org/eclipse/papyrus/integrationtests/editor/undoredo/UndoRedoAfterEditorCreationTest.java
+++ /dev/null
@@ -1,202 +0,0 @@
-package org.eclipse.papyrus.integrationtests.editor.undoredo;
-
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
-
-import org.eclipse.emf.common.command.CommandStack;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.infra.core.sasheditor.editor.IPage;
-import org.eclipse.papyrus.infra.core.sasheditor.editor.ISashWindowsContainer;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.integrationtests.editor.DiagramCreationException;
-import org.eclipse.papyrus.integrationtests.editor.DiagramCreator;
-import org.eclipse.papyrus.integrationtests.editor.EditorCreationException;
-import org.eclipse.papyrus.integrationtests.editor.ExecutionException;
-import org.eclipse.papyrus.integrationtests.editor.ProgramaticPapyrusEditor;
-import org.eclipse.papyrus.integrationtests.editor.operationhistory.IOperationHistoryHandler;
-import org.eclipse.papyrus.integrationtests.editor.operationhistory.OperationHistoryHandler;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- *
- * Integration tests.
- * Check the undo/redo after nested editor creation.
- *
- * @author cedric dumoulin
- *
- */
-public class UndoRedoAfterEditorCreationTest {
-
- /**
- * Handler on a newly created editor
- */
- protected ProgramaticPapyrusEditor editorHandler;
-
- /**
- * A diagram creator associated to the editor.
- * Used to create diagrams.
- */
- protected DiagramCreator diagramCreator;
-
- /**
- * Create a new editor
- *
- * @throws Exception
- */
- @Before
- public void setUp() throws Exception {
- editorHandler = new ProgramaticPapyrusEditor();
- diagramCreator = new DiagramCreator(editorHandler);
- }
-
- /**
- * Dispose the editor.
- *
- * @throws Exception
- */
- @After
- public void tearDown() throws Exception {
- editorHandler.dispose();
- }
-
- /**
- * @throws DiagramCreationException
- * @throws EditorCreationException
- * @throws ServiceException
- *
- */
- @Test
- public void testUndoRedoUndo() throws DiagramCreationException, EditorCreationException, ServiceException {
-
- TransactionalEditingDomain domain = editorHandler.getServiceRegistry().getService(TransactionalEditingDomain.class);
- CommandStack cstack = domain.getCommandStack();
-
- // Create one diagram
- IPage createdPage = diagramCreator.createEmfTreeDiagram("newDiagram");
- assertNotNull("diagram created", createdPage);
- // Try to undo
- editorHandler.undo();
- assertNull("diagram removed", editorHandler.getEditor().getActiveEditor());
-
- // Try to redo
- editorHandler.redo();
- assertNotNull("diagram exist", editorHandler.getEditor().getActiveEditor());
-
- // Try to undo
- editorHandler.undo();
- assertNull("diagram removed", editorHandler.getEditor().getActiveEditor());
-
- // Try to redo
- editorHandler.redo();
- assertNotNull("diagram exist", editorHandler.getEditor().getActiveEditor());
- // Check di now
-
- }
-
- /**
- * @throws ServiceException
- * @throws ExecutionException
- *
- */
- @Test
- public void testUndoRedoUndoIOperationHistory() throws ServiceException, ExecutionException {
-
- // Create one diagram
- IPage createdPage = diagramCreator.createEmfTreeDiagram("newDiagram");
- assertNotNull("diagram created", createdPage);
-
- IOperationHistoryHandler history = new OperationHistoryHandler(editorHandler);
-
- // Try to undo
- assertTrue("Can undo", history.canUndo());
- history.undo();
- assertNull("diagram removed", editorHandler.getEditor().getActiveEditor());
-
-
- // Try to redo
- assertTrue("Can redo", history.canRedo());
- history.redo();
- assertNotNull("diagram exist", editorHandler.getEditor().getActiveEditor());
-
- // Try to undo
- assertTrue("Can undo", history.canUndo());
- history.undo();
- assertNull("diagram removed", editorHandler.getEditor().getActiveEditor());
-
- // Try to redo
- assertTrue("Can redo", history.canRedo());
- history.redo();
- assertNotNull("diagram exist", editorHandler.getEditor().getActiveEditor());
- // Check di now
-
- }
-
- /**
- * @throws ServiceException
- * @throws ExecutionException
- *
- */
- @Test
- public void testDoubleCreateUndoUndoRedoRedoIOperationHistory() throws ServiceException, ExecutionException {
-
- IOperationHistoryHandler history = new OperationHistoryHandler(editorHandler);
- ISashWindowsContainer container = editorHandler.getServiceRegistry().getService(ISashWindowsContainer.class);
-
- // Create one diagram
- IPage createdPage = diagramCreator.createEmfTreeDiagram("newDiagram");
- Object page1RawModel = createdPage.getRawModel();
-
- assertNotNull("diagram created", createdPage);
- assertNotNull("diagram created", page1RawModel);
-
- IPage createdPage2 = diagramCreator.createEmfTreeDiagram("newDiagram");
- Object page2RawModel = createdPage2.getRawModel();
- assertNotNull("diagram created", createdPage);
- assertNotNull("diagram created", page2RawModel);
-
- // Try to undo
- assertTrue("Can undo", history.canUndo());
- history.undo();
- assertNull("diagram removed", container.lookupModelPage(page2RawModel));
- assertNotNull("diagram preserved", container.lookupModelPage(page1RawModel));
-
-
- // Try to undo
- assertTrue("Can undo", history.canUndo());
- history.undo();
- assertNull("diagram removed", container.lookupModelPage(page2RawModel));
- assertNull("diagram removed", container.lookupModelPage(page1RawModel));
- assertNull("no active editor", editorHandler.getEditor().getActiveEditor());
-
- // Try to redo
- assertTrue("Can redo", history.canRedo());
- history.redo();
- assertNotNull("diagram restored", container.lookupModelPage(page1RawModel));
- assertNotNull("active editor set", editorHandler.getEditor().getActiveEditor());
-
- // Try to redo
- assertTrue("Can redo", history.canRedo());
- history.redo();
- assertNotNull("diagram restored", container.lookupModelPage(page2RawModel));
- assertNotNull("active editor set", editorHandler.getEditor().getActiveEditor());
-
- // Try to undo
- assertTrue("Can undo", history.canUndo());
- history.undo();
- assertNull("diagram removed", container.lookupModelPage(page2RawModel));
- assertNotNull("diagram preserved", container.lookupModelPage(page1RawModel));
-
- // Try to redo
- assertTrue("Can redo", history.canRedo());
- history.redo();
- assertNotNull("diagram restored", container.lookupModelPage(page2RawModel));
- assertNotNull("active editor set", editorHandler.getEditor().getActiveEditor());
- // Check di now
-
- }
-
-
-}

Back to the top