Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 3,771 for test (0.63 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt

        )
      }
    
      @Test fun singleIpv6() {
        val result = reorderForHappyEyeballs(listOf(ipv6_ab))
    
        assertThat(result).isEqualTo(
          listOf(ipv6_ab),
        )
      }
    
      @Test fun singleIpv4() {
        val result = reorderForHappyEyeballs(listOf(ipv4_10_0_0_6))
    
        assertThat(result).isEqualTo(
          listOf(ipv4_10_0_0_6),
        )
      }
    
      @Test fun prioritiseIpv6() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

            }
            return out;
        }
    
        @Test
        @DisplayName("getNTHash: known vector for 'password'")
        void testGetNTHash_knownVector() {
            // Arrange
            String password = "password";
            // Known NT hash for "password" (UTF-16LE MD4)
            // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            // Test write(byte[], int, int) method
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            byte[] data = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
            cos.write(data, 2, 3); // Write bytes at index 2, 3, 4
            assertTrue(cos.isInMemory());
            cos.close();
        }
    
        @Test
        public void testWriteWithOffsetAndLengthExceedingThreshold() throws IOException {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

            )
            assertEquals(
                "-DbuildScan.PartOf=ReadyforRelease",
                model.stages[4].getBuildScanCustomValueParam(),
            )
        }
    
        @Test
        fun `test functional test project tags`() {
            assertEquals(
                "QuickJava25AdoptiumLinuxAmd64",
                TestCoverage(1, TestType.QUICK, Os.LINUX, JvmVersion.JAVA_25, JvmVendor.OPENJDK).asBuildScanCustomValue(),
            )
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 05 16:58:51 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/DialectVersionTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.EnumSource;
    
    /**
     * Test class for DialectVersion functionality
     */
    @DisplayName("DialectVersion Tests")
    class DialectVersionTest extends BaseTest {
    
        @Test
        @DisplayName("Should define all SMB dialect versions")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @Test
            @DisplayName("Should accept null locks array")
            void testConstructorWithNullLocks() {
                assertDoesNotThrow(() -> new Smb2LockRequest(mockConfig, testFileId, null));
            }
        }
    
        @Nested
        @DisplayName("FileId Tests")
        class FileIdTests {
    
            @Test
            @DisplayName("Should set file ID correctly")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(buildPath + "/test-classes", pom.getValue("build/testResources[1]/targetPath"));
            assertPathSuffixEquals("src/test/resources", pom.getValue("build/testResources[1]/directory"));
            assertEquals(buildPath + "/test-run", pom.getValue("build/testResources[2]/targetPath"));
            assertPathSuffixEquals("src/test/data", pom.getValue("build/testResources[2]/directory"));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.condition.EnabledIf;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    public class DiTest {
    
        // return true to run the test
        static boolean testShouldNotHaveDuplicates() {
            return true;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 23:18:32 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginManagement;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test sorting projects by dependencies.
     *
     */
    class ProjectSorterTest {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            suggester.shutdown();
        }
    
        /**
         * Test that resource files can be loaded successfully.
         * This indirectly tests getDefaultMappings and getDefaultIndexSettings.
         */
        @Test
        public void testResourceLoading_viaIndexCreation() throws Exception {
            final Suggester suggester = Suggester.builder().build(client, "resource-test");
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top