Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 3,275 for Test (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should maintain constant overhead")
            void testOverheadConstant() {
                assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 48, Smb2WriteRequest.OVERHEAD);
            }
    
            @Test
            @DisplayName("Should handle boundary conditions")
            void testBoundaryConditions() {
                // Test with exactly aligned data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    import java.util.List;
    import java.util.Map;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known
     * bugs in OpenJDK 6 or higher.
     *
     * @author Kevin Bourrillion
     */
    // TODO(cpovirk): consider renaming this class in light of our now running it under newer JDKs.
    @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            super.setUp();
            thumbnailJob = new GenerateThumbnailJob();
    
            // Create temporary directory
            tempDir = Files.createTempDirectory("test").toFile();
            tempDir.deleteOnExit();
    
            // Setup test components
            testProcessHelper = new TestProcessHelper();
            ComponentUtil.register(testProcessHelper, "processHelper");
    
            testSystemHelper = new TestSystemHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/NtlmFlagsTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for NtlmFlags, verifying the values of all defined constants.
     */
    public class NtlmFlagsTest {
    
        @Test
        void testNtlmNegotiateUnicode() {
            assertEquals(0x00000001, NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, "NTLMSSP_NEGOTIATE_UNICODE should be 0x00000001");
        }
    
        @Test
        void testNtlmNegotiateOem() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            boolean getHasMore() {
                return hasMore;
            }
        }
    
        @Test
        public void hasMoreElements_initially_returnsTrue() {
            DummyResponse d = new DummyResponse();
            assertTrue(d.hasMoreElements(), "With default values hasMoreElements should be true");
        }
    
        @Test
        public void hasMoreElements_errorCodeNonZero_returnsFalse() {
            DummyResponse d = new DummyResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NbtExceptionTest.java

    import java.util.stream.Stream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    import jcifs.CIFSException;
    
    class NbtExceptionTest {
    
        /**
         * Test the constructor of NbtException.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/async-tests.md

    The `TestClient` is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, and luckily, we can use it directly to test the API.
    
    ## Example { #example }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/RequestWithPathTest.java

            verify(requestWithPath, times(1)).getPath();
    
            // Test with implementation
            testImplementation.setPath(expectedPath);
            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

        }
    
        /**
         * Verify that all methods can be called with null buffers without
         * throwing exceptions. This test ensures robustness of the implementation.
         */
        @Test
        void methodsHandleNullBuffersGracefully() {
            // Arrange
            TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top