type

FolioTestImpl

abstract class FolioTestImpl : Obj

FolioTestImpl plugs a specific Folio implementation into AbstractFolioTest

methods

close

Close the current database

folio

Folio instance

main

Dump implementations installed

name

Implementation name for output

open

Open the folio implementation

supportsFolioX

Does the implementation support FolioX APIS

supportsHis

Does the implementation support the history API

supportsIdPrefixRename

Does the implementation support re-opening with different id prefix

supportsSparkIndex

Does the implementation support spark index APIs

supportsTransient

Does the implementation support transient commits

teardown

Close and delete current database

test

Current test

verify
verifyCurVerChange

Verify the current version of Folio is greater than prev.

verifyCurVerNoChange

Verify the current version the same as prev.

verifyDictDis

Verify Dict.dis

verifyEq
verifyIdDis

Verify Ref.dis

verifyNotEq
verifyNotSame
verifyRecSame

Verify record a is the same b.

verifySame

Slot Details

close

virtual Void close()

Close the current database

folio

Folio folio()

Folio instance

main

static Void main()

Dump implementations installed

name

abstract Str name()

Implementation name for output

open

abstract Folio open(FolioConfig config)

Open the folio implementation

supportsFolioX

virtual Bool supportsFolioX()

Does the implementation support FolioX APIS

supportsHis

virtual Bool supportsHis()

Does the implementation support the history API

supportsIdPrefixRename

virtual Bool supportsIdPrefixRename()

Does the implementation support re-opening with different id prefix

supportsSparkIndex

virtual Bool supportsSparkIndex()

Does the implementation support spark index APIs

supportsTransient

virtual Bool supportsTransient()

Does the implementation support transient commits

teardown

virtual Void teardown()

Close and delete current database

test

AbstractFolioTest test()

Current test

verify

Void verify(Bool c, Str? msg := null)

verifyCurVerChange

virtual Int verifyCurVerChange(Int prev)

Verify the current version of Folio is greater than prev. Return new version

verifyCurVerNoChange

virtual Int verifyCurVerNoChange(Int prev)

Verify the current version the same as prev. Return new version

verifyDictDis

virtual Void verifyDictDis(Dict r, Str expect)

Verify Dict.dis

verifyEq

Void verifyEq(Obj? a, Obj? b, Str? msg := null)

verifyIdDis

virtual Void verifyIdDis(Ref id, Str expect)

Verify Ref.dis

verifyNotEq

Void verifyNotEq(Obj? a, Obj? b, Str? msg := null)

verifyNotSame

Void verifyNotSame(Obj? a, Obj? b, Str? msg := null)

verifyRecSame

virtual Void verifyRecSame(Dict? a, Dict? b)

Verify record a is the same b. If the implementation supports an in-memory cache then they should be the same instance in memory, otherwise they should be the same by tag values

verifySame

Void verifySame(Obj? a, Obj? b, Str? msg := null)