ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike D'Ambrogia" <mi...@jamagination.com>
Subject RE: junit problem w/JUnitTask and/or ZipException
Date Thu, 28 Aug 2003 14:42:14 GMT
Antoine,

Tried that, and it returned output which indicates that the file was not
found.

I got this from the command line when i ran "ant -v junit":

Apache Ant version 1.5.3 compiled on April 16 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.1_03\jre
Detected OS: Windows XP
parsing buildfile build.xml with URI = file:C:/Documents and
Settings/miked/My Documents/ir-dev/jsp/build.xml
Project base dir set to: C:\Documents and Settings\miked\My
Documents\ir-dev\jUnit
Build sequence for target `junit' is [junit]
Complete build sequence is [junit, compile com.iRoyalty, jsp2java
iRoyalty.music
.publishing, jsp2java iRoyalty.music.artist, jsp2java iRoyalty Root]

junit:

BUILD SUCCESSFUL
Total time: 1 second
C:\Documents and Settings\miked\My Documents\ir-dev\jsp>

----------------------------------------------------------------------


But I expected something like this (returned from netbeans when i rightclick
on the test file, choose tools|junit tests|execute test):

testInstanceOf
testToString
testLink
testUnlink
testUnlinkAll
testGet
testGetFirst
testGetList
testGot
testSave
testContainsType
testIsData_changed
testSetData_changed
testIsData_new
testSetData_new
testIsData_load_complete
testSetData_load_complete
testIsData_read_only
testSetData_read_only
testGetDeleted
testSetDeleted
testGetTimestamp
testGetId
testSetId
testGetRoyaltor_id
testGetSession_id
testGetRow_id
testSetRow_id
testGetName
testSetName
testGetNote
testSetNote
===================================================
Errors logged for the com.iroyalty.db.DbObjectTest test:
        No errors.
===================================================
Failures logged for the com.iroyalty.db.DbObjectTest test:
        No failures.
===================================================
Summary of com.iroyalty.db.DbObjectTest test:
        Result: Succeeded
        Run:            32
        Failures:       0
        Errors:         0
        Elapsed time:   0.01



-----Original Message-----
From: Antoine Levy-Lambert [mailto:antoine@antbuild.com]
Sent: Thursday, August 28, 2003 7:08 AM
To: Ant Users List; miked@craniumProject.org
Subject: Re: junit problem w/JUnitTask and/or ZipException


change this bit :
 <fileset dir="C:\Documents and Settings\miked\My
Documents\ir-dev\jUnit\com\iroyalty\db" includes="*Test.class"/>
</batchtest>

to
 <fileset dir="C:\Documents and Settings\miked\My
Documents\ir-dev\jUnit" includes="com/iroyalty/db*Test.class"/>
</batchtest>

<snip...>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message