<commit_before>package j8spec.junit;

import j8spec.ItBlock;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.Description;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.model.InitializationError;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import static j8spec.J8Spec.*;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.*;

public class J8SpecRunnerTest {

    private static final String BLOCK_1 = "block 1";
    private static final String BLOCK_2 = "block 2";

    public static class SampleSpec {{
        beforeEach(() -> {});

        it(BLOCK_1, newBlock(BLOCK_1));
        it(BLOCK_2, () -> {});

        describe("describe A", () -> {
            beforeEach(() -> {});

            it("block A.1", () -> {});
            it("block A.2", () -> {});

            describe("describe A.A", () -> {
                beforeEach(() -> {});

                it("block A.A.1", () -> {});
                it("block A.A.2", () -> {});
            });
        });

        describe("describe B", () -> {
            beforeEach(() -> {});

            it("block B.1", () -> {});
            it("block B.2", () -> {});
        });
    }}

    private static Map<String, Runnable> blocks;

    private static Runnable newBlock(String id) {
        Runnable block = mock(Runnable.class);
        blocks.put(id, block);
        return block;
    }
<commit_msg>Removes unnecessary spec configuration for J8SpecRunner test.<commit_after>package j8spec.junit;

import j8spec.ItBlock;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.Description;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.model.InitializationError;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import static j8spec.J8Spec.*;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.*;

public class J8SpecRunnerTest {

    private static final String BLOCK_1 = "block 1";
    private static final String BLOCK_2 = "block 2";

    public static class SampleSpec {{
        it(BLOCK_1, newBlock(BLOCK_1));
        it(BLOCK_2, () -> {});

        describe("describe A", () -> {
            it("block A.1", () -> {});
        });
    }}

    private static Map<String, Runnable> blocks;

    private static Runnable newBlock(String id) {
        Runnable block = mock(Runnable.class);
        blocks.put(id, block);
        return block;
    }

{'fraction_non_alphanumeric': 0.14552936775158998, 'fraction_numerical': 0.011971567527123082, 'mean_word_length': 2.663013698630137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, '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': '7143373', 'n_tokens_mistral': 835, 'n_tokens_neox': 797, 'n_words': 184}