net.jqwik.engine.facades.SampleStreamFacade Maven / Gradle / Ivy
package net.jqwik.engine.facades;
import java.util.*;
import java.util.function.*;
import java.util.stream.*;
import org.jspecify.annotations.*;
import org.junit.platform.engine.*;
import org.junit.platform.engine.support.descriptor.*;
import net.jqwik.api.*;
import net.jqwik.engine.*;
import net.jqwik.engine.execution.lifecycle.*;
import net.jqwik.engine.support.*;
import static org.junit.platform.engine.TestDescriptor.Type.*;
class SampleStreamFacade {
private static final TestDescriptor SAMPLE_STREAM_DESCRIPTOR = new AbstractTestDescriptor(
UniqueId.root("jqwik", "samples"),
"Streaming samples outside jqwik thread"
) {
@Override
public Type getType() {
return TEST;
}
};
private static final Map, RandomGenerator