Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 840 for verifyCn (0.04 sec)

  1. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // Then: Should create successfully
            assertNotNull(iterator);
            assertFalse(iterator.hasNext()); // Empty results
    
            // Verify tree handle was acquired
            verify(treeHandle).acquire();
    
            // Cleanup
            iterator.close();
        }
    
        @Test
        @DisplayName("Constructor should handle workgroup type with non-empty host")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            // Act
            pipe.customizeCreate(req, resp);
    
            // Assert: verify interactions with dependencies
            verify(req, times(1)).addFlags0(0x16);
            verify(resp, times(1)).setExtended(true);
            verify(resp, never()).setExtended(false);
        }
    
        @Test
        @DisplayName("openPipe returns a handle bound to this pipe")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NetworkExplorerTest.java

                    }
                }
            };
    
            assertDoesNotThrow(() -> networkExplorer.init(servletConfig));
    
            // Verify parameter reading
            verify(servletConfig).getInitParameter("jcifs.smb.client.domain");
            verify(servletConfig).getInitParameter("jcifs.http.enableBasic");
        }
    
        /**
         * Test doGet with no authentication - should return 401
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            int result = response.readDataWireFormat(buffer, bufferIndex, len);
    
            // Verify the result
            assertEquals(len, result, "readDataWireFormat should return the length of data read.");
    
            // Verify that the receive method on the input stream was called exactly once
            verify(mockPipeIn, times(1)).receive(buffer, bufferIndex, len);
        }
    
        /**
         * Tests the toString method.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTransportTest.java

            verify(smbTransport).unwrap(SmbTransport.class); // Verify that the method was called
        }
    
        @Test
        void testClose() throws Exception {
            // Act
            smbTransport.close();
    
            // Assert
            verify(smbTransport).close(); // Verify that the close method was called
        }
    
        @Test
        void testGetRemoteAddress() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                // we need to catch it to verify that pipe.close() was still called
                try {
                    handle.close();
                    fail("Expected IOException to be thrown");
                } catch (IOException e) {
                    assertEquals("Handle close failed", e.getMessage());
                }
    
                verify(mockSmbPipeHandleInternal).close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/VerifyTest.java

    /** Unit test for {@link com.google.common.base.Verify}. */
    @GwtCompatible
    @NullUnmarked
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        assertThrows(VerifyException.class, () -> verify(false));
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.clearInvocations;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoInteractions;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. .gitignore

    stage/
    .sia_temp/
    config.json
    node_modules/
    mc.*
    s3-check-md5*
    xl-meta*
    healing-*
    inspect*.zip
    200M*
    hash-set
    minio.RELEASE*
    mc
    nancy
    inspects/*
    .bin/
    *.gz
    docs/debugging/s3-verify/s3-verify
    docs/debugging/xl-meta/xl-meta
    docs/debugging/s3-check-md5/s3-check-md5
    docs/debugging/hash-set/hash-set
    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 802 bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTransportPoolTest.java

                // Then
                assertNotNull(retrievedTransport);
                assertFalse(hasActiveTransports);
                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false);
                verify(transportPool).removeTransport(transport);
                verify(transportPool).close();
            }
    
            @Test
            @DisplayName("Should handle authentication workflow")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top