You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2019/06/28 17:21:53 UTC

[groovy] 06/08: Fix method names

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 340a0c2dcd3af83372a095885307e387a98250c1
Author: aalmiray <aa...@gmail.com>
AuthorDate: Tue Jun 11 19:29:55 2019 +0200

    Fix method names
---
 src/test/groovy/generated/BindableGeneratedTest.groovy     | 14 +++++++-------
 .../groovy/generated/IndexedPropertyGeneratedTest.groovy   |  8 ++++----
 src/test/groovy/generated/PropertiesGeneratedTest.groovy   |  4 ++--
 src/test/groovy/generated/VetoableGeneratedTest.groovy     | 14 +++++++-------
 4 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/src/test/groovy/generated/BindableGeneratedTest.groovy b/src/test/groovy/generated/BindableGeneratedTest.groovy
index db2655d..d177545 100644
--- a/src/test/groovy/generated/BindableGeneratedTest.groovy
+++ b/src/test/groovy/generated/BindableGeneratedTest.groovy
@@ -62,37 +62,37 @@ class BindableGeneratedTest extends AbstractGeneratedAstTestCase {
     }
 
     @Test
-    void test_explicit_addPropertyChangeListener_is_annotated() {
+    void test_explicit_addPropertyChangeListener_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitBindable, 'addPropertyChangeListener', PropertyChangeListener)
     }
 
     @Test
-    void test_explicit_addPropertyChangeListener2_is_annotated() {
+    void test_explicit_addPropertyChangeListener2_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitBindable, 'addPropertyChangeListener', String, PropertyChangeListener)
     }
 
     @Test
-    void test_explicit_removePropertyChangeListener_is_annotated() {
+    void test_explicit_removePropertyChangeListener_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitBindable, 'removePropertyChangeListener', PropertyChangeListener)
     }
 
     @Test
-    void test_explicit_removePropertyChangeListener2_is_annotated() {
+    void test_explicit_removePropertyChangeListener2_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitBindable, 'removePropertyChangeListener', String, PropertyChangeListener)
     }
 
     @Test
-    void test_explicit_firePropertyChange_is_annotated() {
+    void test_explicit_firePropertyChange_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitBindable, 'firePropertyChange', String, Object, Object)
     }
 
     @Test
-    void test_explicit_getPropertyChangeListeners_is_annotated() {
+    void test_explicit_getPropertyChangeListeners_is_not_annotated() {
         assertExactMethodIsNotAnnotated(explicitBindable, 'getPropertyChangeListeners', PropertyChangeListener[].class)
     }
 
     @Test
-    void test_explicit_getPropertyChangeListeners2_is_annotated() {
+    void test_explicit_getPropertyChangeListeners2_is_not_annotated() {
         assertExactMethodIsNotAnnotated(explicitBindable, 'getPropertyChangeListeners', PropertyChangeListener[].class, String)
     }
 }
\ No newline at end of file
diff --git a/src/test/groovy/generated/IndexedPropertyGeneratedTest.groovy b/src/test/groovy/generated/IndexedPropertyGeneratedTest.groovy
index ae049d4..78ae086 100644
--- a/src/test/groovy/generated/IndexedPropertyGeneratedTest.groovy
+++ b/src/test/groovy/generated/IndexedPropertyGeneratedTest.groovy
@@ -46,22 +46,22 @@ class IndexedPropertyGeneratedTest extends AbstractGeneratedAstTestCase {
     }
 
     @Test
-    void test_explicit_getNames_is_annotated() {
+    void test_explicit_getNames_is_not_annotated() {
         assertExactMethodIsNotAnnotated(explicitIndex, 'getNames', String, int.class)
     }
 
     @Test
-    void test_explicit_getAges_is_annotated() {
+    void test_explicit_getAges_is_not_annotated() {
         assertExactMethodIsNotAnnotated(explicitIndex, 'getAges', Object, int.class)
     }
 
     @Test
-    void test_explicit_setNames_is_annotated() {
+    void test_explicit_setNames_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitIndex, 'setNames', int.class, String)
     }
 
     @Test
-    void test_explicit_setAges_is_annotated() {
+    void test_explicit_setAges_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitIndex, 'setAges', int.class, Object)
     }
 }
\ No newline at end of file
diff --git a/src/test/groovy/generated/PropertiesGeneratedTest.groovy b/src/test/groovy/generated/PropertiesGeneratedTest.groovy
index 31a2486..3b55dbd 100644
--- a/src/test/groovy/generated/PropertiesGeneratedTest.groovy
+++ b/src/test/groovy/generated/PropertiesGeneratedTest.groovy
@@ -26,12 +26,12 @@ class PropertiesGeneratedTest extends AbstractGeneratedAstTestCase {
     }
 
     @Test
-    void test_explicit_getName_is_annotated() {
+    void test_explicit_getName_is_not_annotated() {
         assertMethodIsNotAnnotated(withExplicitProps, 'getName')
     }
 
     @Test
-    void test_explicit_setName_is_annotated() {
+    void test_explicit_setName_is_not_annotated() {
         assertMethodIsNotAnnotated(withExplicitProps, 'setName', String)
     }
 }
\ No newline at end of file
diff --git a/src/test/groovy/generated/VetoableGeneratedTest.groovy b/src/test/groovy/generated/VetoableGeneratedTest.groovy
index 8bb099d..b06352b 100644
--- a/src/test/groovy/generated/VetoableGeneratedTest.groovy
+++ b/src/test/groovy/generated/VetoableGeneratedTest.groovy
@@ -62,37 +62,37 @@ class VetoableGeneratedTest extends AbstractGeneratedAstTestCase {
     }
 
     @Test
-    void test_explicit_addVetoableChangeListener_is_annotated() {
+    void test_explicit_addVetoableChangeListener_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitVetoable, 'addVetoableChangeListener', VetoableChangeListener)
     }
 
     @Test
-    void test_explicit_addVetoableChangeListener2_is_annotated() {
+    void test_explicit_addVetoableChangeListener2_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitVetoable, 'addVetoableChangeListener', String, VetoableChangeListener)
     }
 
     @Test
-    void test_explicit_removeVetoableChangeListener_is_annotated() {
+    void test_explicit_removeVetoableChangeListener_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitVetoable, 'removeVetoableChangeListener', VetoableChangeListener)
     }
 
     @Test
-    void test_explicit_removeVetoableChangeListener2_is_annotated() {
+    void test_explicit_removeVetoableChangeListener2_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitVetoable, 'removeVetoableChangeListener', String, VetoableChangeListener)
     }
 
     @Test
-    void test_explicit_fireVetoableChange_is_annotated() {
+    void test_explicit_fireVetoableChange_is_not_annotated() {
         assertMethodIsNotAnnotated(explicitVetoable, 'fireVetoableChange', String, Object, Object)
     }
 
     @Test
-    void test_explicit_getVetoableChangeListeners_is_annotated() {
+    void test_explicit_getVetoableChangeListeners_is_not_annotated() {
         assertExactMethodIsNotAnnotated(explicitVetoable, 'getVetoableChangeListeners', VetoableChangeListener[].class)
     }
 
     @Test
-    void test_explicit_getVetoableChangeListeners2_is_annotated() {
+    void test_explicit_getVetoableChangeListeners2_is_not_annotated() {
         assertExactMethodIsNotAnnotated(explicitVetoable, 'getVetoableChangeListeners', VetoableChangeListener[].class, String)
     }
 }
\ No newline at end of file