- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 982 for verify (0.04 sec)
-
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(Integer.MAX_VALUE, request3.getContextType()); } @Test @DisplayName("Should verify interface is Encodable") void testEncodableInterface() { NegotiateContextRequest request = new TestNegotiateContextRequest(1); // Verify the interface extends Encodable assertNotNull(request); assertTrue(request instanceof jcifs.Encodable); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Act pipe.customizeCreate(req, resp); // Assert: verify interactions with dependencies verify(req, times(1)).addFlags0(0x16); verify(resp, times(1)).setExtended(true); verify(resp, never()).setExtended(false); } @Test @DisplayName("openPipe returns a handle bound to this pipe")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Then: Should create successfully assertNotNull(iterator); assertFalse(iterator.hasNext()); // Empty results // Verify tree handle was acquired verify(treeHandle).acquire(); // Cleanup iterator.close(); } @Test @DisplayName("Constructor should handle workgroup type with non-empty host")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
entry.encode(mockNdrBuffer); // Then: Should encode all fields verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).enc_ndr_long(1); verify(mockNdrBuffer).enc_ndr_short((short) 4); verify(mockNdrBuffer).enc_ndr_short((short) 6); verify(mockNdrBuffer).enc_ndr_referent(entry.name.buffer, 1); } @Test
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/smb1/smb1/TransTransactNamedPipeResponseTest.java
int result = response.readDataWireFormat(buffer, bufferIndex, len); // Verify the result assertEquals(len, result, "readDataWireFormat should return the length of data read."); // Verify that the receive method on the input stream was called exactly once verify(mockPipeIn, times(1)).receive(buffer, bufferIndex, len); } /** * Tests the toString method.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
void testGetRequestRaw() { // Verify getRequestRaw returns the exact same array instance byte[] requestBuffer = negotiation.getRequestRaw(); assertSame(testRequestBuffer, requestBuffer); // Verify multiple calls return the same instance assertSame(requestBuffer, negotiation.getRequestRaw()); // Verify content is correct
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
.gitignore
stage/ .sia_temp/ config.json node_modules/ mc.* s3-check-md5* xl-meta* healing-* inspect*.zip 200M* hash-set minio.RELEASE* mc nancy inspects/* .bin/ *.gz docs/debugging/s3-verify/s3-verify docs/debugging/xl-meta/xl-meta docs/debugging/s3-check-md5/s3-check-md5 docs/debugging/hash-set/hash-set docs/debugging/healing-bin/healing-bin docs/debugging/inspect/inspect
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 802 bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
crawlerThread.run(); verify(urlQueueService, times(1)).poll(anyString()); } /** * Test run method with crawler status DONE. */ public void test_run_statusDone() throws Exception { crawlerContext.setStatus(CrawlerStatus.DONE); crawlerThread.run(); verify(urlQueueService, times(0)).poll(anyString()); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// we need to catch it to verify that pipe.close() was still called try { handle.close(); fail("Expected IOException to be thrown"); } catch (IOException e) { assertEquals("Handle close failed", e.getMessage()); } verify(mockSmbPipeHandleInternal).close();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
// Unwrap then close both CustomSmbTree unwrapped = smbTree.unwrap(CustomSmbTree.class); smbTree.close(); unwrapped.close(); verify(smbTree).unwrap(CustomSmbTree.class); verify(smbTree).close(); verify(customTree).close(); } /** * Custom SmbTree interface for testing unwrap functionality. */ interface CustomSmbTree extends SmbTree {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0)