You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Henning Schmiedehausen <hp...@intermeta.de> on 2006/03/27 00:04:23 UTC

jakarta-velocity-test problem

Hi,

well, I don't exactly understand why this build fails for you guys. It
definitely works for me in the same environment...

Can you send me the output of the
<workspace>/bin/test-reports/TEST-org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase.txt file after the run is complete? I'd really appreciate it (and I might even get that problem fixed... :-) 

	Best regards
		Henning


-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

      RedHat Certified Engineer -- Jakarta Turbine Development
   Linux, Java, perl, Solaris -- Consulting, Training, Engineering

Social behaviour: Bavarians can be extremely egalitarian and folksy.
                                    -- http://en.wikipedia.org/wiki/Bavaria
Most Franconians do not like to be called Bavarians.
                                    -- http://en.wikipedia.org/wiki/Franconia


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: jakarta-velocity-test problem

Posted by Steve Loughran <st...@apache.org>.
Bill Barker wrote:
> "Henning Schmiedehausen" <hp...@intermeta.de> wrote in message 
> news:1143410664.18110.3.camel@forge.intermeta.de...
> 
>>Hi,
>>
>>well, I don't exactly understand why this build fails for you guys. It
>>definitely works for me in the same environment...
>>
>>Can you send me the output of the
>><workspace>/bin/test-reports/TEST-org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase.txt 
>>file after the run is complete? I'd really appreciate it (and I might even 
>>get that problem fixed... :-)
>>
> 
> 
> It looks like a compatibility problem with JUnit-4 or Ant+JUnit-4.  But, 
> anyway, here it is:
> 
> Testsuite: org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.043 sec
> 
> Testcase: warning took 0.006 sec
>         FAILED
> Class org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase has no 
> public constructor TestCase(String name) or TestCase()
> junit.framework.AssertionFailedError: Class 
> org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase has no public 
> constructor TestCase(String name) or TestCase()

On behalf of the ant team, I'd like to deny all knowledge here. JUnit 
test cases require a constructor that takes a string. The other 
constructor shouldnt be willingly used. Where ant could be improved is 
to detect and skip abstract test cases...

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: jakarta-velocity-test problem

Posted by Bill Barker <wb...@wilshire.com>.
"Henning Schmiedehausen" <hp...@intermeta.de> wrote in message 
news:1143410664.18110.3.camel@forge.intermeta.de...
> Hi,
>
> well, I don't exactly understand why this build fails for you guys. It
> definitely works for me in the same environment...
>
> Can you send me the output of the
> <workspace>/bin/test-reports/TEST-org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase.txt 
> file after the run is complete? I'd really appreciate it (and I might even 
> get that problem fixed... :-)
>

It looks like a compatibility problem with JUnit-4 or Ant+JUnit-4.  But, 
anyway, here it is:

Testsuite: org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.043 sec

Testcase: warning took 0.006 sec
        FAILED
Class org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase has no 
public constructor TestCase(String name) or TestCase()
junit.framework.AssertionFailedError: Class 
org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase has no public 
constructor TestCase(String name) or TestCase()



> Best regards
> Henning
>
>
> -- 
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>
>      RedHat Certified Engineer -- Jakarta Turbine Development
>   Linux, Java, perl, Solaris -- Consulting, Training, Engineering
>
> Social behaviour: Bavarians can be extremely egalitarian and folksy.
>                                    -- http://en.wikipedia.org/wiki/Bavaria
> Most Franconians do not like to be called Bavarians.
>                                    --  
> http://en.wikipedia.org/wiki/Franconia 




---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org