harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r595660 - in /harmony/enhanced/classlib/trunk/modules/print: ./ src/test/api/java/common/javax/print/ src/test/api/java/common/javax/print/attribute/
Date Fri, 16 Nov 2007 13:36:33 GMT
Author: ayza
Date: Fri Nov 16 05:36:32 2007
New Revision: 595660

URL: http://svn.apache.org/viewvc?rev=595660&view=rev
Log:
Tidy up print tests

Added:
    harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITest.java
      - copied, changed from r595625, harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITests.java
Removed:
    harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITests.java
    harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/attribute/RunAllAttributesTests.java
Modified:
    harmony/enhanced/classlib/trunk/modules/print/build.xml

Modified: harmony/enhanced/classlib/trunk/modules/print/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/build.xml?rev=595660&r1=595659&r2=595660&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/build.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/print/build.xml Fri Nov 16 05:36:32 2007
@@ -220,15 +220,18 @@
 
             <formatter type="xml" />
 
-            <batchtest todir="${hy.tests.reports}" haltonfailure="no" >
+            <batchtest todir="${hy.tests.reports}" haltonfailure="no">
 
                 <fileset dir="${hy.print.src.test.java}">
                     <!-- if ${test.case}     -->
-                    <include name="${converted.tc}" if="test.case" />
+                    <include name="${converted.tc}" if="test.case"/>
                     <!-- unless ${test.case} -->
-                    <include name="**/*.java" unless="test.case" />
-                    <excludesfile name="${print.exclude.file}" unless="test.case" />
-		</fileset>
+                    <!-- Don't add **/*Test.java here since
+                         there are some tests in javax.print.ValueTests -->
+                    <include name="**/*.java" unless="test.case"/>
+                    <excludesfile name="${print.exclude.file}"
+                                  unless="test.case"/>
+                </fileset>
             </batchtest>
         </junit>
         <antcall target="touch-failures-file" />

Copied: harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITest.java
(from r595625, harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITests.java)
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITest.java?p2=harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITest.java&p1=harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITests.java&r1=595625&r2=595660&rev=595660&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITests.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/print/src/test/api/java/common/javax/print/ServiceUITest.java
Fri Nov 16 05:36:32 2007
@@ -32,7 +32,7 @@
 
 import junit.framework.TestCase;
 
-public class ServiceUITests extends TestCase {
+public class ServiceUITest extends TestCase {
 
 private PrintService [] services = null;
 private HashPrintRequestAttributeSet attrs = null;



Mime
View raw message