You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/09/16 15:23:22 UTC

svn commit: r289530 - in /beehive/trunk/netui/test/ant: build.xml junitCore.xml

Author: ekoneil
Date: Fri Sep 16 06:23:21 2005
New Revision: 289530

URL: http://svn.apache.org/viewcvs?rev=289530&view=rev
Log:
Fixing a couple of problems yesterday introduced in changes to how the JUnit tests run:

- fix the directory name used by the compiler tests so all of junitCore.xml use the same property name
- fix the summary reporting for the JUnit tests

BB: self
Test: NetUI BVT pass


Modified:
    beehive/trunk/netui/test/ant/build.xml
    beehive/trunk/netui/test/ant/junitCore.xml

Modified: beehive/trunk/netui/test/ant/build.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/ant/build.xml?rev=289530&r1=289529&r2=289530&view=diff
==============================================================================
--- beehive/trunk/netui/test/ant/build.xml (original)
+++ beehive/trunk/netui/test/ant/build.xml Fri Sep 16 06:23:21 2005
@@ -60,7 +60,6 @@
             <property name="testout.dir" location="${bvt.testResults.dir}"/>
             <property name="formatter.type" value="xml"/>
             <property name="fail" value="false"/>
-            <property name="bvt" value="true"/>
         </ant>
     </target>
 

Modified: beehive/trunk/netui/test/ant/junitCore.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/ant/junitCore.xml?rev=289530&r1=289529&r2=289530&view=diff
==============================================================================
--- beehive/trunk/netui/test/ant/junitCore.xml (original)
+++ beehive/trunk/netui/test/ant/junitCore.xml Fri Sep 16 06:23:21 2005
@@ -34,7 +34,7 @@
 
         <mkdir dir="${testout.dir}"/>
   
-        <junit printsummary="${fail}" fork="${fail}" haltonfailure="${fail}" haltonerror="${fail}" showOutput="${show.output}">
+        <junit printsummary="true" fork="${fail}" haltonfailure="${fail}" haltonerror="${fail}" showOutput="${show.output}">
             <jvmarg value="-ea"/>
             <classpath refid="test.classpath"/>
             <formatter type="${formatter.type}"/>
@@ -80,7 +80,7 @@
             <path refid="log4j.dependency.path"/>  
         </path>        
         
-        <mkdir dir="${test.output.dir}"/>
+        <mkdir dir="${testout.dir}"/>
              
         <condition property="log4j.config" value="${log4jconfig.verbose.junit}">
             <not><isset property="log4j.quiet"/></not>
@@ -92,7 +92,7 @@
         <echo>Log4J Config: ${log4j.config}</echo>
         <echo>Test Output Directory: ${testout.dir}</echo>
 
-        <junit printsummary="${fail}" fork="${fail}" haltonfailure="${fail}" haltonerror="${fail}" showOutput="true">
+        <junit printsummary="true" fork="${fail}" haltonfailure="${fail}" haltonerror="${fail}" showOutput="true">
             <jvmarg value="-ea"/>
             <classpath refid="compiler.test.classpath"/>
             <formatter type="${formatter.type}"/>
@@ -105,10 +105,10 @@
             <sysproperty key="excluded.test.list" value="${excluded.test.list}"/>
             <sysproperty key="testsuite.dir" path="${testsuite.dir}"/>
             <sysproperty key="compiler-tests.classpath" path="${compiler-tests.classpath}"/>
-            <sysproperty key="test.output.dir" path="${test.output.dir}"/>
+            <sysproperty key="test.output.dir" path="${testout.dir}"/>
  
             <!-- end of compiler properties -->
-            <test name="org.apache.beehive.netui.test.compiler.PageFlowCompilerTest" todir="${test.output.dir}"/>
+            <test name="org.apache.beehive.netui.test.compiler.PageFlowCompilerTest" todir="${testout.dir}"/>
         </junit> 
 
         <echo>Generating a test report into: ${testout.dir}/html</echo>