Index
|
- |
does not fill up index if not properly removed
|
- |
LevelDBTools
|
- |
correctly converts exact queries
|
- |
correctly converts lower bounds
|
- |
correctly converts upper bounds
|
- |
correctly converts range queries
|
- |
AutoResize
|
- |
automatically resizes database if needed
|
- |
automatically resizes database on combined commits
|
- |
EncodedLMDBTransaction
|
- |
can set and retrieve values
|
- |
correctly estimates string byte size
|
- |
correctly estimates integer byte size
|
- |
correctly estimates buffer byte size
|
- |
Index
|
- |
does not fill up index if not properly removed
|
- |
CombinedTransactionPlatform
|
- |
commit/abort on individual transactions triggers combined commit/abort
|
- |
cannot commit combined transactions from same object store
|
- |
scenario 1: instant flush
|
- |
scenario 2: flush after abort
|
- |
scenario 3: complex flush after abort
|
- |
scenario 4: no combined nested transactions
|
- |
scenario 5: simple fail
|
- |
scenario 6: complex merge of two combined commits
|
- |
can instantly read the correct value
|
- |
does not infinitely stack combined transactions
|
- |
does not infinitely stack 3 combined transactions
|
- |
can handle fast incoming combined transactions
|
- |
can do a combined commit for cached stores
|
- |
CombinedTransaction
|
- |
commit/abort on individual transactions triggers combined commit/abort
|
- |
cannot commit combined transactions from same object store
|
- |
scenario 1: instant flush
|
- |
scenario 2: flush after abort
|
- |
scenario 3: complex flush after abort
|
- |
scenario 4: no combined nested transactions
|
- |
scenario 5: simple fail
|
- |
scenario 6: complex merge of two combined commits
|
- |
can instantly read the correct value
|
- |
does not infinitely stack combined transactions
|
- |
does not infinitely stack 3 combined transactions
|
- |
can handle fast incoming combined transactions
|
- |
InMemoryBackend
|
- |
can open a transaction and commit it
|
- |
can only commit one transaction and ensures read isolation
|
- |
can correctly handle multi-layered transactions
|
- |
correctly constructs key streams
|
- |
correctly constructs value streams
|
- |
Index
|
- |
test/generic/Index.spec.js |
- |
test/generic/Index.spec.js |
- |
test/generic/Index.spec.js |
- |
test/generic/Index.spec.js |
- |
test/generic/Index.spec.js |
- |
test/generic/Index.spec.js |
- |
test/generic/Index.spec.js |
- |
test/generic/Index.spec.js |
- |
only fills the index once
|
- |
can fill the index on implicit upgrade
|
- |
can fill the index on explicit upgrade
|
- |
provides unique indices on combined transactions
|
- |
supports binary key encoding
|
- |
supports binary key encoding (InMemory)
|
- |
test/generic/Index.spec.js |
- |
JungleDB
|
- |
can connect
|
- |
can reconnect to a database
|
- |
can create and delete object stores
|
- |
does not throw errors when recreating existing stores
|
- |
can use advanced upgrade methods (new signatures)
|
- |
can delete stores with indices
|
- |
can change entries in onUpgradeNeeded callback
|
- |
can truncate tables in onUpgradeNeeded callback
|
- |
ObjectStore
|
- |
test/generic/ObjectStore.spec.js |
- |
test/generic/ObjectStore.spec.js |
- |
test/generic/ObjectStore.spec.js |
- |
test/generic/ObjectStore.spec.js |
- |
test/generic/ObjectStore.spec.js |
- |
test/generic/ObjectStore.spec.js |
- |
test/generic/ObjectStore.spec.js |
- |
test/generic/ObjectStore.spec.js |
- |
BinaryCodec
|
- |
can open a transaction and commit it
|
- |
can only commit one transaction and ensures read isolation
|
- |
can correctly handle multi-layered transactions
|
- |
TestCodec
|
- |
can open a transaction and commit it
|
- |
can only commit one transaction and ensures read isolation
|
- |
can correctly handle multi-layered transactions
|
- |
ObjectStoreTransactions
|
- |
can open a transaction and commit it
|
- |
can only commit one transaction and ensures read isolation
|
- |
can correctly handle multi-layered transactions
|
- |
does not allow to commit transactions with nested sub-transactions
|
- |
aborts nested transactions on outer abort
|
- |
throws error when stack size is exceeded
|
- |
Query
|
- |
can process single entry range queries
|
- |
can process single entry min/max queries
|
- |
can process single entry combined queries
|
- |
can process multi entry range queries
|
- |
can process multi entry min/max queries
|
- |
can process queries over multiple indices
|
- |
RawRetrieval
|
- |
test/generic/RawRetrieval.spec.js |
- |
test/generic/RawRetrieval.spec.js |
- |
test/generic/RawRetrieval.spec.js |
- |
Snapshot
|
- |
works on the backend
|
- |
works on unflushed transaction
|
- |
works on unflushed synchronous transaction
|
- |
can handle truncate on the backend
|
- |
can inherit transactions
|
- |
can implicitly inherit transactions
|
- |
can implicitly inherit nested transactions
|
- |
can handle index queries
|
- |
throws errors on forbidden methods
|
- |
SynchronousTransaction
|
- |
throws an error if a key is not cached
|
- |
can preload keys
|
- |
can change values and commit
|
- |
does apply nested transactions
|
- |
does apply nested synchronous transactions
|
- |
test/generic/SynchronousTransaction.spec.js |
- |
Transaction
|
- |
correctly processes keys/values queries
|
- |
correctly processes min/max queries
|
- |
does not allow changes after abort
|
- |
does not allow changes after commit
|
- |
correctly processes min/max index queries
|
- |
does not allow changing nested transactions
|
- |
does apply nested transactions
|
- |
does apply nested synchronous transactions
|
- |
correctly constructs key streams
|
- |
correctly constructs value streams
|
- |
correctly processes index queries after commit
|
- |
Transaction with binary codec
|
- |
correctly processes keys/values queries
|
- |
correctly processes min/max queries
|
- |
does not allow changes after abort
|
- |
does not allow changes after commit
|
- |
correctly processes min/max index queries
|
- |
Transaction with InMemoryBackend
|
- |
correctly processes keys/values queries
|
- |
correctly processes min/max queries
|
- |
does not allow changes after abort
|
- |
does not allow changes after commit
|
- |
correctly processes min/max index queries
|
- |
ArrayUtils
|
- |
correctly iterates in ascending order
|
- |
correctly iterates in descending order
|
- |
BTree
|
- |
can insert and iterate
|
- |
behaves correctly when empty
|
- |
can insert, remove, iterate and pack
|
- |
can insert and remove everything
|
- |
can use goto
|
- |
can go to open bounds
|
- |
BufferUtils
|
- |
has fromBase64 and toBase64 methods
|
- |
toBase64/fromBase64 handle all code points like btoa/atob
|
- |
has fromBase64lex and toBase64lex methods
|
- |
toBase64lex/fromBase64lex handle all code points like btoa/atob
|
- |
has an equals method
|
- |
has a compare method
|
- |
ComparisonUtils
|
- |
has an equals method
|
- |
has a compare method
|
- |
GenericValueEncoding
|
- |
correctly encodes/decodes strings
|
- |
correctly encodes/decodes integers
|
- |
correctly encodes/decodes buffers
|
- |
correctly encodes/decodes objects
|
- |
JSONUtils
|
- |
can stringify simple objects
|
- |
can parse simple objects
|
- |
can convert complex objects
|
- |
can handle null values
|
- |
LRUMap
|
- |
does can store key-value pairs
|
- |
evicts old entries
|
- |
does not evict recently accessed entries
|
- |
has a working iterator
|
- |
can evict multiple entries
|
- |
can be cleared
|
- |
does not exceed maxSize
|
- |
works with empty LRU maps
|
- |
Log
|
- |
can log objects
|
- |
can log info
|
- |
can log debug
|
- |
can log warning
|
- |
can log trace
|
- |
can log verbose
|
- |
can log error
|
- |
ObjectUtils
|
- |
correctly retrieves simple properties from objects
|
- |
correctly retrieves complex properties from objects
|
- |
correctly retrieves simple properties from classes
|
- |
correctly retrieves complex properties from classes
|
- |
SetUtils
|
- |
correctly computes the union of two sets
|
- |
correctly computes the intersection of two sets
|
- |
correctly computes the difference of two sets
|
- |
correctly calculates set equality
|
- |
constructs a set from various types
|
- |
SortedList
|
- |
correctly inserts elements
|
- |
can clear itself
|
- |
can indexOf
|
- |
can has
|
- |
can shift
|
- |
can pop
|
- |
can remove elements
|
- |
can be copied
|
- |