Skip to content

Kotlin BSON • Test suitesopensavvy.ktmongo.bson.raw

Package-level declarations

Types

BsonDeclaration

interface BsonDeclaration

Functions

array

fun SuiteDsl.array(context: Prepared<BsonContext>)

Test array representations.

binary

fun SuiteDsl.binary(context: Prepared<BsonContext>)

Test binary representations.

boolean

fun SuiteDsl.boolean(context: Prepared<BsonContext>)

Test boolean representations.

code

fun SuiteDsl.code(context: Prepared<BsonContext>)

Test code representations.

datetime

fun SuiteDsl.datetime(context: Prepared<BsonContext>)

Test datetime representations.

document

fun SuiteDsl.document(context: Prepared<BsonContext>)

Test boolean representations.

double

fun SuiteDsl.double(context: Prepared<BsonContext>)

Test boolean representations.

int32

fun SuiteDsl.int32(context: Prepared<BsonContext>)

Test boolean representations.

int64

fun SuiteDsl.int64(context: Prepared<BsonContext>)

Test boolean representations.

minMaxKey

fun SuiteDsl.minMaxKey(context: Prepared<BsonContext>)

Test MinKey and MaxKey representations.

objectId

fun SuiteDsl.objectId(context: Prepared<BsonContext>)

Test boolean representations.

regex

fun SuiteDsl.regex(context: Prepared<BsonContext>)

Test regex representation.

reprNull

fun SuiteDsl.reprNull(context: Prepared<BsonContext>)

Test null representation.

reprUndefined

fun SuiteDsl.reprUndefined(context: Prepared<BsonContext>)

Test undefined representation.

shouldBeHex

infix fun Bson.shouldBeHex(expected: String)

string

fun SuiteDsl.string(context: Prepared<BsonContext>)

Test boolean representations.

testBson

fun SuiteDsl.testBson(context: Prepared<BsonContext>, name: String, vararg declarations: BsonDeclaration)

timestamp

fun SuiteDsl.timestamp(context: Prepared<BsonContext>)

Test timestamp representations.