Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 840 for certify (0.1 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Verify structure size
            assertEquals(36, SMBUtil.readInt2(buffer, 0));
    
            // Verify dialect count
            assertEquals(3, SMBUtil.readInt2(buffer, 2)); // SMB210, SMB300, SMB302
    
            // Verify security mode
            assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, SMBUtil.readInt2(buffer, 4));
    
            // Verify capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

                    mockResource.setLastAccess(testTime);
                }, "Setting individual times should not throw exception");
    
                verify(mockResource).setCreateTime(testTime);
                verify(mockResource).setLastModified(testTime);
                verify(mockResource).setLastAccess(testTime);
            }
        }
    
        @Nested
        @DisplayName("File Operations Tests")
        class FileOperationsTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            verify(mockDeferredNdrBuffer).enc_ndr_long(0);
            verify(mockDeferredNdrBuffer).enc_ndr_long(trustInfo.name.length / 2);
            verify(mockDeferredNdrBuffer).advance(2 * (trustInfo.name.length / 2));
            // Verify the derive call
            verify(mockDeferredNdrBuffer).derive(anyInt());
            verify(mockDeferredNdrBuffer, times(5)).enc_ndr_short(0); // Writing 5 shorts with value 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Verify structure size (32)
            assertEquals(32, SMBUtil.readInt2(buffer, offset));
    
            // Verify notify flags
            assertEquals(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE, SMBUtil.readInt2(buffer, offset + 2));
    
            // Verify output buffer length
            assertEquals(8192, SMBUtil.readInt4(buffer, offset + 4));
    
            // Verify file ID
            byte[] readFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        out.write(b);
    
        verify(hashFunction).newHasher();
        verify(hasher).putByte((byte) b);
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testWrite_putByteArray() throws Exception {
        byte[] buf = new byte[] {'y', 'a', 'm', 's'};
        HashingOutputStream out = new HashingOutputStream(hashFunction, buffer);
        out.write(buf);
    
        verify(hashFunction).newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/ResponseTest.java

            assertTrue(mockResponse.isReceived());
    
            // Verify the method was called
            verify(mockResponse, times(2)).isReceived();
        }
    
        @Test
        void testReceived() {
            // Call the method
            mockResponse.received();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).received();
        }
    
        @Test
        void testClearReceived() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // Execute the job
            String result = aggregateLogJob.execute();
    
            // Verify result is empty string on success
            assertNotNull(result);
            assertEquals("", result);
        }
    
        public void test_execute_withException() {
            // Setup mock SearchLogHelper that throws exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      }
    
      public void testRead_putSingleByte() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        int b = in.read();
        assertEquals('y', b);
    
        verify(hasher).putByte((byte) 'y');
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testRead_putByteArray() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      }
    
      public void testRead_putSingleByte() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        int b = in.read();
        assertEquals('y', b);
    
        verify(hasher).putByte((byte) 'y');
        verify(hashFunction).newHasher();
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testRead_putByteArray() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            // When
            outputStream = new SmbFileOutputStream(mockFile);
    
            // Then
            assertNotNull(outputStream);
    
            // Verify the AutoCloseable resources were closed
            verify(autoCloseableMockTreeHandle).close();
            verify(autoCloseableMockFileHandle).close();
        }
    
        @Test
        void testConstructorWithAppendFlag() throws IOException, CIFSException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top