Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 882 for verifyCn (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                int totalBytes = copy.encode(buffer, 0);
    
                // Then
                assertEquals(HEADER_SIZE + 20 + 24 + 22, totalBytes);
                verify(mockChunk1).encode(buffer, HEADER_SIZE);
                verify(mockChunk2).encode(buffer, HEADER_SIZE + 20);
                verify(mockChunk3).encode(buffer, HEADER_SIZE + 20 + 24);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. .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)
  8. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                    buffer.encode(dst, 0);
    
                    // Verify SMBUtil.writeInt2 was called for referral level (with long parameter)
                    mockedSMBUtil.verify(() -> SMBUtil.writeInt2(eq((long) maxReferralLevel), any(byte[].class), eq(0)));
                    // Verify SMBUtil.writeInt2 was called for null terminator
                    mockedSMBUtil.verify(() -> SMBUtil.writeInt2(eq(0L), any(byte[].class), anyInt()));
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            } catch (Exception e) {
                // It's ok if it fails, we just want to verify reset was called
            }
    
            // Request/response reset should happen on retry
            verify(req, atLeastOnce()).reset();
            verify(resp, atLeastOnce()).reset();
            // Verify disconnect was called on retry
            verify(c, atLeastOnce()).disconnect(eq(true));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Verify resumeKey (4 bytes)
            assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6));
    
            // Verify tflags (2 bytes) - should be 0x00
            assertEquals(0x00, SMBUtil.readInt2(buffer, 10));
    
            // Verify filename
            String actualFilename = readString(buffer, 12, written - 12);
            assertEquals(TEST_FILENAME, actualFilename);
    
            // Verify total bytes written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top