MCPcopy Create free account
hub / github.com/awelm/simpledb / testTransactionComplete

Method testTransactionComplete

test/simpledb/TransactionTest.java:69–97  ·  view source on GitHub ↗

Common unit test code for BufferPool.transactionComplete() covering commit and abort. Verify that commit persists changes to disk, and that abort reverts pages to their previous on-disk state.

(boolean commit)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

commitTransactionMethod · 0.95
abortTransactionMethod · 0.95

Calls 12

getHeapTupleMethod · 0.95
setRecordIdMethod · 0.95
addTupleMethod · 0.95
markDirtyMethod · 0.95
resetBufferPoolMethod · 0.95
iteratorMethod · 0.95
getFieldMethod · 0.95
getValueMethod · 0.95
getPageMethod · 0.80
hasNextMethod · 0.65
nextMethod · 0.65
transactionCompleteMethod · 0.45

Tested by

no test coverage detected