testing library

Test doubles for package:kutu_media_transform.

Deliberately not exported from the main library: production code must never be able to import a fake by accident. Slices 3, 4 and 5 of MOB-027 test against FakeMediaTransform (contract §11).

Classes

FakeImageExport
One recorded FakeMediaTransform.exportImage call.
FakeMediaTransform
A MediaTransform that records what it was asked to do and writes small real files, with no platform channel involved.
FakeVideoExport
One recorded FakeMediaTransform.exportVideo call.

Typedefs

FakeFrameExtraction = ({ThumbSize size, String srcPath, List<Duration> times})
One MediaTransform.extractFrames call, in full.