- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 840 for verifyCn (2.09 sec)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
raf.writeFloat(1.0f); raf.writeDouble(1.0); // Verify length counts - using times() to check exact counts verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(2)); // short and char verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(4)); // int and float verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(8)); // long and double } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
assertEquals(12345L, size); // Verify precise interactions verify(mockEntry, times(1)).getName(); verify(mockEntry, times(2)).getType(); verify(mockEntry, times(1)).getAttributes(); verify(mockEntry, times(1)).createTime(); verify(mockEntry, times(1)).lastModified(); verify(mockEntry, times(1)).lastAccess(); verify(mockEntry, times(1)).length();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
ndrLong.decode(mockNdrBuffer); // Verify that dec_ndr_long was called exactly once verify(mockNdrBuffer, times(1)).dec_ndr_long(); // Verify that the value field was updated correctly assertEquals(decodedValue, ndrLong.value, "Decode should correctly assign the value returned by dec_ndr_long."); // Verify that no other interactions occurred with the mock buffer
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/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test constructor initialization") void testConstructor() { // Verify command and subcommand are set correctly assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transaction.getCommand()); assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand()); // Verify maxDataCount and maxParameterCount are initialized assertTrue(transaction.maxDataCount > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
jcifs.SID[] sids = { mockSid1, mockSid2 }; LsarSidArrayX lsarSidArrayX = new LsarSidArrayX(sids); // Verify num_sids assertEquals(2, lsarSidArrayX.num_sids, "num_sids should match the array length"); // Verify sids array and its contents assertNotNull(lsarSidArrayX.sids, "sids array should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
QueryBuilder result = queryCommand.convertPhraseQuery(context, phraseQuery, 1.0f); assertNotNull(result); assertTrue(result instanceof DefaultQueryBuilder); // Verify query was processed // Note: Field logging behavior depends on implementation } public void test_convertPhraseQuery_singleTerm_defaultField_dismax() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
.github/workflows/go-healing.yml
run: | sudo sysctl net.ipv6.conf.all.disable_ipv6=0 sudo sysctl net.ipv6.conf.default.disable_ipv6=0 make verify-healing make verify-healing-inconsistent-versions make verify-healing-with-root-disks
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/CloseableIteratorTest.java
package jcifs; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.verify; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for CloseableIterator interface functionality */ @DisplayName("CloseableIterator Tests") class CloseableIteratorTest extends BaseTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 964 bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
int dstIndex = 5; // Start at offset 5 int bytesEncoded = fileInternalInfo.encode(destinationBuffer, dstIndex); // Verify assertEquals(8, bytesEncoded); assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, dstIndex)); // Verify surrounding bytes are untouched for (int i = 0; i < dstIndex; i++) { assertEquals(0, destinationBuffer[i]); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
verify(request, times(1)).isResponseAsync(); verify(request, times(1)).getNext(); verify(request, times(1)).split(); verify(request, times(1)).allowChain(nextRequest); verify(request, times(1)).createCancel(); verify(request, times(1)).size(); verify(request, times(1)).getOverrideTimeout(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0)