net.liftweb.http.testing.TestHelpers

object TestHelpers

object TestHelpers

 extends ScalaObject




Source: TestFramework.scala(539)

 Constructors

def this

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
getCookie.. def getCookie(headers : List[(String, String)], respHeaders : Map[String, List[String]]) Box[String]
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
jitToIt.. implicit def jitToIt[T](in : Iterator[T]) Iterator[T]
jsonFuncForCometName.. def jsonFuncForCometName(cometName : String, body : String)
Get the function name given a particular comet actor name [details]
param
body - the body of the response
cometName - the name (default prefix) for the comet actor
return
- the name of the JSON function associated with the Comet actor
Box[String]
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
toWatchFromPage.. def toWatchFromPage(body : String)
Given an HTML page, find the list of "lift_toWatch" names and values These can be fed back into a comet request [details]
param
body - the page body returned from an HTTP request
return
- a list of the "to watch" tokens and the last update tokens
List[(String, String)]
toWatchUpdates.. def toWatchUpdates(old : Seq[(String, String)], body : String)
Given the body of a Comet response, parse for updates "lift_toWatch" values and update the current sequence to reflect any updated values [details]
param
body - the body of the comet response
old - the old toWatch sequence
return
- the updated sequences
Seq[(String, String)]
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.