<commit_before>package sample;

import org.junit.jupiter.api.*;

import java.time.Duration;

import static org.junit.jupiter.api.Assertions.*;

class BasicJUnitTest {

    Library library;

    @BeforeAll
    static void setUpAll() {
    }

    @AfterAll
    static void tearDownAll() {
    }

    @BeforeEach
    void setUp() {
        library = new Library();
    }

    @AfterEach
    void tearDown() {
    }

    @Test
    void somethingTrue() {
        assertTrue(true);
    }

    @Test
    void assertLambda() {
        assertTrue(() -> library.returnTrue());
    }

    @Test
    void assertWithMessage() {
        assertTrue(true, "something should return 'true'");
    }

    @Test
    void exception() {
        assertThrows(RuntimeException.class, () -> library.throwRuntimeException());
    }

    @Test
    void timeout() throws InterruptedException {
        assertTimeout(Duration.ofSeconds(1), () -> library.timeout(5L));
    }

    @Test
    void multipleAssertions() {
        assertNotEquals("Unexpected", "Actual");
        assertEquals("Actual", "Actual");
    }

    @Disabled
    @Test
    void disabled() {<commit_msg>Multiple assertions via assertAll()<commit_after>package sample;

import org.junit.jupiter.api.*;

import java.time.Duration;

import static org.junit.jupiter.api.Assertions.*;

class BasicJUnitTest {

    Library library;

    @BeforeAll
    static void setUpAll() {
    }

    @AfterAll
    static void tearDownAll() {
    }

    @BeforeEach
    void setUp() {
        library = new Library();
    }

    @AfterEach
    void tearDown() {
    }

    @Test
    void somethingTrue() {
        assertTrue(true);
    }

    @Test
    void assertLambda() {
        assertTrue(() -> library.returnTrue());
    }

    @Test
    void assertWithMessage() {
        assertTrue(true, "something should return 'true'");
    }

    @Test
    void exception() {
        assertThrows(RuntimeException.class, () -> library.throwRuntimeException());
    }

    @Test
    void timeout() throws InterruptedException {
        assertTimeout(Duration.ofSeconds(1), () -> library.timeout(5L));
    }

    @Test
    void multipleAssertions() {
        assertAll(
                () -> assertNotEquals("Unexpected", "Actual"),
                () -> assertEquals("Actual", "Actual")
        );
    }

    @Disabled
    @Test
    void disabled() {
{'fraction_non_alphanumeric': 0.12684989429175475, 'fraction_numerical': 0.0016913319238900633, 'mean_word_length': 2.34180790960452, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3867415', 'n_tokens_mistral': 699, 'n_tokens_neox': 677, 'n_words': 144}