diff --git a/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/EnumDeltaTests.java b/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/EnumDeltaTests.java index 9c80b65cafe..2aa84a17d60 100644 --- a/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/EnumDeltaTests.java +++ b/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/EnumDeltaTests.java @@ -301,7 +301,7 @@ public void test11() { assertEquals("Wrong element type", IDelta.ENUM_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Removed @noreference to a new enum constant */ @@ -325,7 +325,7 @@ public void test12() { assertEquals("Wrong element type", IDelta.ENUM_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Decrease access for an enum type */ @@ -349,7 +349,7 @@ public void test13() { assertEquals("Wrong element type", IDelta.ENUM_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Added deprecation */ @@ -372,7 +372,7 @@ public void test14() { assertEquals("Wrong element type", IDelta.ENUM_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Removed deprecation */ diff --git a/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/FieldDeltaTests.java b/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/FieldDeltaTests.java index 1188d5b89cd..c19777eda65 100644 --- a/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/FieldDeltaTests.java +++ b/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/FieldDeltaTests.java @@ -1731,7 +1731,7 @@ public void test70() { assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * https://bugs.eclipse.org/bugs/show_bug.cgi?id=230189 */ @@ -1761,7 +1761,7 @@ public void test71() { assertEquals("Wrong element type", IDelta.INTERFACE_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * https://bugs.eclipse.org/bugs/show_bug.cgi?id=230189 */ @@ -1791,7 +1791,7 @@ public void test72() { assertEquals("Wrong element type", IDelta.INTERFACE_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * https://bugs.eclipse.org/bugs/show_bug.cgi?id=244994 */ @@ -1815,7 +1815,7 @@ public void test73() { assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * https://bugs.eclipse.org/bugs/show_bug.cgi?id=244994 */ @@ -1846,7 +1846,7 @@ public void test74() { assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * https://bugs.eclipse.org/bugs/show_bug.cgi?id=244994 */ @@ -1871,7 +1871,7 @@ public void test75() { assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * https://bugs.eclipse.org/bugs/show_bug.cgi?id=277925 */ @@ -1894,7 +1894,7 @@ public void test76() { assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * https://bugs.eclipse.org/bugs/show_bug.cgi?id=277925 */ @@ -1917,7 +1917,7 @@ public void test77() { assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Check decrease field visibility - public to private */ @@ -1940,7 +1940,7 @@ public void test8() { assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Check increase field visibility - protected to public */ diff --git a/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/MethodDeltaTests.java b/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/MethodDeltaTests.java index 792ce717d3f..3ba3cf46b80 100644 --- a/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/MethodDeltaTests.java +++ b/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/MethodDeltaTests.java @@ -2707,7 +2707,7 @@ public void test112() { assertEquals("Wrong element type", IDelta.METHOD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Changed Map to Map<String, String> */ @@ -2730,7 +2730,7 @@ public void test113() { assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Add type parameters (constructor) */ @@ -2753,7 +2753,7 @@ public void test114() { assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Add checked exception (constructor) */ @@ -2777,7 +2777,7 @@ public void test115() { assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Add unchecked exception (constructor) */ @@ -2801,7 +2801,7 @@ public void test116() { assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Change last parameter from array to varargs (constructor) */ @@ -2824,7 +2824,7 @@ public void test117() { assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Removed unchecked exception (constructor) */ @@ -2848,7 +2848,7 @@ public void test118() { assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Removed checked exception (constructor) */ @@ -2872,7 +2872,7 @@ public void test119() { assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Increased access (constructor) */ @@ -2896,7 +2896,7 @@ public void test120() { assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Non-final to final for @nooverride method */ @@ -2953,7 +2953,7 @@ public void test122() { assertEquals("Wrong element type", IDelta.API_COMPONENT_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Added deprecation */ @@ -2976,7 +2976,7 @@ public void test123() { assertEquals("Wrong element type", IDelta.METHOD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Removed deprecation */ @@ -2999,7 +2999,7 @@ public void test124() { assertEquals("Wrong element type", IDelta.METHOD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$ assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$ } - + /** * Added public method into protected member interface inside a class tagged * as noextend @@ -3016,7 +3016,7 @@ public void test125() { IDelta delta = ApiComparator.compare(beforeApiComponent, afterApiComponent, before, after, VisibilityModifiers.API, null); assertTrue("Not no delta", delta == ApiComparator.NO_DELTA); //$NON-NLS-1$ } - + /** * Added public method into protected member interface inside a class tagged * as noextend