Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 878 for Verify (0.03 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            // Then - verify all operations
            assertEquals(mid, messageBlock.getMid());
            assertEquals(command, messageBlock.getCommand());
            assertEquals(digest, messageBlock.getDigest());
            assertEquals(response, messageBlock.getResponse());
    
            // Reset and verify
            messageBlock.reset();
            verify(messageBlock).reset();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            String scriptType = "test";
            String script = "test script content";
            Object result = scriptExecutor.execute(scriptType, script);
    
            // Verify result
            assertEquals("processed: test script content", result);
    
            // Verify executor was passed in params
            Map<String, Object> lastParams = testScriptEngine.getLastParams();
            assertNotNull(lastParams);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Assert
            assertSame(handle, result, "Should return handle after retry");
            // Verify we removed READONLY on the path before retrying
            verify(dest).setPathInformation(currentAttrs & ~SmbConstants.ATTR_READONLY, 0L, 0L, 0L);
            verify(dest, times(2)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertEquals(8, bytesWritten);
    
            // Verify completion filter (4 bytes)
            assertEquals(completionFilter, SMBUtil.readInt4(dst, dstIndex));
    
            // Verify FID (2 bytes)
            assertEquals(fid, SMBUtil.readInt2(dst, dstIndex + 4));
    
            // Verify watchTree flag (1 byte)
            assertEquals(0x00, dst[dstIndex + 6]);
    
            // Verify reserved byte (1 byte)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            int dstIndex = 3; // Start at offset 3
            int bytesEncoded = fileStandardInfo.encode(destinationBuffer, dstIndex);
    
            // Verify
            assertEquals(22, bytesEncoded);
    
            // Verify encoded data
            assertEquals(expectedAllocationSize, SMBUtil.readInt8(destinationBuffer, dstIndex));
            assertEquals(expectedEndOfFile, SMBUtil.readInt8(destinationBuffer, dstIndex + 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            String str = spy.toString();
    
            // Verify all methods were called except toString (Mockito limitation)
            verify(spy).getFileInformationLevel();
            verify(spy).size();
            verify(spy).encode(buffer, 0);
            verify(spy).decode(buffer, 0, 8);
            // Note: Cannot verify toString() with Mockito - it's a special method
    
            // Verify return values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            response.setUid(1000);
            verify(response).setUid(1000);
    
            doNothing().when(response).setExtendedSecurity(true);
            response.setExtendedSecurity(true);
            verify(response).setExtendedSecurity(true);
    
            doNothing().when(response).setSessionId(999L);
            response.setSessionId(999L);
            verify(response).setSessionId(999L);
    
            // Test reset method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            InOrder inOrder = inOrder(handle, fd, tree);
            inOrder.verify(handle, times(1)).ensureOpen();
            inOrder.verify(fd, times(1)).getTree();
            inOrder.verify(tree, times(1)).send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY));
            verify(fd, times(1)).close();
            verify(tree, times(1)).close();
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top