Uses of Class
de.skuzzle.test.snapshots.SnapshotFile
-
Packages that use SnapshotFile Package Description de.skuzzle.test.snapshots The main public snapshot-testing API. -
-
Uses of SnapshotFile in de.skuzzle.test.snapshots
Methods in de.skuzzle.test.snapshots that return SnapshotFile Modifier and Type Method Description SnapshotFileSnapshotFile. changeHeader(SnapshotFile.SnapshotHeader newHeader)Creates a newSnapshotFileinstance with the given header and the same snapshot contents.static SnapshotFileSnapshotFile. fromSnapshotFile(Path file)static SnapshotFileSnapshotFile. of(SnapshotFile.SnapshotHeader header, String snapshot)static SnapshotFileSnapshotFile. readFrom(BufferedReader reader)SnapshotFileSnapshotTestResult. serializedSnapshot()The snapshot.SnapshotFileSnapshotFile. writeTo(Path snapshotFile)Writes this object to the specified file, potentially overriding it if it already exists.Methods in de.skuzzle.test.snapshots with parameters of type SnapshotFile Modifier and Type Method Description static SnapshotTestResultSnapshotTestResult. forFailedTest(Path targetFile, SnapshotFile snapshot, Throwable failure)static SnapshotTestResultSnapshotTestResult. of(Path targetFile, SnapshotTestResult.SnapshotStatus status, SnapshotFile snapshot)
-