buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r631710 - /incubator/buildr/trunk/spec/java_test_frameworks_spec.rb
Date Wed, 27 Feb 2008 20:34:07 GMT
Author: assaf
Date: Wed Feb 27 12:34:05 2008
New Revision: 631710

URL: http://svn.apache.org/viewvc?rev=631710&view=rev
Log:
Now with less typos

Modified:
    incubator/buildr/trunk/spec/java_test_frameworks_spec.rb

Modified: incubator/buildr/trunk/spec/java_test_frameworks_spec.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/spec/java_test_frameworks_spec.rb?rev=631710&r1=631709&r2=631710&view=diff
==============================================================================
--- incubator/buildr/trunk/spec/java_test_frameworks_spec.rb (original)
+++ incubator/buildr/trunk/spec/java_test_frameworks_spec.rb Wed Feb 27 12:34:05 2008
@@ -301,17 +301,14 @@
   it 'should include classes using TestNG annotations' do
     write 'src/test/java/com/example/AnnotatedClass.java', <<-JAVA
       package com.example;
-      import org.testng.annotations.Test
-      @Test
-      public class AnnotatedClass {
-      }
+      @org.testng.annotations.Test
+      public class AnnotatedClass { }
     JAVA
     write 'src/test/java/com/example/AnnotatedMethod.java', <<-JAVA
       package com.example;
-      import org.testng.annotations.Test
       public class AnnotatedMethod {
-        @Test
-        publid void annotated {};
+        @org.testng.annotations.Test
+        public void annotated() { }
       }
     JAVA
     define('foo') { test.using(:testng) }
@@ -328,8 +325,7 @@
 
   it 'should ignore inner classes' do
     write 'src/test/java/InnerClassTest.java', <<-JAVA
-      import org.testng.annotations.Test;
-      @Test
+      @org.testng.annotations.Test
       public class InnerClassTest {
         public class InnerTest {
         }



Mime
View raw message