Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1291 - 1300 of 3,220 for test5 (0.09 seconds)

  1. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_lines_number_mismatch.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_code_blocks/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_lines_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  2. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_wrong_lang_code.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_code_blocks/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_wrong_lang_code.md")],
        indirect=True,
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  3. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_level_mismatch.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_header_permalinks/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_level_mismatch_1.md")],
        indirect=True,
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/resources/checkstyle_ide_fragment.xml

        </module>
    
        <!-- Use our fork of this Checkstyle rule, so that we can ignore test classes -->
        <module name="org.elasticsearch.gradle.internal.checkstyle.MissingJavadocTypeCheck">
            <property name="ignorePattern" value="^.*(Tests?|IT|TestCase)$"/>
            <property name="severity" value="warning"/>
            <message key="javadoc.missing" value="Types should explain their purpose" />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 21 18:58:39 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class GcFinalizationTest extends TestCase {
    
      // ----------------------------------------------------------------
      // Ordinary tests of successful method execution
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals(16, hash.length);
        }
    
        // Test unescape method
        @ParameterizedTest
        @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" })
        void testUnescape(String input, String expected) throws Exception {
            assertEquals(expected, NtlmPasswordAuthentication.unescape(input));
        }
    
        // Test getAnsiHash always returns 24 bytes regardless of lmCompatibility
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/promotion/PromotionProject.kt

                param("env.JDK8", javaHome(OpenJdk8, Os.LINUX))
                param("env.JDK11", javaHome(OpenJdk11, Os.LINUX))
                param("env.JDK17", javaHome(OpenJdk17, Os.LINUX))
                // Keep 21 and 25 for tests requiring it specifically: https://github.com/gradle/gradle/pull/35410#discussion_r2460835304
                param("env.JDK21", javaHome(OpenJdk21, Os.LINUX))
                param("env.JDK25", javaHome(OpenJdk25, Os.LINUX))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 15 19:30:24 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      public PackageSanityTests() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComWriteAndXResponse class.
     */
    class SmbComWriteAndXResponseTest {
    
        /**
         * Test the readParameterWordsWireFormat method.
         */
        @Test
        void testReadParameterWordsWireFormat() {
            SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java

     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code IssueManagement}.
     *
     */
    class IssueManagementTest {
    
        @Test
        void testHashCodeNullSafe() {
            new IssueManagement().hashCode();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top