Nothing in ColdFusion is CaseSensitive in as far as CFML is concerned AFAIK.






"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Dan Vega
To: CF-Talk
Sent: Tue Dec 12 21:58:23 2006
Subject: Re: cfcUnit

I am sorry, I figured out what it was. It was not actually that component it
was another cfc that  I was setting into the variables scope and thats why
it was throwing me off.

FYI - ColdFusion variables are not case sensitive so "setup" and "setUp" are
the same.

On 12/12/06, Paul Kenney <[EMAIL PROTECTED]> wrote:
>
> Change "setup" to "setUp"
>
>
> On 12/12/06, Dan Vega <[EMAIL PROTECTED]> wrote:
> >
> > I am running some test cases using cfcUnit, My question is when i ran
> this
> > test the first time i forgot to pass the datasource to my init method. I
> > have since
> > added it but it still does not see it in the setup? Is this cached, am i
> > missing something?
> >
> > <cfcomponent namespace="StudentInterviewTest" extends="
> > org.cfcunit.framework.TestCase">
> >
> >     <cfset variables.studentInterview = "">
> >
> >     <cffunction name="setup" access="private" returntype="void">
> >         <cfset variables.studentInterview = createObject("component",
> > "StudentInterview").init("mydsn")>
> >     </cffunction>
> >
> >     <cffunction name="testSendInterviewEmail" access="public"
> > returntype="void">
> >         <cfset studentInterview.sendInterviewEmail("arg1","arg2")>
> >     </cffunction>
> >
> > </cfcomponent>
> >
> >
> > --
> > Thank You
> > Dan Vega
> > [EMAIL PROTECTED]
> > http://www.danvega.org
> >
> >
> >
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263854
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
  • Re: cfcUnit Dan Vega
    • Re: cfcUnit Robertson-Ravo, Neil (RX)

Reply via email to