Skip to main content

Blog Archive for alexeyp during July 2007

In classical JUnit you have multiple test methods in a single class that match some pattern, test framework iterates through these methods using relection. CLDC/MIDP does not have reflection API, this is one of problems that need to be solved when adopting JUnit-like test frameworks to CLDC/MIDP.  There are not too many solutions to this problem, well described in Vladimir's blog. I would...
The very common problem people meet when trying to unit-test their MIDlets is that you generally can not do something like this: <span style="font-weight: bold;">public</span><span style="font-weight: bold;">class</span>&nbsp;MyTest<span style="font-weight: bold;">extends</span>TestCase {<br><br>&nbsp;&...