DiskStorage

interface DiskStorage

Represents the disk storage for a specific test.

Functions

Link copied to clipboard
abstract fun keep(subOrKeepAll: String?)

Marks that the following sub snapshots should be kept, null means to keep all snapshots for the currently executing class.

Link copied to clipboard
abstract fun readDisk(sub: String, call: CallStack): Snapshot?

Reads the given snapshot from disk.

Link copied to clipboard
abstract fun writeDisk(actual: Snapshot, sub: String, call: CallStack)

Writes the given snapshot to disk.