- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,051 for Verify (0.07 seconds)
-
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()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
} } }; assertDoesNotThrow(() -> networkExplorer.init(servletConfig)); // Verify parameter reading verify(servletConfig).getInitParameter("jcifs.smb.client.domain"); verify(servletConfig).getInitParameter("jcifs.http.enableBasic"); } /** * Test doGet with no authentication - should return 401 */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
// Test isUseTimeZoneHandling() method @Test public void test_isUseTimeZoneHandling() { // Verify that time zone handling is disabled assertFalse(provider.isUseTimeZoneHandling()); } // Test isAcceptCookieTimeZone() method @Test public void test_isAcceptCookieTimeZone() { // Verify that cookie time zone is not accepted assertFalse(provider.isAcceptCookieTimeZone()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Verify bytes written (encode returns 40, which includes 4 padding bytes) assertEquals(40, bytesWritten); // Create a new FileBasicInfo and decode to verify encoding FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, startIndex, 36); // decode only reads 36 bytes // Verify the values match after round-tripCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
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));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
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)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) { assertNotNull(handle); // Verify that sendrecv was called with MsrpcSamrConnect4 verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class)); verify(mockHandle, never()).sendrecv(any(MsrpcSamrConnect2.class)); } } @Test void testConstructor_NullServer() throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegates when(treeConnection.getConfig()).thenReturn(config); assertSame(config, handle.getConfig()); verify(treeConnection).getConfig(); // isConnected delegatesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Execute List<FileNotifyInformation> result = watchHandle.watch(); // Verify assertNotNull(result); assertEquals(3, result.size()); assertEquals(fileNotifyInfo1, result.get(0)); assertEquals(fileNotifyInfo2, result.get(1)); assertEquals(fileNotifyInfo3, result.get(2)); verify(watchHandle, times(1)).watch(); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (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 capabilitiesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0)