ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1036586 - in /ant/core/trunk/src: etc/testcases/taskdefs/signjar.xml tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java
Date Thu, 18 Nov 2010 19:34:38 GMT
Author: jhm
Date: Thu Nov 18 19:34:38 2010
New Revision: 1036586

URL: http://svn.apache.org/viewvc?rev=1036586&view=rev
Log:
typo + whitespace

Modified:
    ant/core/trunk/src/etc/testcases/taskdefs/signjar.xml
    ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java

Modified: ant/core/trunk/src/etc/testcases/taskdefs/signjar.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/signjar.xml?rev=1036586&r1=1036585&r2=1036586&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/signjar.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/signjar.xml Thu Nov 18 19:34:38 2010
@@ -22,8 +22,8 @@
   <property name="subdir" location="${sign.dir}/subdir" />
   <property name="test.jar" location="${sign.dir}/signtest.jar" />
   <property name="subdirtest.jar" location="${subdir}/signtest.jar" />
-  
-  
+
+
   <macrodef name="assertSigned">
     <attribute name="jar" default="${test.jar}" />
     <sequential>
@@ -46,7 +46,7 @@
   </presetdef>
 
 
-  
+
   <presetdef name="sign">
     <sign-base jar="${test.jar}" />
   </presetdef>
@@ -55,13 +55,13 @@
     <mkdir dir="${sign.dir}" />
     <mkdir dir="${subdir}" />
   </target>
-  
+
   <target name="jar" depends="init">
     <jar jarfile="${test.jar}" basedir="${classes.dir}" includes="**/Task.class"/>
-  </target>  
+  </target>
+
+
 
-  
-  
   <target name="clean">
     <delete dir="${sign.dir}"/>
   </target>
@@ -69,33 +69,33 @@
   <target name="help">
     <echo>This build is for use with Ant's test cases</echo>
   </target>
-  
+
   <target name="basic" depends="jar">
     <sign />
-    <assertSigned/>             
+    <assertSigned/>
   </target>
 
   <target name="sigfile" depends="jar">
     <sign sigfile="TEST"/>
-    <assertSigned/>             
+    <assertSigned/>
   </target>
 
   <target name="invalidchars" depends="jar">
     <sign alias="test@nly"/>
-    <assertSigned/>             
+    <assertSigned/>
   </target>
 
   <target name="urlKeystoreFile" depends="jar">
     <sign keystore="file://../testkeystore"
        maxmemory="128m"/>
-    <assertSigned/>             
+    <assertSigned/>
   </target>
 
   <target name="urlKeystoreHTTP" depends="jar">
     <sign
       keystore="http://ant.apache.org/webtest/testkeystore"
       />
-    <assertSigned/>             
+    <assertSigned/>
   </target>
 
   <target name="testTsaLocalhost" depends="jar">
@@ -103,4 +103,3 @@
   </target>
 
 </project>
-

Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java?rev=1036586&r1=1036585&r2=1036586&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java Thu Nov
18 19:34:38 2010
@@ -46,11 +46,12 @@ public class SignJarTest extends BuildFi
 
     /**
      * check for being offline
-     * @return true iff the system property "offline" is "true"
+     * @return true if the system property "offline" is "true"
      */
     private boolean isOffline() {
         return Boolean.getBoolean("offline");
     }
+
     public void testSigFile() {
         executeTarget("sigfile");
         SignJarChild sj = new SignJarChild();



Mime
View raw message