Class TextSnapshot
- java.lang.Object
-
- de.skuzzle.test.snapshots.data.text.TextSnapshot
-
- All Implemented Interfaces:
StructuredDataProvider
@API(status=STABLE) public final class TextSnapshot extends Object implements StructuredDataProvider
Take snapshots usingObject.toString(). Use the static instancetext.- Author:
- Simon Taddiken
-
-
Field Summary
Fields Modifier and Type Field Description static StructuredDatatextTake Snapshots usingObject.toString()and compare the results using a generic String diff algorithm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredDatabuild()Provides theStructuredDatainstance which defines the serialization format and the way in which serialized objects are compared.
-
-
-
Field Detail
-
text
public static final StructuredData text
Take Snapshots usingObject.toString()and compare the results using a generic String diff algorithm.
-
-
Method Detail
-
build
public StructuredData build()
Description copied from interface:StructuredDataProviderProvides theStructuredDatainstance which defines the serialization format and the way in which serialized objects are compared.- Specified by:
buildin interfaceStructuredDataProvider- Returns:
- The
StructuredDatainstance.
-
-