Package-level declarations

Types

Link copied to clipboard
interface BsonDeclaration

Functions

Link copied to clipboard
infix fun BsonDocument.shouldBeHex(@Language(value = "HEXDUMP") expected: String)
Link copied to clipboard
infix fun BsonDocument.shouldBeJson(@Language(value = "MongoDB-JSON") expected: String)
Link copied to clipboard
fun SuiteDsl.testBson(factory: Prepared<BsonFactory>, name: String, vararg declarations: BsonDeclaration)
Link copied to clipboard
fun SuiteDsl.verifyArrays(factory: Prepared<BsonFactory>)

Test array representations.

Link copied to clipboard
fun SuiteDsl.verifyBinaryData(factory: Prepared<BsonFactory>)

Test binary representations.

Link copied to clipboard
fun SuiteDsl.verifyBooleans(factory: Prepared<BsonFactory>)

Test boolean representations.

Link copied to clipboard
fun SuiteDsl.verifyCode(factory: Prepared<BsonFactory>)

Test code representations.

Link copied to clipboard
fun SuiteDsl.verifyDateTime(factory: Prepared<BsonFactory>)

Test datetime representations.

Link copied to clipboard
fun SuiteDsl.verifyDocuments(factory: Prepared<BsonFactory>)

Test boolean representations.

Link copied to clipboard
fun SuiteDsl.verifyDoubles(factory: Prepared<BsonFactory>)

Test boolean representations.

Link copied to clipboard
fun SuiteDsl.verifyInt32s(factory: Prepared<BsonFactory>)

Test boolean representations.

Link copied to clipboard
fun SuiteDsl.verifyInt64s(factory: Prepared<BsonFactory>)

Test boolean representations.

Link copied to clipboard
fun SuiteDsl.verifyMinMaxKeys(factory: Prepared<BsonFactory>)

Test MinKey and MaxKey representations.

Link copied to clipboard
fun SuiteDsl.verifyNulls(factory: Prepared<BsonFactory>)

Test null representation.

Link copied to clipboard
fun SuiteDsl.verifyObjectIds(factory: Prepared<BsonFactory>)

Test boolean representations.

Link copied to clipboard
fun SuiteDsl.verifyRegexes(factory: Prepared<BsonFactory>)

Test regex representation.

Link copied to clipboard
fun SuiteDsl.verifyStrings(factory: Prepared<BsonFactory>)

Test boolean representations.

Link copied to clipboard
fun SuiteDsl.verifyTimestamps(factory: Prepared<BsonFactory>)

Test timestamp representations.

Link copied to clipboard
fun SuiteDsl.verifyUndefined(factory: Prepared<BsonFactory>)

Test undefined representation.