FolioTestImpl
abstract class FolioTestImpl : Obj
FolioTestImpl plugs a specific Folio implementation into AbstractFolioTest
Does the implementation support FolioX APIS
Current test
Dump implementations installed
Verify record a is the same b
Verify the current version the same as prev
Verify that two ids are normalized to the same instance
Does the implementation support re-opening with different id prefix
Folio instance
Implementation name for output
Verify Ref.dis
Does the implementation support spark index APIs
Does the implementation support the history API
Close the current database
Does the implementation support transient commits
Close and delete current database
Verify the current version of Folio is greater than prev
Verify Dict.dis
Open the folio implementation
virtual Void close()
Close the current database
Folio folio()
Folio instance
static Void main()
Dump implementations installed
abstract Str name()
Implementation name for output
abstract Folio open(FolioConfig config)
Open the folio implementation
virtual Bool supportsFolioX()
Does the implementation support FolioX APIS
virtual Bool supportsHis()
Does the implementation support the history API
virtual Bool supportsIdPrefixRename()
Does the implementation support re-opening with different id prefix
virtual Bool supportsSparkIndex()
Does the implementation support spark index APIs
virtual Bool supportsTransient()
Does the implementation support transient commits
virtual Void teardown()
Close and delete current database
AbstractFolioTest test()
Current test
Void verify(Bool c, Str? msg)
virtual Int verifyCurVerChange(Int prev)
Verify the current version of Folio is greater than prev. Return new version
virtual Int verifyCurVerNoChange(Int prev)
Verify the current version the same as prev. Return new version
virtual Void verifyDictDis(Dict r, Str expect)
Verify Dict.dis
Void verifyEq(Obj? a, Obj? b, Str? msg)
virtual Void verifyIdDis(Ref id, Str expect)
Verify Ref.dis
virtual Void verifyIdsSame(Ref a, Ref b)
Verify that two ids are normalized to the same instance
Void verifyNotEq(Obj? a, Obj? b, Str? msg)
Void verifyNotSame(Obj? a, Obj? b, Str? msg)
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
Void verifySame(Obj? a, Obj? b, Str? msg)