diff options
author | Lars Vogel | 2016-08-24 09:24:23 +0000 |
---|---|---|
committer | Lars Vogel | 2016-08-24 09:24:23 +0000 |
commit | 86db44c1390210ed43c1505f72134d0901477171 (patch) | |
tree | b3258eab93274f4a0e8e6c9f5f034bbb75bd71ab /org.eclipse.core.filebuffers.tests | |
parent | bdec566af8035be6be52e25fc1c21358c1b6ed70 (diff) | |
download | eclipse.platform.text-86db44c1390210ed43c1505f72134d0901477171.tar.gz eclipse.platform.text-86db44c1390210ed43c1505f72134d0901477171.tar.xz eclipse.platform.text-86db44c1390210ed43c1505f72134d0901477171.zip |
Bug 500181 - Fix whitespace issues in org.eclipse.core.filebuffers.tests
Change-Id: I141b22c42f335f676de8f77c426c7791883953b2
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.core.filebuffers.tests')
4 files changed, 62 insertions, 4 deletions
diff --git a/org.eclipse.core.filebuffers.tests/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.core.filebuffers.tests/.settings/org.eclipse.jdt.ui.prefs index b73bfac6f0d..6120c4be02a 100644 --- a/org.eclipse.core.filebuffers.tests/.settings/org.eclipse.jdt.ui.prefs +++ b/org.eclipse.core.filebuffers.tests/.settings/org.eclipse.jdt.ui.prefs @@ -1,4 +1,5 @@ eclipse.preferences.version=1 +editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true formatter_profile=_JDT UI Code Style Conventions formatter_settings_version=12 org.eclipse.jdt.ui.exception.name=e @@ -9,3 +10,60 @@ org.eclipse.jdt.ui.keywordthis=false org.eclipse.jdt.ui.ondemandthreshold=99 org.eclipse.jdt.ui.overrideannotation=true org.eclipse.jdt.ui.staticondemandthreshold=99 +sp_cleanup.add_default_serial_version_id=true +sp_cleanup.add_generated_serial_version_id=false +sp_cleanup.add_missing_annotations=false +sp_cleanup.add_missing_deprecated_annotations=true +sp_cleanup.add_missing_methods=false +sp_cleanup.add_missing_nls_tags=false +sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=true +sp_cleanup.add_serial_version_id=false +sp_cleanup.always_use_blocks=true +sp_cleanup.always_use_parentheses_in_expressions=false +sp_cleanup.always_use_this_for_non_static_field_access=false +sp_cleanup.always_use_this_for_non_static_method_access=false +sp_cleanup.convert_functional_interfaces=false +sp_cleanup.convert_to_enhanced_for_loop=false +sp_cleanup.correct_indentation=false +sp_cleanup.format_source_code=true +sp_cleanup.format_source_code_changes_only=true +sp_cleanup.insert_inferred_type_arguments=false +sp_cleanup.make_local_variable_final=true +sp_cleanup.make_parameters_final=false +sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false +sp_cleanup.make_variable_declarations_final=false +sp_cleanup.never_use_blocks=false +sp_cleanup.never_use_parentheses_in_expressions=true +sp_cleanup.on_save_use_additional_actions=true +sp_cleanup.organize_imports=false +sp_cleanup.qualify_static_field_accesses_with_declaring_class=false +sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true +sp_cleanup.qualify_static_member_accesses_with_declaring_class=false +sp_cleanup.qualify_static_method_accesses_with_declaring_class=false +sp_cleanup.remove_private_constructors=true +sp_cleanup.remove_redundant_type_arguments=false +sp_cleanup.remove_trailing_whitespaces=true +sp_cleanup.remove_trailing_whitespaces_all=true +sp_cleanup.remove_trailing_whitespaces_ignore_empty=false +sp_cleanup.remove_unnecessary_casts=false +sp_cleanup.remove_unnecessary_nls_tags=false +sp_cleanup.remove_unused_imports=false +sp_cleanup.remove_unused_local_variables=false +sp_cleanup.remove_unused_private_fields=true +sp_cleanup.remove_unused_private_members=false +sp_cleanup.remove_unused_private_methods=true +sp_cleanup.remove_unused_private_types=true +sp_cleanup.sort_members=false +sp_cleanup.sort_members_all=false +sp_cleanup.use_anonymous_class_creation=false +sp_cleanup.use_blocks=false +sp_cleanup.use_blocks_only_for_return_and_throw=false +sp_cleanup.use_lambda=true +sp_cleanup.use_parentheses_in_expressions=false +sp_cleanup.use_this_for_non_static_field_access=false +sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true +sp_cleanup.use_this_for_non_static_method_access=false +sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true diff --git a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/AbstractFileBufferDocCreationTests.java b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/AbstractFileBufferDocCreationTests.java index b9ff36ab681..a199bc0bf5d 100644 --- a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/AbstractFileBufferDocCreationTests.java +++ b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/AbstractFileBufferDocCreationTests.java @@ -43,7 +43,7 @@ public abstract class AbstractFileBufferDocCreationTests { public void testCreateDocumentPartipants_FileExt() { assertParticipantsInvoked("anything.111foo", new Class[] {TestDSP1.class, TestDSP3.class}); } - + @Test public void testCreateDocumentPartipants_Name() { assertParticipantsInvoked("111fooname", new Class[] {TestDSP2.class, TestDSP3.class}); diff --git a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java index e6ba71ea777..6bcf8a12bee 100644 --- a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java +++ b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java @@ -867,7 +867,7 @@ public abstract class FileBufferFunctions { buf.append("listener.count: " + listener.count + " (expected: 1)\n"); if (newLocation.equals(listener.newLocation)) buf.append("newLocation identical: true\n"); - else { + else { buf.append("listener.newLocation: " + listener.newLocation + "\n"); buf.append("newLocation: " + newLocation + "\n"); } @@ -1231,7 +1231,7 @@ public abstract class FileBufferFunctions { assertEquals(2, notifyCounter1.notifyCount); assertEquals(2, notifyCounter2.notifyCount); } - + @Test public void testGetBufferForDocument() throws Exception { fManager.connect(fPath, LocationKind.NORMALIZE, null); diff --git a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBuffersForNonExistingWorkspaceFiles.java b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBuffersForNonExistingWorkspaceFiles.java index fb37c67c122..d86cf604344 100644 --- a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBuffersForNonExistingWorkspaceFiles.java +++ b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBuffersForNonExistingWorkspaceFiles.java @@ -50,7 +50,7 @@ public class FileBuffersForNonExistingWorkspaceFiles extends FileBufferFunctions IPath filePath= folder.getLocation().append("NonExistingWorkspaceFile"); return filePath.makeAbsolute(); } - + @Test public void testBug118199() throws Exception { IFile file= getProject().getWorkspace().getRoot().getFile(getPath()); |