Skip to content

Commit 633b9ac

Browse files
eclipse-pde-botakurtakov
authored andcommitted
Perform clean code of apitools/org.eclipse.pde.api.tools.tests
1 parent d2f3e62 commit 633b9ac

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/EnumDeltaTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public void test11() {
301301
assertEquals("Wrong element type", IDelta.ENUM_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
302302
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
303303
}
304-
304+
305305
/**
306306
* Removed @noreference to a new enum constant
307307
*/
@@ -325,7 +325,7 @@ public void test12() {
325325
assertEquals("Wrong element type", IDelta.ENUM_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
326326
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
327327
}
328-
328+
329329
/**
330330
* Decrease access for an enum type
331331
*/
@@ -349,7 +349,7 @@ public void test13() {
349349
assertEquals("Wrong element type", IDelta.ENUM_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
350350
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
351351
}
352-
352+
353353
/**
354354
* Added deprecation
355355
*/
@@ -372,7 +372,7 @@ public void test14() {
372372
assertEquals("Wrong element type", IDelta.ENUM_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
373373
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
374374
}
375-
375+
376376
/**
377377
* Removed deprecation
378378
*/

apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/FieldDeltaTests.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ public void test70() {
17311731
assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
17321732
assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
17331733
}
1734-
1734+
17351735
/**
17361736
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=230189
17371737
*/
@@ -1761,7 +1761,7 @@ public void test71() {
17611761
assertEquals("Wrong element type", IDelta.INTERFACE_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
17621762
assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
17631763
}
1764-
1764+
17651765
/**
17661766
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=230189
17671767
*/
@@ -1791,7 +1791,7 @@ public void test72() {
17911791
assertEquals("Wrong element type", IDelta.INTERFACE_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
17921792
assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
17931793
}
1794-
1794+
17951795
/**
17961796
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=244994
17971797
*/
@@ -1815,7 +1815,7 @@ public void test73() {
18151815
assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
18161816
assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
18171817
}
1818-
1818+
18191819
/**
18201820
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=244994
18211821
*/
@@ -1846,7 +1846,7 @@ public void test74() {
18461846
assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
18471847
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
18481848
}
1849-
1849+
18501850
/**
18511851
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=244994
18521852
*/
@@ -1871,7 +1871,7 @@ public void test75() {
18711871
assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
18721872
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
18731873
}
1874-
1874+
18751875
/**
18761876
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=277925
18771877
*/
@@ -1894,7 +1894,7 @@ public void test76() {
18941894
assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
18951895
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
18961896
}
1897-
1897+
18981898
/**
18991899
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=277925
19001900
*/
@@ -1917,7 +1917,7 @@ public void test77() {
19171917
assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
19181918
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
19191919
}
1920-
1920+
19211921
/**
19221922
* Check decrease field visibility - public to private
19231923
*/
@@ -1940,7 +1940,7 @@ public void test8() {
19401940
assertEquals("Wrong element type", IDelta.FIELD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
19411941
assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
19421942
}
1943-
1943+
19441944
/**
19451945
* Check increase field visibility - protected to public
19461946
*/

apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/comparator/tests/MethodDeltaTests.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,7 +2707,7 @@ public void test112() {
27072707
assertEquals("Wrong element type", IDelta.METHOD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
27082708
assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
27092709
}
2710-
2710+
27112711
/**
27122712
* Changed Map to Map<String, String>
27132713
*/
@@ -2730,7 +2730,7 @@ public void test113() {
27302730
assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
27312731
assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
27322732
}
2733-
2733+
27342734
/**
27352735
* Add type parameters (constructor)
27362736
*/
@@ -2753,7 +2753,7 @@ public void test114() {
27532753
assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
27542754
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
27552755
}
2756-
2756+
27572757
/**
27582758
* Add checked exception (constructor)
27592759
*/
@@ -2777,7 +2777,7 @@ public void test115() {
27772777
assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
27782778
assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
27792779
}
2780-
2780+
27812781
/**
27822782
* Add unchecked exception (constructor)
27832783
*/
@@ -2801,7 +2801,7 @@ public void test116() {
28012801
assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
28022802
assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
28032803
}
2804-
2804+
28052805
/**
28062806
* Change last parameter from array to varargs (constructor)
28072807
*/
@@ -2824,7 +2824,7 @@ public void test117() {
28242824
assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
28252825
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
28262826
}
2827-
2827+
28282828
/**
28292829
* Removed unchecked exception (constructor)
28302830
*/
@@ -2848,7 +2848,7 @@ public void test118() {
28482848
assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
28492849
assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
28502850
}
2851-
2851+
28522852
/**
28532853
* Removed checked exception (constructor)
28542854
*/
@@ -2872,7 +2872,7 @@ public void test119() {
28722872
assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
28732873
assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
28742874
}
2875-
2875+
28762876
/**
28772877
* Increased access (constructor)
28782878
*/
@@ -2896,7 +2896,7 @@ public void test120() {
28962896
assertEquals("Wrong element type", IDelta.CONSTRUCTOR_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
28972897
assertTrue("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
28982898
}
2899-
2899+
29002900
/**
29012901
* Non-final to final for @nooverride method
29022902
*/
@@ -2953,7 +2953,7 @@ public void test122() {
29532953
assertEquals("Wrong element type", IDelta.API_COMPONENT_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
29542954
assertFalse("Is compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
29552955
}
2956-
2956+
29572957
/**
29582958
* Added deprecation
29592959
*/
@@ -2976,7 +2976,7 @@ public void test123() {
29762976
assertEquals("Wrong element type", IDelta.METHOD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
29772977
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
29782978
}
2979-
2979+
29802980
/**
29812981
* Removed deprecation
29822982
*/
@@ -2999,7 +2999,7 @@ public void test124() {
29992999
assertEquals("Wrong element type", IDelta.METHOD_ELEMENT_TYPE, child.getElementType()); //$NON-NLS-1$
30003000
assertTrue("Not compatible", DeltaProcessor.isCompatible(child)); //$NON-NLS-1$
30013001
}
3002-
3002+
30033003
/**
30043004
* Added public method into protected member interface inside a class tagged
30053005
* as noextend
@@ -3016,7 +3016,7 @@ public void test125() {
30163016
IDelta delta = ApiComparator.compare(beforeApiComponent, afterApiComponent, before, after, VisibilityModifiers.API, null);
30173017
assertTrue("Not no delta", delta == ApiComparator.NO_DELTA); //$NON-NLS-1$
30183018
}
3019-
3019+
30203020
/**
30213021
* Added public method into protected member interface inside a class tagged
30223022
* as noextend

0 commit comments

Comments
 (0)