- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 346 for Given (0.74 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertEquals(DialectVersion.SMB300, context.getDialect(), "Should support SMB 3.0 dialect"); } @Test @DisplayName("Should securely wipe encryption keys") void testSecureWipeKeys() { // Given byte[] originalEncKey = Arrays.copyOf(testEncryptionKey, testEncryptionKey.length); byte[] originalDecKey = Arrays.copyOf(testDecryptionKey, testDecryptionKey.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
new PropertyConfiguration(null); }); } @Test @DisplayName("Should handle empty properties") void testEmptyProperties() throws CIFSException { // Given Properties emptyProps = new Properties(); // When PropertyConfiguration emptyConfig = new PropertyConfiguration(emptyProps); // Then assertNotNull(emptyConfig);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
response = new Smb2TreeConnectResponse(mockConfig); } @Test @DisplayName("Should create response with configuration") void testConstructorWithConfiguration() { // Given & When Smb2TreeConnectResponse resp = new Smb2TreeConnectResponse(mockConfig); // Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
assertEquals(mockPolicyHandle, message.handle); } @Test @DisplayName("Should encode input parameters correctly") void testEncodeIn() throws NdrException { // Given: Close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // When: Encoding input message.encode_in(mockNdrBuffer);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
// Given int successStatus = NtStatus.NT_STATUS_SUCCESS; // When/Then assertEquals(0x00000000, successStatus); // Success status should be zero assertTrue(successStatus == 0); } @Test @DisplayName("Should identify error status codes") void testErrorStatusIdentification() { // Given int[] errorStatuses =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should create response with configuration and output buffer") void testConstructor() { // Given byte[] buffer = new byte[512]; int offset = 10; // When Smb2ReadResponse resp = new Smb2ReadResponse(mockConfig, buffer, offset); // Then assertNotNull(resp);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testWriteSingleByte() throws IOException, CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
assertTrue(type1.getFlags() != 0); // Should have some flags set } @Test @DisplayName("Should create Type 1 message with custom flags") void testType1MessageWithFlags() { // Given int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
* Returns the {@link ConstructorDesc} for the given parameter types. * * @param paramTypes * The array of parameter types for the constructor * @return The {@link ConstructorDesc} for the given parameter types */ ConstructorDesc getConstructorDesc(Class<?>... paramTypes); /** * Returns the {@link ConstructorDesc} that matches the given arguments. * * @param argsRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
private static final String ALGORITHM_NAME = "AES-256-GCM"; @Test @DisplayName("Default constructor should create exception with null message and cause") void testDefaultConstructor() { // Given & When CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(); // Then assertNull(exception.getMessage(), "Default constructor should have null message");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0)