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 113143 - Regeneration breaks test method
Summary: Regeneration breaks test method
Status: VERIFIED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: luky
URL:
Keywords:
Depends on: 113313
Blocks:
  Show dependency tree
 
Reported: 2007-08-18 09:47 UTC by luky
Modified: 2007-10-16 23:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luky 2007-08-18 09:47:12 UTC
Regeneration of tests breaks test method  - resulting code looks like 
        test();
                break;
            default:
        testBl();
                break;
            default:
        testFf1();
                break;
            default:
        testFl();
                break;
            default:
Comment 1 luky 2007-09-12 14:47:57 UTC
Looks like the fix supplied in issue 113313 works and case statement is now regenerated correctly
Comment 2 Lukas Hasik 2007-10-16 23:22:34 UTC
it generates compilable code however there is still a minor issue 

            case 1:
                testProtectedAccessMethod();
                break;case 2:
                testPackagePrivateAccessMethod();
                break;default:
                break;        }
    }

in 20071016 b2 build