Issue 120: Issue with the Generator: Inherited CFC without any methods throw error
Status:  Fixed
Owner: ----
Closed:  May 2008
Reported by indy.nag...@yahoo.com, May 25, 2008
This is straight from my post on the mailing list:
http://groups.google.com/group/mxunit/browse_thread/thread/305af111e1b5a132#


Hi

When you try and use the Generator to create tests for a CFC that
inherits from another CFC, but does not have any method of its own,
you get an error like:

Element FUNCTIONS is undefined in MD.

The error occurred in /Users/indy/Development/ColdFusion/
jboss-4.2.2.GA/server/cf8/deploy/cfusion.ear/cfusion.war/mxunit/
generator/generate.cfm: line 52

50 : <root>
51 :    <component
path="#listDeleteAt(md.name,listLen(md.name,"."),".")#"
name="#listLast(md.name,".")#" fullname="#md.name#">
52 :    <cfloop index="method" from="1" to="#arrayLen(md.functions)#">
53 :            <method name="#md.functions[method].name#"
54 :                    <cfif structKeyExists(md.functions[method],"access")>

This might be relevant:
http://groups.google.fr/group/coldspring-users/browse_thread/thread/c...

I quite like the approach taken by the CFC Stub Generator (http://
www.briankotek.com/blog/index.cfm/2006/7/26/CFC-and-CFUnit-Stub-Gener...).
It is quite simple and rather than introspecting CFCs you can simply
specify the which CFCs (and functions) to generate the CFC and test
stubs for.

Indy 
Jun 30, 2010
Project Member #1 virtix
older/outdated issues. archive in google docs. These are either Fixed, deprecated, or invalid

moving to Jira
Status: Fixed