cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34294] - [PATCH] Use htmlunit to test Cocoon samples (replacing anteater tests)
Date Thu, 07 Apr 2005 07:46:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34294>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34294


bdelacretaz@codeconsult.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|reinhard@apache.org         |dev@cocoon.apache.org




------- Additional Comments From bdelacretaz@codeconsult.ch  2005-04-07 09:44 -------
I have applied your patch to the BRANCH_2_1_X (using patch -p0), here's the list
of modified files and new directories, might be useful when porting the changes
to 2.2 (which I might not find the time do right now).

M      status.xml
?      src/test/htmlunit
?      src/test/README.txt
?      src/blocks/batik/test/htmlunit
?      src/blocks/webdav/test/htmlunit
M      build.properties
M      tools/src/blocks-build.xsl
M      tools/targets/compile-build.xml
M      tools/targets/init-build.xml
M      tools/targets/test-build.xml

 ./build.sh htmlunit-tests works fine on my macosx/JDK 1.4.2 system, although a
few tests fail, I'll add separate comments about this.

My only change was to add this to test-build.xml, so that ant fails loudly if
the Cocoon instance to test is not running:

<echo>Tests tests require another instance of Cocoon to run at
${htmlunit.test.baseurl}</echo>
<get src="${htmlunit.test.baseurl}"
      dest="${build.temp}/htmlunit-tests-checkaccess.html"
      verbose="false"
      usetimestamp="false"/>

Thanks very much for this Alfred! Adding more tests looks really easy with this
mechanism.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

Mime
View raw message