polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [80/80] zest-java git commit: Need to take a break...
Date Thu, 30 Jul 2015 19:49:19 GMT
Need to take a break...


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/a2d2100b
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/a2d2100b
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/a2d2100b

Branch: refs/heads/master
Commit: a2d2100bed4c4bdde72a5a66bb10b610c9db9b47
Parents: 95d31c0
Author: Niclas Hedhman <niclas@hedhman.org>
Authored: Fri Jul 31 03:47:03 2015 +0800
Committer: Niclas Hedhman <niclas@hedhman.org>
Committed: Fri Jul 31 03:47:03 2015 +0800

----------------------------------------------------------------------
 .../apache/zest/library/groovy/HelloSpeakerMixin.groovy |  2 +-
 .../apache/zest/library/groovy/HelloSpeakerTest.java    | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/a2d2100b/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerMixin.groovy
----------------------------------------------------------------------
diff --git a/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerMixin.groovy
b/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerMixin.groovy
index 1e85ecb..b360211 100644
--- a/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerMixin.groovy
+++ b/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerMixin.groovy
@@ -18,7 +18,7 @@
 package org.apache.zest.library.groovy;
 
 // START SNIPPET: direct
-public class HelloSpeakerMixin implements org.apache.zest.library.groovy.support.HelloSpeaker
{
+public class HelloSpeakerMixin implements HelloSpeaker {
     public String sayHello( String name ) {
         "Hello $name!"
     }

http://git-wip-us.apache.org/repos/asf/zest-java/blob/a2d2100b/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerTest.java
----------------------------------------------------------------------
diff --git a/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerTest.java
b/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerTest.java
index e12cae7..ac36ec7 100644
--- a/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerTest.java
+++ b/libraries/lang-groovy/src/test/groovy/org/apache/zest/library/groovy/HelloSpeakerTest.java
@@ -29,13 +29,13 @@ public class HelloSpeakerTest extends AbstractZestTest
     public void assemble( ModuleAssembly module )
         throws AssemblyException
     {
-        module.transients( org.apache.zest.library.groovy.support.HelloSpeaker.class ).withMixins(
GroovyMixin.class );
+        module.transients( HelloSpeaker.class ).withMixins( GroovyMixin.class );
     }
 
     @Test
     public void testHello()
     {
-        org.apache.zest.library.groovy.support.HelloSpeaker speaker = module.newTransient(
org.apache.zest.library.groovy.support.HelloSpeaker.class );
+        HelloSpeaker speaker = module.newTransient( HelloSpeaker.class );
         Assert.assertEquals( "Hello World!", speaker.sayHello( "World" ) );
     }
 
@@ -50,10 +50,10 @@ public class HelloSpeakerTest extends AbstractZestTest
             public void assemble( ModuleAssembly assembly )
                 throws AssemblyException
             {
-                assembly.transients( org.apache.zest.library.groovy.support.HelloSpeaker.class
).withMixins( GroovyMixin.class );
+                assembly.transients( HelloSpeaker.class ).withMixins( GroovyMixin.class );
             }
         };
-        org.apache.zest.library.groovy.support.HelloSpeaker speaker = assembler.module().newTransient(
org.apache.zest.library.groovy.support.HelloSpeaker.class );
+        HelloSpeaker speaker = assembler.module().newTransient( HelloSpeaker.class );
         Assert.assertEquals( "Hello World!", speaker.sayHello( "World" ) );
         // END SNIPPET: script
     }
@@ -69,10 +69,10 @@ public class HelloSpeakerTest extends AbstractZestTest
             public void assemble( ModuleAssembly module )
                 throws AssemblyException
             {
-                module.transients( org.apache.zest.library.groovy.support.HelloSpeaker.class
).withMixins( HelloSpeakerMixin.class );
+                module.transients( HelloSpeaker.class ).withMixins( HelloSpeakerMixin.class
);
             }
         };
-        org.apache.zest.library.groovy.support.HelloSpeaker speaker = assembler.module().newTransient(
org.apache.zest.library.groovy.support.HelloSpeaker.class );
+        HelloSpeaker speaker = assembler.module().newTransient( HelloSpeaker.class );
         Assert.assertEquals( "Hello World!", speaker.sayHello( "World" ) );
         // END SNIPPET: direct
     }


Mime
View raw message