Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenoit Maggi2018-06-01 04:08:28 -0400
committerQuentin Le Menez2018-06-01 05:33:22 -0400
commitc39d2473c9c273c84cae8fd1208d49bb4c4a5695 (patch)
treee6983b779e98564c9d848272cb11bd2bedc34587 /tests
parentef46a8f6f3acb600bc62e0eda549fba86f20eb4b (diff)
downloadorg.eclipse.papyrus-c39d2473c9c273c84cae8fd1208d49bb4c4a5695.tar.gz
org.eclipse.papyrus-c39d2473c9c273c84cae8fd1208d49bb4c4a5695.tar.xz
org.eclipse.papyrus-c39d2473c9c273c84cae8fd1208d49bb4c4a5695.zip
Bug 528895 - [Quality] Field modifier should follow convention order
- use correct order for field modifier - add missing header - replace C<>line by Celine Change-Id: I2608484da46215dbd65a1e85d47d0aa7706feb58 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/junit/framework/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java2
-rw-r--r--tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.tests/src/org/eclipse/papyrus/infra/gmfdiag/paletteconfiguration/tests/Activator.java2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/src/org/eclipse/papyrus/uml/diagram/activity/tests/edit/helper/ExpansionRegionHelperTest.java2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/test/copyPaste/ConstraintPasteStrategyTest.java8
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java2
-rw-r--r--tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/tests/copyPaste/ConstraintCopyPasteTest.java8
-rw-r--r--tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/DeleteModelExplorerTest.java4
-rw-r--r--tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CopyPasteModelExplorerTest.java4
-rw-r--r--tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CutPasteModelExplorerTest.java4
-rw-r--r--tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/DiagramCopyPasteModelExplorerTest.java4
-rw-r--r--tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/StereotypeCopyPasteModelExplorerTest.java12
-rw-r--r--tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/TableCopyPasteModelExplorerTest.java4
-rw-r--r--tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/DependencyManagementTest.java2
-rw-r--r--tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils.tests/src/org/eclipse/papyrus/uml/tools/utils/tests/tests/NameResolutionHelperTest.java6
-rw-r--r--tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestOCLConstraintOnInstanceSpec.java2
-rw-r--r--tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestStereotypeValidation.java2
-rw-r--r--tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestUMLValidationRules.java8
-rw-r--r--tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInPluginXML.java8
-rw-r--r--tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInProfile.java6
19 files changed, 45 insertions, 45 deletions
diff --git a/tests/junit/framework/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java b/tests/junit/framework/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java
index 765d46ef28a..fbe5f28b9a8 100755
--- a/tests/junit/framework/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java
+++ b/tests/junit/framework/org.eclipse.papyrus.bundles.tests/src/org/eclipse/papyrus/bundles/tests/BundlesTests.java
@@ -238,7 +238,7 @@ public class BundlesTests extends AbstractPapyrusTest {
"org.eclipse.uml2.uml.validation", "org.eclipse.uml2.uml.editor"))); //$NON-NLS-1$ //$NON-NLS-2$
}
- public final static String REGEX_PACKAGE_WORD = "\\w(?:\\w|\\d)*";// match a //$NON-NLS-1$
+ public static final String REGEX_PACKAGE_WORD = "\\w(?:\\w|\\d)*";// match a //$NON-NLS-1$
// package
// name
diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.tests/src/org/eclipse/papyrus/infra/gmfdiag/paletteconfiguration/tests/Activator.java b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.tests/src/org/eclipse/papyrus/infra/gmfdiag/paletteconfiguration/tests/Activator.java
index 6a8afe83569..a0667d917a7 100644
--- a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.tests/src/org/eclipse/papyrus/infra/gmfdiag/paletteconfiguration/tests/Activator.java
+++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.tests/src/org/eclipse/papyrus/infra/gmfdiag/paletteconfiguration/tests/Activator.java
@@ -16,7 +16,7 @@ import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator {
- public final static String PLUGIN_ID = "org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.tests"; // //$NON-NLS-1$
+ public static final String PLUGIN_ID = "org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.tests"; // //$NON-NLS-1$
private static BundleContext context;
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/src/org/eclipse/papyrus/uml/diagram/activity/tests/edit/helper/ExpansionRegionHelperTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/src/org/eclipse/papyrus/uml/diagram/activity/tests/edit/helper/ExpansionRegionHelperTest.java
index 48d258db593..cd1afcd0b34 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/src/org/eclipse/papyrus/uml/diagram/activity/tests/edit/helper/ExpansionRegionHelperTest.java
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity.tests/src/org/eclipse/papyrus/uml/diagram/activity/tests/edit/helper/ExpansionRegionHelperTest.java
@@ -47,7 +47,7 @@ import org.junit.Test;
public class ExpansionRegionHelperTest extends AbstractPapyrusTest {
- public final static String TEST_UML_MODEL = "platform:/plugin/org.eclipse.papyrus.uml.diagram.activity.tests/content/UMLActivityTestModel.uml";
+ public static final String TEST_UML_MODEL = "platform:/plugin/org.eclipse.papyrus.uml.diagram.activity.tests/content/UMLActivityTestModel.uml";
private MockExpansionRegionHelper myHelperInstance;
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/test/copyPaste/ConstraintPasteStrategyTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/test/copyPaste/ConstraintPasteStrategyTest.java
index 02a4c47d2d1..ce8a67e8169 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/test/copyPaste/ConstraintPasteStrategyTest.java
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz.tests/test/org/eclipse/papyrus/uml/diagram/clazz/test/copyPaste/ConstraintPasteStrategyTest.java
@@ -67,13 +67,13 @@ public class ConstraintPasteStrategyTest extends AbstractPapyrusTest {
public static final String PASTE_COMMAND_ID = "org.eclipse.ui.edit.paste"; //$NON-NLS-1$
- public final static String CLASS1_NAME = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1_NAME = "Class1"; //$NON-NLS-1$
- public final static String COPY_CLASS1_NAME = "CopyOf_Class1_1"; //$NON-NLS-1$;
+ public static final String COPY_CLASS1_NAME = "CopyOf_Class1_1"; //$NON-NLS-1$;
- public final static String CONSTRAINT_NAME = "Constraint1"; //$NON-NLS-1$
+ public static final String CONSTRAINT_NAME = "Constraint1"; //$NON-NLS-1$
- public final static String DIAGRAM_NAME = "ConstraintClassDiagram"; //$NON-NLS-1$
+ public static final String DIAGRAM_NAME = "ConstraintClassDiagram"; //$NON-NLS-1$
/**
* @since 1.3
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java
index 5752d074c96..511e1c3dfcb 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common.tests/src/org/eclipse/papyrus/uml/diagram/common/tests/css/Bug431694_UndoDeleteTest.java
@@ -51,7 +51,7 @@ public class Bug431694_UndoDeleteTest extends AbstractEditorTest {
private static final String PROJECT_NAME = "431694_UndoDeleteTest";
- public final static String SOURCE_PATH = "resources/431694/";
+ public static final String SOURCE_PATH = "resources/431694/";
protected boolean operationFailed = false;
diff --git a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/tests/copyPaste/ConstraintCopyPasteTest.java b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/tests/copyPaste/ConstraintCopyPasteTest.java
index 09a43d65828..dd68a1d0338 100644
--- a/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/tests/copyPaste/ConstraintCopyPasteTest.java
+++ b/tests/junit/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite.tests/test/org/eclipse/papyrus/uml/diagram/composite/tests/copyPaste/ConstraintCopyPasteTest.java
@@ -54,13 +54,13 @@ public class ConstraintCopyPasteTest {
public static final String PASTE_COMMAND_ID = "org.eclipse.ui.edit.paste"; //$NON-NLS-1$
- public final static String CLASS1_NAME = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1_NAME = "Class1"; //$NON-NLS-1$
- public final static String CLASS2_NAME = "Class2"; //$NON-NLS-1$
+ public static final String CLASS2_NAME = "Class2"; //$NON-NLS-1$
- public final static String CONSTRAINT_NAME = "Constraint1"; //$NON-NLS-1$
+ public static final String CONSTRAINT_NAME = "Constraint1"; //$NON-NLS-1$
- public final static String DIAGRAM_NAME = "ConstraintCompositeStructureDiagram"; //$NON-NLS-1$
+ public static final String DIAGRAM_NAME = "ConstraintCompositeStructureDiagram"; //$NON-NLS-1$
@Test
public void testCopyConstraintFromClassToClass() throws Exception {
diff --git a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/DeleteModelExplorerTest.java b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/DeleteModelExplorerTest.java
index 7a7ed461f58..66641e2970f 100644
--- a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/DeleteModelExplorerTest.java
+++ b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/DeleteModelExplorerTest.java
@@ -51,9 +51,9 @@ public class DeleteModelExplorerTest extends AbstractEditorTest {
public static final String PROJECT_NAME = "DeleteEditorTest"; //$NON-NLS-1$
- public final static String CLASS1_NAME = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1_NAME = "Class1"; //$NON-NLS-1$
- public final static String PRIMITIVE_BOOLEAN_NAME = "Boolean"; //$NON-NLS-1$
+ public static final String PRIMITIVE_BOOLEAN_NAME = "Boolean"; //$NON-NLS-1$
@Before
public void initModelForCutTest() {
diff --git a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CopyPasteModelExplorerTest.java b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CopyPasteModelExplorerTest.java
index 9d020409a6c..c991e4113db 100644
--- a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CopyPasteModelExplorerTest.java
+++ b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CopyPasteModelExplorerTest.java
@@ -54,9 +54,9 @@ public class CopyPasteModelExplorerTest extends AbstractEditorTest {
public static final String PROJECT_NAME = "copyPasteTest"; //$NON-NLS-1$
- public final static String CLASS1_NAME = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1_NAME = "Class1"; //$NON-NLS-1$
- public final static String CLASS2_NAME = "Class2"; //$NON-NLS-1$
+ public static final String CLASS2_NAME = "Class2"; //$NON-NLS-1$
@Before
public void initModelForCutTest() {
diff --git a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CutPasteModelExplorerTest.java b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CutPasteModelExplorerTest.java
index 4f5120e0eb3..5e65157f908 100644
--- a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CutPasteModelExplorerTest.java
+++ b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/CutPasteModelExplorerTest.java
@@ -55,9 +55,9 @@ public class CutPasteModelExplorerTest extends AbstractEditorTest {
public static final String PROJECT_NAME = "cutPasteTest"; //$NON-NLS-1$
- public final static String CLASS1_NAME = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1_NAME = "Class1"; //$NON-NLS-1$
- public final static String PRIMITIVE_BOOLEAN_NAME = "Boolean"; //$NON-NLS-1$
+ public static final String PRIMITIVE_BOOLEAN_NAME = "Boolean"; //$NON-NLS-1$
@Before
public void initModelForCutTest() {
diff --git a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/DiagramCopyPasteModelExplorerTest.java b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/DiagramCopyPasteModelExplorerTest.java
index 0486ca50d72..8d39d1b3259 100644
--- a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/DiagramCopyPasteModelExplorerTest.java
+++ b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/DiagramCopyPasteModelExplorerTest.java
@@ -51,9 +51,9 @@ public class DiagramCopyPasteModelExplorerTest extends AbstractEditorTest {
public static final String PROJECT_NAME = "copyPasteTest"; //$NON-NLS-1$
- public final static String CLASS_DIAGRAM_NAME = "NewDiagram"; //$NON-NLS-1$
+ public static final String CLASS_DIAGRAM_NAME = "NewDiagram"; //$NON-NLS-1$
- public final static String CLASS1_NAME = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1_NAME = "Class1"; //$NON-NLS-1$
@Before
public void initModelForCutTest() {
diff --git a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/StereotypeCopyPasteModelExplorerTest.java b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/StereotypeCopyPasteModelExplorerTest.java
index f02f4ef0e3d..518db94c0db 100644
--- a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/StereotypeCopyPasteModelExplorerTest.java
+++ b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/StereotypeCopyPasteModelExplorerTest.java
@@ -52,21 +52,21 @@ public class StereotypeCopyPasteModelExplorerTest extends AbstractPapyrusTest {
public static final String PASTE_COMMAND_ID = "org.eclipse.ui.edit.paste"; //$NON-NLS-1$
- public final static String STEREOTYPED_ELEMENT_NAME = "theFirst"; //$NON-NLS-1$
+ public static final String STEREOTYPED_ELEMENT_NAME = "theFirst"; //$NON-NLS-1$
@Rule
public final PapyrusEditorFixture editorFixture = new PapyrusEditorFixture();
// information on the stereotype
- public final static String STEREOTYPE_QN = "profile::First"; //$NON-NLS-1$
+ public static final String STEREOTYPE_QN = "profile::First"; //$NON-NLS-1$
- public final static String PARENT_STEREOTYPE_PROPERTY = "parentProperty"; //$NON-NLS-1$
+ public static final String PARENT_STEREOTYPE_PROPERTY = "parentProperty"; //$NON-NLS-1$
- public final static String PARENT_STEREOTYPE_PROPERTY_VALUE = "child"; //$NON-NLS-1$
+ public static final String PARENT_STEREOTYPE_PROPERTY_VALUE = "child"; //$NON-NLS-1$
- public final static String STEREOTYPE_PROPERTY = "childProperty"; //$NON-NLS-1$
+ public static final String STEREOTYPE_PROPERTY = "childProperty"; //$NON-NLS-1$
- public final static Double STEREOTYPE_PROPERTY_VALUE = 2.3; // $NON-NLS-1$
+ public static final Double STEREOTYPE_PROPERTY_VALUE = 2.3; // $NON-NLS-1$
@Before
public void setUp() {
diff --git a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/TableCopyPasteModelExplorerTest.java b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/TableCopyPasteModelExplorerTest.java
index ad971561086..7bacc2a57eb 100644
--- a/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/TableCopyPasteModelExplorerTest.java
+++ b/tests/junit/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.tests/src/org/eclipse/papyrus/uml/modelexplorer/tests/paste/TableCopyPasteModelExplorerTest.java
@@ -50,9 +50,9 @@ public class TableCopyPasteModelExplorerTest extends AbstractEditorTest {
public static final String PROJECT_NAME = "copyPasteTest"; //$NON-NLS-1$
- public final static String VIEW_TABLE_NAME = "TableOfViews0"; //$NON-NLS-1$
+ public static final String VIEW_TABLE_NAME = "TableOfViews0"; //$NON-NLS-1$
- public final static String CLASS1_NAME = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1_NAME = "Class1"; //$NON-NLS-1$
@Before
public void initModelForCutTest() {
diff --git a/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/DependencyManagementTest.java b/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/DependencyManagementTest.java
index 4b22850285f..0253fc628ec 100644
--- a/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/DependencyManagementTest.java
+++ b/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.tests/src/org/eclipse/papyrus/uml/tools/tests/tests/DependencyManagementTest.java
@@ -59,7 +59,7 @@ import org.osgi.framework.Bundle;
*/
public class DependencyManagementTest extends AbstractEditorTest {
- public final static String SOURCE_PATH = "resources/dependencyManagement/";
+ public static final String SOURCE_PATH = "resources/dependencyManagement/";
// Switch from a library to a copy
@Test
diff --git a/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils.tests/src/org/eclipse/papyrus/uml/tools/utils/tests/tests/NameResolutionHelperTest.java b/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils.tests/src/org/eclipse/papyrus/uml/tools/utils/tests/tests/NameResolutionHelperTest.java
index 1ada10a27de..9fe50b77569 100644
--- a/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils.tests/src/org/eclipse/papyrus/uml/tools/utils/tests/tests/NameResolutionHelperTest.java
+++ b/tests/junit/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils.tests/src/org/eclipse/papyrus/uml/tools/utils/tests/tests/NameResolutionHelperTest.java
@@ -29,11 +29,11 @@ import org.junit.Test;
@PluginResource("resources/recursiveModelImport.di")
public class NameResolutionHelperTest extends AbstractPapyrusTest {
- public final static String PACKAGE1_NAME = "Package1"; //$NON-NLS-1$
+ public static final String PACKAGE1_NAME = "Package1"; //$NON-NLS-1$
- public final static String PACKAGE2_NAME = "Package2"; //$NON-NLS-1$
+ public static final String PACKAGE2_NAME = "Package2"; //$NON-NLS-1$
- public final static String CLASS1_NAME = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1_NAME = "Class1"; //$NON-NLS-1$
public static final String PROJECT_NAME = "NameResolutionHelperTest"; //$NON-NLS-1$
diff --git a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestOCLConstraintOnInstanceSpec.java b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestOCLConstraintOnInstanceSpec.java
index f77ded70043..4820691ae64 100644
--- a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestOCLConstraintOnInstanceSpec.java
+++ b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestOCLConstraintOnInstanceSpec.java
@@ -39,7 +39,7 @@ public class TestOCLConstraintOnInstanceSpec extends AbstractValidationEditorTes
public static final String MODEL_NAME = "instanceSpecification"; //$NON-NLS-1$
- public final static String INSTANCE_NAME = "instance"; //$NON-NLS-1$
+ public static final String INSTANCE_NAME = "instance"; //$NON-NLS-1$
/** instance specification with constraint violation */
protected InstanceSpecification instance;
diff --git a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestStereotypeValidation.java b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestStereotypeValidation.java
index 35a3aae68e0..2a0516d5f2b 100644
--- a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestStereotypeValidation.java
+++ b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestStereotypeValidation.java
@@ -40,7 +40,7 @@ public class TestStereotypeValidation extends AbstractValidationEditorTest {
public static final String PROFILE_NAME = "simple.profile"; //$NON-NLS-1$
- public final static String CLASS1 = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1 = "Class1"; //$NON-NLS-1$
protected Class class1;
@Before
diff --git a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestUMLValidationRules.java b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestUMLValidationRules.java
index b0245eda0fd..48d81aea4e5 100644
--- a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestUMLValidationRules.java
+++ b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestUMLValidationRules.java
@@ -40,13 +40,13 @@ public class TestUMLValidationRules extends AbstractValidationEditorTest {
public static final String MODEL_NAME = "UMLValidationTests"; //$NON-NLS-1$
- public final static String PKG_NAME_CLASH = "nameclash"; //$NON-NLS-1$
+ public static final String PKG_NAME_CLASH = "nameclash"; //$NON-NLS-1$
- public final static String CLASS1 = "Class1"; //$NON-NLS-1$
+ public static final String CLASS1 = "Class1"; //$NON-NLS-1$
protected Class class1;
- public final static String PKG_MULTIPLICITY = "multiplicity"; //$NON-NLS-1$
- public final static String NON_STANDARD_MULTIPLICITY = "NonStandardMultiplicity"; //$NON-NLS-1$
+ public static final String PKG_MULTIPLICITY = "multiplicity"; //$NON-NLS-1$
+ public static final String NON_STANDARD_MULTIPLICITY = "NonStandardMultiplicity"; //$NON-NLS-1$
protected Class nonStandardMultiplicity;
@Before
diff --git a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInPluginXML.java b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInPluginXML.java
index 85c8e3fb487..f352e1792a6 100644
--- a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInPluginXML.java
+++ b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInPluginXML.java
@@ -49,25 +49,25 @@ public class TestValidationRulesInPluginXML extends AbstractValidationEditorTest
/**
* An active class applying a stereotype with an attached OCL constraint requiring that the class is active
*/
- public final static String INACTIVE_OCL_NAME = "ActiveOCL"; //$NON-NLS-1$
+ public static final String INACTIVE_OCL_NAME = "ActiveOCL"; //$NON-NLS-1$
protected Class activeOCL;
/**
* A non active class applying a stereotype with an attached OCL constraint requiring that the class is active
*/
- public final static String ACTIVE_OCL_NAME = "InactiveOCL"; //$NON-NLS-1$
+ public static final String ACTIVE_OCL_NAME = "InactiveOCL"; //$NON-NLS-1$
protected Class inactiveOCL;
/**
* A non active class applying a stereotype with an attached Java constraint requiring that the class is passive
*/
- public final static String INACTIVE_JAVA_NAME = "InactiveJava"; //$NON-NLS-1$
+ public static final String INACTIVE_JAVA_NAME = "InactiveJava"; //$NON-NLS-1$
protected Class inactiveJava;
/**
* An active class applying a stereotype with an attached Java constraint requiring that the class is passive
*/
- public final static String ACTIVE_JAVA_NAME = "ActiveJava"; //$NON-NLS-1$
+ public static final String ACTIVE_JAVA_NAME = "ActiveJava"; //$NON-NLS-1$
protected Class activeJava;
@Before
diff --git a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInProfile.java b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInProfile.java
index 1bc41e42568..272468330ae 100644
--- a/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInProfile.java
+++ b/tests/junit/plugins/uml/validation/org.eclipse.papyrus.uml.validation.tests/src/org/eclipse/papyrus/uml/validation/tests/rules/TestValidationRulesInProfile.java
@@ -45,19 +45,19 @@ public class TestValidationRulesInProfile extends AbstractValidationEditorTest {
/**
* A non active class applying a stereotype with an attached OCL constraint requiring that the class is active
*/
- public final static String INACTIVE_NAME = "Inactive"; //$NON-NLS-1$
+ public static final String INACTIVE_NAME = "Inactive"; //$NON-NLS-1$
protected Class active;
/**
* An active class applying a stereotype with an attached OCL constraint requiring that the class is active
*/
- public final static String ACTIVE_NAME = "Active"; //$NON-NLS-1$
+ public static final String ACTIVE_NAME = "Active"; //$NON-NLS-1$
protected Class inactive;
/**
* An active class applying a stereotype with a malformed OCL constraint attached
*/
- public final static String ACTIVE_MALFORMED_NAME = "ActiveMalformed"; //$NON-NLS-1$
+ public static final String ACTIVE_MALFORMED_NAME = "ActiveMalformed"; //$NON-NLS-1$
protected Class activeMalformed;
@Before

Back to the top