This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 2bfaeacbc288e4ad166247b74ad8a99f49491712 Author: Paul King <pa...@asert.com.au> AuthorDate: Fri Mar 22 09:45:16 2019 +1000 minor refactor: rename for consistency and remove some redundant modifiers --- ...enerListASTTest.groovy => ListenerListTransformTest.groovy} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/groovy/beans/ListenerListASTTest.groovy b/src/test/groovy/beans/ListenerListTransformTest.groovy similarity index 98% rename from src/test/groovy/beans/ListenerListASTTest.groovy rename to src/test/groovy/beans/ListenerListTransformTest.groovy index d36f66b..93e5ed1 100644 --- a/src/test/groovy/beans/ListenerListASTTest.groovy +++ b/src/test/groovy/beans/ListenerListTransformTest.groovy @@ -22,9 +22,9 @@ package groovy.beans * Unit test for ListenerList. */ -class ListenerListASTTest extends GroovyTestCase { +class ListenerListTransformTest extends GroovyTestCase { - public void testDefaultFireAndName() { + void testDefaultFireAndName() { GroovyShell shell = new GroovyShell() def tc = shell.evaluate(""" import groovy.beans.* @@ -52,7 +52,7 @@ class ListenerListASTTest extends GroovyTestCase { assert evt.message.is(message) } - public void testCustomFireAndName() { + void testCustomFireAndName() { GroovyShell shell = new GroovyShell() def tc = shell.evaluate(""" package b @@ -85,7 +85,7 @@ class ListenerListASTTest extends GroovyTestCase { assert evt.message.is(message) } - public void testMultipleMethodListener() { + void testMultipleMethodListener() { GroovyShell shell = new GroovyShell() def tc = shell.evaluate(""" package b @@ -120,7 +120,7 @@ class ListenerListASTTest extends GroovyTestCase { assert evt2.message.is(message2) } - public void testMultipleListenersConflictsDetected() { + void testMultipleListenersConflictsDetected() { def message = shouldFail { new GroovyShell().evaluate(""" package b