Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 840 for certify (0.24 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            decodedInfo.decode(decodeBuffer);
    
            // Verify the decoded data matches
            assertEquals(domainInfo.name.length, decodedInfo.name.length);
            assertEquals(domainInfo.name.maximum_length, decodedInfo.name.maximum_length);
            assertNotNull(decodedInfo.name.buffer);
            assertEquals(domainInfo.name.maximum_length / 2, decodedInfo.name.buffer.length);
    
            // Verify SID
            assertNotNull(decodedInfo.sid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            request.setOutputData(mockOutputData);
    
            int size = request.size();
    
            // Base size 120 + 100 + 50 = 270, aligned to 8 = 272
            assertEquals(272, size);
            verify(mockInputData).size();
            verify(mockOutputData).size();
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat without data")
        void testWriteBytesWireFormatWithoutData() {
            setupMockConfig();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            assertEquals("c", it.next().getName());
            assertFalse(it.hasNext());
    
            // Verify interactions
            verify(tree, times(1)).send(isA(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class));
            // Verify that Trans2FindNext2 was sent twice for fetching more entries
            verify(tree, times(2)).send(isA(Trans2FindNext2.class), any(Trans2FindFirst2Response.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                // Verify with second digest (simulating server verification)
                boolean isValid = digest2.verify(data, 0, data.length, 0, response);
    
                assertTrue(isValid, "Valid signature should verify correctly");
            }
    
            @Test
            @DisplayName("Should sign and verify round trip for SMB 2.1")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        void connectLogon_invocation_isForwarded() throws Exception {
            // Act
            tree.connectLogon(context);
    
            // Assert - verify interaction with dependency
            verify(tree, times(1)).connectLogon(context);
            verify(tree, never()).close();
        }
    
        @Test
        @DisplayName("connectLogon accepts null context but still invokes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            int encodedLength = request.encode(buffer, 0);
    
            // Verify encoded length matches size
            assertEquals(request.size(), encodedLength);
    
            // Verify capabilities (4 bytes)
            assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, 0));
    
            // Verify client GUID (16 bytes)
            byte[] extractedGuid = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbFileHandleTest.java

            verify(smbFileHandle, times(1)).getTree();
        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            Smb2LeaseKey result = directoryLeaseManager.requestDirectoryLease(directoryPath, requestedState, scope);
    
            assertEquals(expectedKey, result);
            verify(baseLeaseManager).requestLease(directoryPath, requestedState);
    
            // Verify cache entry was created
            DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(cacheEntry);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ExecutorService service = mock(ExecutorService.class);
        application.addDelayedShutdownHook(service, 2, SECONDS);
        verify(service, Mockito.never()).shutdown();
        application.shutdown();
        InOrder shutdownFirst = Mockito.inOrder(service);
        shutdownFirst.verify(service).shutdown();
        shutdownFirst.verify(service).awaitTermination(2, SECONDS);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Act
            handle.close();
    
            // Assert
            // Verify sendrecv was called once for open and once for close
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top