<commit_before>package de.skuzzle.jeve.util;

import java.util.function.Supplier;

import org.junit.After;
import org.junit.Assume;
import org.junit.Before;

import de.skuzzle.jeve.EventProvider;
import de.skuzzle.jeve.EventProviderTestBase;
import de.skuzzle.jeve.ListenerStore;

/**
 * Base class for setting up an EventProvider testing area.
 *
 * @author <NAME>
 * @since 1.1.0
 * @version 2.0.0
 */
public class AbstractEventProviderTest<S extends ListenerStore> {

    /**
     * Time to wait to give threaded handlers some time to finish one dispatch
     * action
     */
    private static final long THREAD_WAIT_TIME = 50; // ms

    /** The factory to create EventProvider instances for testing */
    protected final Supplier<? extends EventProvider<S>> factory;<commit_msg>Increase thread timeout for tests<commit_after>package de.skuzzle.jeve.util;

import java.util.function.Supplier;

import org.junit.After;
import org.junit.Assume;
import org.junit.Before;

import de.skuzzle.jeve.EventProvider;
import de.skuzzle.jeve.EventProviderTestBase;
import de.skuzzle.jeve.ListenerStore;

/**
 * Base class for setting up an EventProvider testing area.
 *
 * @author <NAME>
 * @since 1.1.0
 * @version 2.0.0
 */
public class AbstractEventProviderTest<S extends ListenerStore> {

    /**
     * Time to wait to give threaded handlers some time to finish one dispatch
     * action
     */
    private static final long THREAD_WAIT_TIME = 150; // ms

    /** The factory to create EventProvider instances for testing */
    protected final Supplier<? extends EventProvider<S>> factory;
{'fraction_non_alphanumeric': 0.09667294413057125, 'fraction_numerical': 0.010671688637790333, 'mean_word_length': 3.8157099697885197, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '139428', 'n_tokens_mistral': 492, 'n_tokens_neox': 470, 'n_words': 145}