aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-05-17 03:18:12 -0400
committerAlexander Kurtakov2018-05-17 04:57:43 -0400
commitc067814cc6ef48f1e98e101d86c2ab939a6e404d (patch)
treecfca10e64c69e528737f0e33a530d461cec8385f
parent371cf83000fe2e41c63ef278df8fda25b98000ac (diff)
downloadorg.eclipse.linuxtools-c067814cc6ef48f1e98e101d86c2ab939a6e404d.tar.gz
org.eclipse.linuxtools-c067814cc6ef48f1e98e101d86c2ab939a6e404d.tar.xz
org.eclipse.linuxtools-c067814cc6ef48f1e98e101d86c2ab939a6e404d.zip
rpm: Enable all rpm.core tests.
And save action to format code. Change-Id: I34c91667de4f75ce647b8d4e07c9aa38c3fdb3dd Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/122837 Tested-by: CI Bot
-rw-r--r--rpm/org.eclipse.linuxtools.rpm.core.tests/.settings/org.eclipse.jdt.ui.prefs8
-rw-r--r--rpm/org.eclipse.linuxtools.rpm.core.tests/src/org/eclipse/linuxtools/rpm/core/tests/AllTests.java4
2 files changed, 10 insertions, 2 deletions
diff --git a/rpm/org.eclipse.linuxtools.rpm.core.tests/.settings/org.eclipse.jdt.ui.prefs b/rpm/org.eclipse.linuxtools.rpm.core.tests/.settings/org.eclipse.jdt.ui.prefs
index 9795a6f906..49f9e1e876 100644
--- a/rpm/org.eclipse.linuxtools.rpm.core.tests/.settings/org.eclipse.jdt.ui.prefs
+++ b/rpm/org.eclipse.linuxtools.rpm.core.tests/.settings/org.eclipse.jdt.ui.prefs
@@ -13,10 +13,12 @@ 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=false
+sp_cleanup.format_source_code=true
sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.insert_inferred_type_arguments=false
sp_cleanup.make_local_variable_final=false
sp_cleanup.make_parameters_final=false
sp_cleanup.make_private_fields_final=true
@@ -32,6 +34,8 @@ sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=
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_modifiers=false
+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
@@ -45,8 +49,10 @@ 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=false
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
diff --git a/rpm/org.eclipse.linuxtools.rpm.core.tests/src/org/eclipse/linuxtools/rpm/core/tests/AllTests.java b/rpm/org.eclipse.linuxtools.rpm.core.tests/src/org/eclipse/linuxtools/rpm/core/tests/AllTests.java
index 0744ec8a2d..b6bc841592 100644
--- a/rpm/org.eclipse.linuxtools.rpm.core.tests/src/org/eclipse/linuxtools/rpm/core/tests/AllTests.java
+++ b/rpm/org.eclipse.linuxtools.rpm.core.tests/src/org/eclipse/linuxtools/rpm/core/tests/AllTests.java
@@ -12,10 +12,12 @@
*******************************************************************************/
package org.eclipse.linuxtools.rpm.core.tests;
+import org.eclipse.linuxtools.rpm.core.utils.tests.RPMQueryTest;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
-@Suite.SuiteClasses({ RPMProjectTest.class, RPMProjectNatureTest.class, RPMProjectCreatorTest.class })
+@Suite.SuiteClasses({ RPMProjectTest.class, RPMProjectNatureTest.class, RPMProjectCreatorTest.class,
+ DownloadPrepareSourcesTest.class, RPMQueryTest.class })
public class AllTests {
}