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 114781 - Generate tests for interface -> uncompilable
Summary: Generate tests for interface -> uncompilable
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: 84326
Blocks:
  Show dependency tree
 
Reported: 2007-09-05 15:28 UTC by Lukas Hasik
Modified: 2007-10-16 22:59 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 Lukas Hasik 2007-09-05 15:28:15 UTC
09/04
-when Create Junit Test action is used in interface then the test skeletons are uncompilable
-it tries to instantiate the interface

->easy workaroud for user exist
Comment 1 luky 2007-09-06 15:59:48 UTC
The same case as generating tests fro Midlet based class. The action shouldn't be available for interfaces
Comment 2 luky 2007-10-03 15:49:41 UTC
Fixed
Checking in TestCreator.java;
/cvs/mobility/j2meunit/src/org/netbeans/modules/mobility/j2meunit/TestCreator.java,v  <--  TestCreator.java
new revision: 1.16; previous revision: 1.15
done
Checking in J2MEUnitPlugin.java;
/cvs/mobility/j2meunit/src/org/netbeans/modules/mobility/j2meunit/J2MEUnitPlugin.java,v  <--  J2MEUnitPlugin.java
new revision: 1.4; previous revision: 1.3
done
Checking in TestUtils.java;
/cvs/mobility/j2meunit/src/org/netbeans/modules/mobility/j2meunit/TestUtils.java,v  <--  TestUtils.java
new revision: 1.12; previous revision: 1.11
done
Comment 3 Lukas Hasik 2007-10-16 22:59:27 UTC
verified in 20071016 build