c

net.liftweb.http.testing

CompleteFailure

class CompleteFailure extends TestResponse

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompleteFailure
  2. TestResponse
  3. Response
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompleteFailure(serverName: String, exception: Box[Throwable])

Type Members

  1. type FuncType = HttpResponse
    Definition Classes
    TestResponseResponse
  2. type SelfType = HttpResponse
    Definition Classes
    TestResponseResponse

Value Members

  1. def !(code: Int, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server gave a particular response code.

    Test that the server gave a particular response code. If the response is not a 200, call the errorFunc with the msg

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  2. def !(msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server gave a response.

    Test that the server gave a response. If the server failed to respond, call the errorFunc with the msg

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  3. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def !@(msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test the response as a 200.

    Test the response as a 200. If the response is not a 200, call the errorFunc with the msg

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  5. def !\(label: String, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server response does not contain a node with a particular label as a direct child.

    Test that the server response does not contain a node with a particular label as a direct child. If the response does contain valid xml and does contain the node, call the errorFunc with the msg

    label

    the label for the XML node to search for in the response

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  6. def !\(node: Node, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server response does not contain a particular node as a direct child with the exact attributes and children.

    Test that the server response does not contain a particular node as a direct child with the exact attributes and children. If the response does contain valid xml and does contain the exact node, call the errorFunc with the msg.

    node

    the XML node to search for in the response

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  7. def !\\(label: String, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server response does not contain a node with a particular label anywhere in the xml.

    Test that the server response does not contain a node with a particular label anywhere in the xml. If the response does contain valid xml and does contain the node, call the errorFunc with the msg

    label

    the label for the XML node to search for in the response

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  8. def !\\(node: Node, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server response does not contain a particular node anywhere in the xml with the exact attributes and children.

    Test that the server response does not contain a particular node anywhere in the xml with the exact attributes and children. If the response does contain valid xml and does contain the exact node, call the errorFunc with the msg.

    node

    the XML node to search for in the response

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  9. final def ##(): Int
    Definition Classes
    AnyRef → Any
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def \(label: String, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server response contains a node with a particular label as a direct child.

    Test that the server response contains a node with a particular label as a direct child. If the response does not contain valid xml or does not contain the node, call the errorFunc with the msg

    label

    the label for the XML node to search for in the response

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  12. def \(node: Node, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server response contains a particular node as a direct child with the exact attributes and children.

    Test that the server response contains a particular node as a direct child with the exact attributes and children. If the response does not contain valid xml or does not contain the exact node, call the errorFunc with the msg.

    node

    the XML node to search for in the response

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  13. def \\(label: String, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server response contains a node with a particular label anywhere in the xml.

    Test that the server response contains a node with a particular label anywhere in the xml. If the response does not contain valid xml or does not contain the node, call the errorFunc with the msg

    label

    the label for the XML node to search for in the response

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  14. def \\(node: Node, msg: ⇒ String)(implicit errorFunc: ReportFailure): SelfType

    Test that the server response contains a particular node anywhere in the xml with the exact attributes and children.

    Test that the server response contains a particular node anywhere in the xml with the exact attributes and children. If the response does not contain valid xml or does not contain the exact node, call the errorFunc with the msg.

    node

    the XML node to search for in the response

    msg

    the String to report as an error

    errorFunc

    the error reporting thing.

    Definition Classes
    CompleteFailureResponse
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. val exception: Box[Throwable]
  20. def filter(f: (HttpResponse) ⇒ Unit): HttpResponse

    the Response has a filter method for chaining in a for comprehension.

    the Response has a filter method for chaining in a for comprehension. Note that the filter method does *NOT* have to return a Boolean, any expression (e.g., an assertion)

    Definition Classes
    CompleteFailureResponse
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def foreach(f: (HttpResponse) ⇒ Unit): Unit

    the Response has a foreach method for chaining in a for comprehension

    the Response has a foreach method for chaining in a for comprehension

    Definition Classes
    CompleteFailureResponse
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  25. def headers: Map[String, List[String]]

    The response headers

    The response headers

    Definition Classes
    CompleteFailureResponse
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  30. val serverName: String
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    CompleteFailure → AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def xml: Box[Elem]

    The XML for the body

    The XML for the body

    Definition Classes
    CompleteFailureResponse

Inherited from TestResponse

Inherited from Response

Inherited from AnyRef

Inherited from Any

Ungrouped