Thanks for finding that. I'll make a change later today to clear that
On May 21, 6:27 pm, Indy Nagpal <
i...@shadocms.com> wrote:
> 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")>
>