You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2026/04/27 21:04:22 UTC

(xerces-j) branch id created (now e251dd787)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a change to branch id
in repository https://gitbox.apache.org/repos/asf/xerces-j.git


      at e251dd787 Combine JUnit tasks

This branch includes the following new commits:

     new e251dd787 Combine JUnit tasks

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org


(xerces-j) 01/01: Combine JUnit tasks

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch id
in repository https://gitbox.apache.org/repos/asf/xerces-j.git

commit e251dd7874d37ad835a9efc42868fa9deeedd069
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Apr 27 16:03:59 2026 -0500

    Combine JUnit tasks
---
 build.xml               | 22 ++++------------------
 tests/idc/AllTests.java | 42 ------------------------------------------
 2 files changed, 4 insertions(+), 60 deletions(-)

diff --git a/build.xml b/build.xml
index ee84385fe..015de58cc 100644
--- a/build.xml
+++ b/build.xml
@@ -822,13 +822,14 @@ Authors:
         <batchtest fork="yes" todir="test-reports">
           <fileset dir="${build.dir}/classes">
              <include name="dom/traversal/*Test.class"/>                    
-             <include name="dom/range/*Test*.class"/>                    
-             <exclude name="dom/range/Test.class"/>                    
+             <include name="dom/range/TestCompare.class"/>                    
+             <include name="idc/IDConstraintTests.class"/>                    
            </fileset>
          </batchtest>
          
        <formatter type="brief" usefile="false"/>
     </junit>
+    <fail if="test.failed" message="JUnit tests failed! Check the output above."/>
 
     <echo message="Performing sanity test for ${parser.Name} ${parser.Version} ..." />
     <echo message="Using classpath='${run.classpath.string}'" />
@@ -904,12 +905,6 @@ Authors:
           failOnError="yes">
       <arg value="all"/>
     </java>
-    <echo message="Running dom.ids.Test..." />
-    <java fork="yes"
-          classname="dom.ids.Test"
-          classpathref="test.classpath"
-          failOnError="yes">
-    </java>
 
 <!--  
      TODO fix this test
@@ -990,16 +985,7 @@ Authors:
           classname="dom.dom3.Test"
           classpathref="test.classpath"
           failOnError="yes">
-    </java>
-    <echo message="Running idc.AllTests..." />
-    <java fork="yes"
-          classname="idc.AllTests"
-          classpathref="test.classpath"
-          failOnError="yes">
-    </java>
-    
-    <fail if="test.failed" message="JUnit tests failed! Check the output above."/>
-    
+    </java>   
   </target>
 
   <target name="ci-test" depends="test">
diff --git a/tests/idc/AllTests.java b/tests/idc/AllTests.java
deleted file mode 100644
index 753416709..000000000
--- a/tests/idc/AllTests.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package idc;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
-/**
- * XSD IDC constraints tests.
- * 
- * @author <a href="mailto:mukulg@apache.org">Mukul Gandhi</a>
- * @version $Id$
- */
-public class AllTests {
-    
-    public static void main(String[] args) {
-        TestRunner.run(AllTests.suite());
-    }
-    
-    public static Test suite() {
-        TestSuite suite = new TestSuite("Tests for XSD IDC constraints.");
-        suite.addTestSuite(IDConstraintTests.class);
-        return suite;
-    }
-
-}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org