- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 863 for verifyCn (0.04 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
// Verify search attributes (masked with 0x37) assertEquals(0x37, SMBUtil.readInt2(buffer, 0)); // Verify max items assertEquals(100, SMBUtil.readInt2(buffer, 2)); // Verify flags (should be 0x00) assertEquals(0x00, SMBUtil.readInt2(buffer, 4)); // Verify information level (SMB_FILE_BOTH_DIRECTORY_INFO)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
ace.getAccessMask(); // Different methods called ace.isAllow(); ace.getFlags(); verify(ace, times(2)).getAccessMask(); verify(ace, times(1)).isAllow(); verify(ace, times(1)).getFlags(); } } @Nested @DisplayName("Real-world Usage Scenarios") class RealWorldUsageTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length); // Decode int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length); // Verify results assertEquals(namedPipeState, response.getNamedPipeState()); assertEquals(readDataAvailable, response.getReadDataAvailable()); assertEquals(numberOfMessages, response.getNumberOfMessages());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
NdrSmall ndrSmall = new NdrSmall(0); // Call the decode method ndrSmall.decode(mockNdrBuffer); // Verify that dec_ndr_small was called verify(mockNdrBuffer, times(1)).dec_ndr_small(); // Verify that the value field was updated correctly assertEquals(decodedValue, ndrSmall.value, "Value should be updated after decoding.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Assertions.assertEquals(19L, s); Mockito.verify(mock, Mockito.times(1)).getAttributes(); Mockito.verify(mock, Mockito.times(1)).getCreateTime(); Mockito.verify(mock, Mockito.times(1)).getLastWriteTime(); Mockito.verify(mock, Mockito.times(1)).getLastAccessTime(); Mockito.verify(mock, Mockito.times(1)).getSize(); Mockito.verifyNoMoreInteractions(mock); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// Verify lengths assertEquals(2, setupWritten); assertEquals(6, paramWritten); assertEquals(56, dataWritten); // 50 + 6 padding // Verify setup content assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, setupBuffer[0]); assertEquals(0x00, setupBuffer[1]); // Verify parameter content
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>()); queryContext = new QueryContext("test", true); assertEquals("test", queryContext.getQueryString()); // Verify that highlighting and field log are initialized assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES)); assertNotNull(getMockRequest().getAttribute(Constants.FIELD_LOGS)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.sendFrame().settings(Settings()) peer.acceptFrame() // ACK peer.sendFrame().ping(false, 2, 3) peer.acceptFrame() // PING peer.play() // Play it back. connect(peer) // Verify the peer received what was expected. val ping = peer.takeFrame() assertThat(ping.type).isEqualTo(Http2.TYPE_PING) assertThat(ping.streamId).isEqualTo(0) assertThat(ping.payload1).isEqualTo(2)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
} @Test @DisplayName("Test constructor with Configuration") void testConstructor() { assertNotNull(response); // Verify configuration is set through parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test readParameterWordsWireFormat with zero setup count")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
try { ThreadDumpUtil.writeThreadDump(tempFile.toString()); // Verify the file was created and contains content assertTrue("Thread dump file should exist", Files.exists(tempFile)); assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0); // Verify the content contains thread information
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0)