Patch for cldcunit to allow Eclipse unit test debugging.

2 views
Skip to first unread message

joakime

unread,
Apr 30, 2009, 4:29:15 PM4/30/09
to pyx4me-users
The lack of TestCase.setName(String) prevents per-test debugging in
Eclipse.

java.lang.NoSuchMethodError: junit.framework.TestCase.setName(Ljava/
lang/String;)V
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.createTest
(JUnit3TestLoader.java:80)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest
(JUnit3TestLoader.java:95)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests
(JUnit3TestLoader.java:59)


Here's a trivial patch to add that support into cldcunit so that a
combination of cldcunit + cldcunit-se can be used for unit test
debugging in Eclipse.

http://joakim.erdfelt.com/patches/CLDCUNIT-setname-eclipse-mtj-fix.patch

- Joakim

Vlad Skarzhevskyy

unread,
Apr 30, 2009, 6:25:29 PM4/30/09
to pyx4me...@googlegroups.com
Thanks!
 I applied the patch to svn.  The repository would be updated by build server  soon.

 If there are no other changes I would like to make 2.0.4 release this week.

Regards,
Vlad
Reply all
Reply to author
Forward
0 new messages