- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 502 for corrupt (0.04 sec)
-
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
void shouldImplementFileSystemInformation() { assertTrue(FileSystemInformation.class.isAssignableFrom(FileFsFullSizeInformation.class)); } @Test @DisplayName("Should return correct file system information class") void shouldReturnCorrectFileSystemInformationClass() { assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, fileFsFullSizeInfo.getFileSystemInformationClass()); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
/** * Unit tests for DirectoryLeaseState */ public class DirectoryLeaseStateTest { @Test public void testDirectoryLeaseConstants() { // Test that directory lease states use correct base values assertEquals(Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING, DirectoryLeaseState.DIRECTORY_READ_HANDLE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
} /** * Test method for {@link NtlmHttpServletRequest#getUserPrincipal()}. * Verifies that the method returns the correct principal object. */ @Test void testGetUserPrincipal() { // Act: Call the method under test Principal actualPrincipal = ntlmRequest.getUserPrincipal();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
} @Test @DisplayName("Should return correct pathConsumed value") void testGetPathConsumed() { assertEquals(50, buffer.getPathConsumed()); // 100 / 2 } @Test @DisplayName("Should return correct numReferrals value") void testGetNumReferrals() { assertEquals(3, buffer.getNumReferrals());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertSame(testRequestBuffer, requestBuffer); // Verify multiple calls return the same instance assertSame(requestBuffer, negotiation.getRequestRaw()); // Verify content is correct assertArrayEquals(new byte[] { 0x01, 0x02, 0x03, 0x04 }, requestBuffer); } @Test @DisplayName("getResponseRaw should return the same response buffer") void testGetResponseRaw() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
result = response.readParametersWireFormat(smallBuffer, 0, -1); assertEquals(0, result); } @Test @DisplayName("Test command type is correct") void testCommandType() { // Verify that the command is not set in constructor (defaults to 0) assertEquals(0, response.getCommand()); // Verify we can change the subcommand
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
} @Test public void test_AllHttpMethodFactories() { // ## Test that all factory methods create requests with correct methods ## // ## Act & Assert ## assertEquals(Method.GET, Curl.get("http://test.com").method()); assertEquals(Method.POST, Curl.post("http://test.com").method());Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertNull(context.getCiphers()); } } @Nested @DisplayName("Context Type Tests") class ContextTypeTests { @Test @DisplayName("Should return correct context type") void testGetContextType() { EncryptionNegotiateContext context = new EncryptionNegotiateContext();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
recordNameField.setAccessible(true); assertNotNull(recordNameField.get(response)); // Verify macAddress is initialized with correct size Field macAddressField = NodeStatusResponse.class.getDeclaredField("macAddress"); macAddressField.setAccessible(true); byte[] macAddress = (byte[]) macAddressField.get(response);
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/ndr/NdrLongTest.java
NdrLong ndrLong = new NdrLong(testValue); // Call the encode method ndrLong.encode(mockNdrBuffer); // Verify that enc_ndr_long was called exactly once with the correct value verify(mockNdrBuffer, times(1)).enc_ndr_long(testValue); // Verify that no other interactions occurred with the mock buffer verifyNoMoreInteractions(mockNdrBuffer); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)