Of, I have a  CFC with a method foo that has say six arguments all of which are NOT 
required.  I want to test that whatever called foo() passed at least one of the 
arguments in its call.  Ugh, how?  In testing this I called foo() with no arguments 
and did a dump on arguments.  CF output a structure with keys the arguments names and 
each value as "undefined struct element".  Do I have to loop through this struct and 
test each value?  Or is ther a slick approach?  Yes, I know I can remove all the 
cfargument delcarations, but then I loose the type validations.

---->dugOUT   ��� 
"When I was kidnapped, my parents snapped into action.  They rented out my room." -- 
Woody Allen

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to