You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Michael Finney <lo...@yahoo.com> on 2002/06/19 20:07:50 UTC
JUnit and (Unknown Source)
1.4.1 version of ant. (The latest non-prerelease)
How come when a test fails the source cannot be found
and thus I do not get what line number the test
failure occurred on?
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:51)
at junit.framework.Assert.fail(Assert.java:57)
at ja.test.TrainingTest.testTraining(Unknown
Source)
:
I even tried adding <pathelement path="${src}"/>
to my classpath.
Thanks.
=====
Michael Finney
Sun Certified Programmer for the Java 2 Platform
Sun Certified Developer for the Java 2 Platform
Cofounder of PPJDG
Cofounder of cosAgile - Colorado Springs XP Users Group
If replying to this email address fails, try finney@ACM.org
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JUnit and (Unknown Source)
Posted by Michael Finney <lo...@yahoo.com>.
Thank you. That worked.
adding debug so I have
<javac srcdir="${src}" destdir="${build}" debug="yes">
and so on.. worked.
--- Erik Hatcher <ja...@ehatchersolutions.com>
wrote:
> Did you compile with debug enabled?
>
>
> ----- Original Message -----
> From: "Michael Finney" <lo...@yahoo.com>
> To: <an...@jakarta.apache.org>
> Sent: Wednesday, June 19, 2002 2:07 PM
> Subject: JUnit and (Unknown Source)
>
>
> > 1.4.1 version of ant. (The latest non-prerelease)
> >
> > How come when a test fails the source cannot be
> found
> > and thus I do not get what line number the test
> > failure occurred on?
> >
> > junit.framework.AssertionFailedError
> > at
> junit.framework.Assert.fail(Assert.java:51)
> > at
> junit.framework.Assert.fail(Assert.java:57)
> > at
> ja.test.TrainingTest.testTraining(Unknown
> > Source)
> > :
> > I even tried adding <pathelement
> path="${src}"/>
> > to my classpath.
> >
> > Thanks.
> >
> >
> >
> >
> > =====
> > Michael Finney
> > Sun Certified Programmer for the Java 2 Platform
> > Sun Certified Developer for the Java 2 Platform
> > Cofounder of PPJDG
> > Cofounder of cosAgile - Colorado Springs XP Users
> Group
> > If replying to this email address fails, try
> finney@ACM.org
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
=====
Michael Finney
Sun Certified Programmer for the Java 2 Platform
Sun Certified Developer for the Java 2 Platform
Cofounder of PPJDG
Cofounder of cosAgile - Colorado Springs XP Users Group
If replying to this email address fails, try finney@ACM.org
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JUnit and (Unknown Source)
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Did you compile with debug enabled?
----- Original Message -----
From: "Michael Finney" <lo...@yahoo.com>
To: <an...@jakarta.apache.org>
Sent: Wednesday, June 19, 2002 2:07 PM
Subject: JUnit and (Unknown Source)
> 1.4.1 version of ant. (The latest non-prerelease)
>
> How come when a test fails the source cannot be found
> and thus I do not get what line number the test
> failure occurred on?
>
> junit.framework.AssertionFailedError
> at junit.framework.Assert.fail(Assert.java:51)
> at junit.framework.Assert.fail(Assert.java:57)
> at ja.test.TrainingTest.testTraining(Unknown
> Source)
> :
> I even tried adding <pathelement path="${src}"/>
> to my classpath.
>
> Thanks.
>
>
>
>
> =====
> Michael Finney
> Sun Certified Programmer for the Java 2 Platform
> Sun Certified Developer for the Java 2 Platform
> Cofounder of PPJDG
> Cofounder of cosAgile - Colorado Springs XP Users Group
> If replying to this email address fails, try finney@ACM.org
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>