This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 75555

Summary: J2MEUNIT - regenerate tests
Product: javame Reporter: Lukas Hasik <lhasik>
Component: JUnitAssignee: Jiri Prazak <bohemius>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 77184    

Description Lukas Hasik 2006-04-26 13:50:30 UTC
060426

-when user re-generates existing tests it ends with exceptions in attachment

*it should behave like the in j2se project. It means:
 -when user re-generates the test for a class then it only adds test for new methods
 -it shouldn't re-generate(replace) whole test class because it can already
contain user code
Comment 1 Jiri Prazak 2006-06-07 06:14:37 UTC
This is implemented.  All existing test methods that have corresponding methods
in the tested class are skipped and left alone.  note that methods no longer
available in the tested class are also removed from the test class as the test
would fail because the tested methods are no longer available.
Comment 2 Lukas Hasik 2006-06-07 06:57:33 UTC
verified in 060531
Comment 3 Lukas Hasik 2006-06-07 06:58:03 UTC
verified in 060531