Ok, commons-logging and xml-apis was not in my dependency list which
Digester depends on. (It has been a long day for me ;-))
However, this seems like it will never end...:)...still getting a
damn test failure.
Now everything looks good, test runs my first method "testGet()" ok,
but it doesn't seem to run the second one in the test class "
testFieldNames()"
and then the result is a silly failure again.
According to the info below, JUnit ran both tests and got one
failure.
What I don't understand is why my logging in the void setUp() in test
class didn't run for second test method at all.
It ran void setUp() for the first test method with logging result
"Invoked setUp()...".
Test seems to halt before it gets to second test method "
testFieldNames()".
Hopefully this is one of the last, underlying, nasty surprises. :)
--Alen
16 Mar 2004 12:51:34,548 DEBUG listOfFieldMappings = [[FullName,
OfficeNo, City]]
16 Mar 2004 12:51:34,551 DEBUG Result name = EmployeeList
[junit] [DEBUG] Finding class
com.mydomain.contacts.mycontacts.FieldInitOrder
[junit] [DEBUG] Class
com.mydomain.contacts.mycontacts.FieldInitOrder loaded from ant
[junit] [DEBUG] Class java.util.Collections loaded from parent
loader
16 Mar 2004 12:51:34,557 DEBUG Exiting mapMethods()...
16 Mar 2004 12:51:34,560 INFO FullName = Ribic, Alen
16 Mar 2004 12:51:34,562 INFO OfficeNo = 021 408 0000
16 Mar 2004 12:51:34,565 INFO City = Cape Town
16 Mar 2004 12:51:34,569 DEBUG Exiting testGet()...
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 1.651
sec
[junit] [ERROR] TEST
com.mydomain.contacts.mycontacts.TestMethodParser FAILED
BUILD FAILED
[EMAIL PROTECTED]
03/16/2004 04:36 PM
To
[EMAIL PROTECTED]
cc
Please respond to
[EMAIL PROTECTED]
Subject
g Re: / /OREF:CPTDC853 commons-digester issue
in my JUnit test
On Tue, 2004-03-16 at 08:31, Craig S. Cottingham wrote:
> The only thing I can think of is that maybe your copy of
> commons-digester-1.5.jar is corrupted. That's a shot in the dark,
and
> I'm not very confident that it's really the problem.
You think I'd learn not to respond to mailing list postings until
I've
read everything in my inbox. :-)
I like Arto Pastinen's suggestion, that you need to add
commons-collections as a dependency.
--
Craig S. Cottingham
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- / /OREF:CPT0DDDD Include resource required by test aribic
- Re: / /OREF:CPT0DDDD Include resource required by... Craig S. Cottingham
- / /OREF:CPTDC853 commons-digester issue in my... aribic
- Re: / /OREF:CPTDC853 commons-digester iss... Arto Pastinen
- / /OREF:CPTF2648 Re: commons-digester... aribic
- Re: / /OREF:CPTF2648 Re: commons... Arto Pastinen
- Re: / /OREF:CPTDC853 commons-digester iss... Craig S. Cottingham
- Re: / /OREF:CPTDC853 commons-digester... Craig S. Cottingham
- / /OREF:CPT8F9CD Re: Include resource required by... aribic
