anchor.diff:  			<cfset deleteCache()>
   		</cfif>
   	</cffunction>
  -	<cffunction name="testCachePutRAMCache" localMode="modern">
  -		<cfset createRAMCache()>
  -		<cfset testCachePut()>
  -		<cfset deleteCache()>
  +
  +	<cffunction name="testCachePutMemcachedCache" localMode="modern">
  +		<cfif !isNull(request.testMemcachedExtension) and request.testMemcachedExtension>
  +			<cfset createMemcachedCache()>
  +			<cfset testCachePut()>
  +			<cfset deleteCache()>
  +		</cfif>
   	</cffunction>
  +
   	
   	<cffunction access="private" name="testCachePut" localMode="modern">
   
  
positive.code: 					,timeToIdleSeconds:86400
  					,maxElementsInMemory:10000}#";
  	}
  				
  	private function deleteCache(){
  		admin 
  
negative.code: <cfset server.enableCache=true>
  
  <cflock scope="server" timeout="10">
  	<!--- <cfset cacheRemove(arrayToList(cacheGetAllIds()))> --->
  	<cfset prefix=getTickCount()>
  
  	<cfset cachePut(prefix&'abc','123',CreateTimeSpan(0,0,0,1))>
  	<cfset cachePut(prefix&'def','123',CreateTimeSpan(0,0,0,2),CreateTimeSpan(0,0,0,1))>
  	<cfset cachePut(prefix&'ghi','123',CreateTimeSpan(0,0,0,0),CreateTimeSpan(0,0,0,0))>
      
  	<cfset sct={}>
      <cfset sct.a=cacheGet(prefix&'abc')>
      <cfset sct.b=cacheGet(prefix&'def')>
      <cfset sct.c=cacheGet(prefix&'ghi')>
      
      <cfset valueEquals(left="#structKeyExists(sct,'a')#", right="true")>
      <cfset valueEquals(left="#structKeyExists(sct,'b')#", right="true")>
      <cfset valueEquals(left="#structKeyExists(sct,'c')#", right="true")>
      <cfset sleep(1200)>
      <cfset sct.d=cacheGet(prefix&'abc')>
      <cfset sct.e=cacheGet(prefix&'def')>
      <cfset sct.f=cacheGet(prefix&'ghi')>
      <cfset valueEquals(left="#structKeyExists(sct,'d')#", right="false")>
      <cfset valueEquals(left="#structKeyExists(sct,'e')#", right="false")>
      <cfset valueEquals(left="#structKeyExists(sct,'f')#", right="true")>
      
  <cfif server.ColdFusion.ProductName EQ "lucee">    
  	<cfset cachePut(prefix&'def','123',CreateTimeSpan(0,0,0,2),CreateTimeSpan(0,0,0,1),cacheName)>
  </cfif>
  </cflock>
  
  