-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jörg Schaible wrote:
> Hi Jörg,
Hi,
> 
> Joerg Hohwiller wrote on Thursday, September 29, 2005 10:21 PM:
> 
> [snip]
> 
>>But none of the individual tests failed (see below).
> 
> 
> [snip]
> 
> 
>>    [junit] Tests run: 7, Failures: 2, Errors: 0, Time
>>elapsed: 0,06 sec
> 
> 
> [snip]
> 
> Seems, there are two ... :)
once again it seems I am blind. I should make an appointment with my occulist.
But maybe its just that besides job and family the only time for
open-source activity is late at night when I am tired.

I found the test reports from ant at ./target/test-reports:
So org.apache.commons.logging.jdk14.CustomConfigAPITestCase failed with

Testsuite: org.apache.commons.logging.jdk14.CustomConfigAPITestCase
Tests run: 7, Failures: 2, Errors: 0, Time elapsed: 0,08 sec

Testcase: testExceptionMessages took 0,043 sec
Testcase: testPlainMessages took 0,003 sec
Testcase: testPristineHandlers took 0,004 sec
Testcase: testPristineLogger took 0,002 sec
Testcase: testSerializable took 0,017 sec
        FAILED
Log class expected:<...4...> but was:<...3Lumberjack...>
junit.framework.ComparisonFailure: Log class expected:<...4...> but
was:<...3Lumberjack...>
        at
org.apache.commons.logging.jdk14.CustomConfigTestCase.checkLog(CustomConfigTestCase.java:212)
        at
org.apache.commons.logging.jdk14.DefaultConfigTestCase.testSerializable(DefaultConfigTestCase.java:143)
        at
org.apache.commons.logging.jdk14.CustomConfigTestCase.testSerializable(CustomConfigTestCase.java:199)
        at
org.apache.commons.logging.PathableTestSuite.runTest(PathableTestSuite.java:140)

Testcase: testPristineLog took 0,005 sec
        FAILED
Log class expected:<...4...> but was:<...3Lumberjack...>
junit.framework.ComparisonFailure: Log class expected:<...4...> but
was:<...3Lumberjack...>
        at
org.apache.commons.logging.jdk14.CustomConfigTestCase.checkLog(CustomConfigTestCase.java:212)
        at
org.apache.commons.logging.jdk14.DefaultConfigTestCase.testPristineLog(DefaultConfigTestCase.java:108)
        at
org.apache.commons.logging.PathableTestSuite.runTest(PathableTestSuite.java:140)

The according assert is:

        assertEquals("Log class",
                     "org.apache.commons.logging.impl.Jdk14Logger",
                     log.getClass().getName());

So thats what the 4 stands for and the other one can be guessed easily.
Seems that the testcase expects a Jdk14Logger but receives a
Jdk13LumberjackLogger. Maybe that comes from a fallback.
As I checked this does not happen with the original code.
I will check whats going on and try to fix this tomorrow.
> 
> - Jörg
Thanx
  Jörg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDPZ6WmPuec2Dcv/8RAl4NAJsE0rq0RQ8RZWmQfWgyeBWEEE5dkQCdHQMH
kNQwvS5t6WDY8W0q8U/cvMA=
=1ZVe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to