Package fr.gouv.vitam.common.junit
Class FixedPatternFakeInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.commons.io.input.CircularInputStream
-
- fr.gouv.vitam.common.junit.FixedPatternFakeInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class FixedPatternFakeInputStream extends org.apache.commons.io.input.CircularInputStream
Fake InputStream that repeats a pattern "data": test class only. This can safely by used for deterministic / predictable generation of content (same digest)
-
-
Constructor Summary
Constructors Constructor Description FixedPatternFakeInputStream(long size)
-