PageRenderTime 388ms CodeModel.GetById 221ms app.highlight 1ms RepoModel.GetById 150ms app.codeStats 0ms

/wheels/tests/_assets/views/test/_user.cfm

http://cfwheels.googlecode.com/
ColdFusion | 11 lines | 10 code | 1 blank | 0 comment | 0 complexity | 20e1f3effc723351c054e08cd31860df MD5 | raw file
 1<cfif IsDefined("request.partialTests.currentTotal")>
 2	<cfset request.partialTests.currentTotal = request.partialTests.currentTotal + arguments.current>
 3	<cfif StructKeyExists(arguments, "current") AND arguments.current IS 3>
 4		<cfset request.partialTests.thirdUserName = arguments.firstName>
 5	</cfif>
 6</cfif>
 7
 8<cfif NOT StructKeyExists(arguments, "current") AND StructKeyExists(arguments, "user") AND IsObject(arguments.user) AND arguments.user.firstName IS "Chris" AND arguments.firstName IS "Chris">
 9	<cfset request.wheelsTests.objectTestsPassed = true>
10	<cfoutput>#arguments.firstName#</cfoutput>
11</cfif>