dandycheung / jinjector

Automatically exported from code.google.com/p/jinjector
0 stars 0 forks source link

When instrumenting for code coverage add destryApp method to MIDlets if not implemented #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Implement a MIDlet without overriding the destroyApp() method
2. Instrument it for coverage
3. Collect the coverage

The coverage will not be collected because the missing method will not be
instrumented. The class adapter should realize that destroyApp is missing
and should add it to the class including code to collect the coverage.

Original issue reported on code.google.com by michele.sama on 11 Mar 2009 at 9:39