mockobjectdoclet does not generate concrete classes for interfaces which extend multiple interfaces. ----------------------------------------------------------------------------------------------------
Key: XDT-1560 URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1560 Project: XDoclet Type: Bug Components: Mock Objects Module Versions: 1.2.3 Environment: java 1.5.0_update 4, ant 1.6.5, xdoclet 1.2.3, xjavadoc-1.5-snapshot050611.jar Reporter: Steve Etherington Assigned to: xdoclet-devel (Use for new issues) Priority: Critical If an interface, A extends two or more other interfaces, and each of these includes one or more methods then the mock class that is generated fails to implement interface A. Here is an example - package statements omitted: //First.java public interface First { void firstMethod(); } //Second.java public interface Second { void secondMethod(); } //ChildTwo.java /** * @mock:generate * */ public interface ChildTwo extends First, Second { void childTwoMethod(); } // end This generates a broken class without an implementation of First.firstMethod() thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel