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:263849
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to