expect/expect library
Properties
-
no setter
-
mimeTypeIsHtml
→ Checker<
Response> -
final
-
mimeTypeIsJson
→ Checker<
Response> -
final
Functions
-
bodyBytesIs(
List< int> expected) → Checker<Response> -
bodyIs(
String expected) → Checker< Response> -
encodingIs(
String expected) → Checker< Response> -
headersHas(
String header, [String? value]) → Checker< Response> -
mimeTypeIs(
String expected) → Checker< Response> -
statusCodeIs(
int expected) → Checker< Response> -
statusCodeIsInRange(
int lower, int higher) → Checker< Response>
Typedefs
Exceptions / Errors
-
EqualityMismatch<
T> -
MapHasMismatch<
T> -
Mismatch<
M> - A mismatch exception
-
RangeMismatch<
T>