harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib][luni] junit4.0 fails on harmony due to missing method(s)
Date Fri, 11 Aug 2006 09:16:09 GMT
Done (r430732)

Tim

Alexey Varlamov wrote:
> Could someone of the fellow comitters kindly apply the HARMONY-1152
> patch, it is needed to use junit4.0:
> 
> java -cp ".:junit-4.0.jar" org.junit.runner.JUnitCore
> org.junit.tests.AllTests
> JUnit version 4.0
> Exception in thread "main" java.lang.NoSuchMethodError:
> java/lang/String.format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
> 
>        at
> org.junit.runner.Description.createTestDescription(Description.java:39)
>        at
> org.junit.internal.runners.TestClassMethodsRunner.methodDescription(TestClassMethodsRunner.java:83)
> 
>        at
> org.junit.internal.runners.TestClassMethodsRunner.getDescription(TestClassMethodsRunner.java:51)
> 
>        at
> org.junit.internal.runners.TestClassRunner.getDescription(TestClassRunner.java:57)
> 
>        at
> org.junit.internal.runners.CompositeRunner.getDescription(CompositeRunner.java:36)
> 
>        at
> org.junit.internal.runners.TestClassRunner.getDescription(TestClassRunner.java:57)
> 
>        at
> org.junit.internal.runners.CompositeRunner.getDescription(CompositeRunner.java:36)
> 
>        at org.junit.runner.JUnitCore.run(JUnitCore.java:120)
>        at org.junit.runner.JUnitCore.run(JUnitCore.java:10)
>        at org.junit.runner.JUnitCore.run(JUnitCore.java:91)
>        at org.junit.runner.JUnitCore.runMain(JUnitCore.java:75)
>        at org.junit.runner.JUnitCore.main(JUnitCore.java:42)
> 
> -- 
> Alexey
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 
> 

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message