- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,467 for Results (0.04 sec)
-
src/test/java/jcifs/smb/FileEntryTest.java
@Test @DisplayName("Calling a method on null reference throws NPE") void nullReference_throwsNPE() { // Arrange FileEntry e = null; // Act & Assert: demonstrate invalid usage results in NPE assertThrows(NullPointerException.class, () -> e.getName()); } @Nested @DisplayName("Mockito stubbing for edge cases") class MockitoEdgeCases { @Test
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/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
int result = response.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = response.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); // Test with zero length result = response.readSetupWireFormat(buffer, 0, 0); assertEquals(0, result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
digest.update(data1, 0, data1.length); byte[] result1 = digest.digest(); assertNotNull(result1); // Second cycle byte[] data2 = new byte[] { 0x05, 0x06, 0x07, 0x08 }; digest.update(data2, 0, data2.length); byte[] result2 = digest.digest(); assertNotNull(result2); // Results should be different due to different input
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/org/codelibs/fess/rank/fusion/SearchResultTest.java
SearchResult result2 = builder2.build(); // First result should have 1 document assertEquals(1, result1.getDocumentList().size()); assertEquals(1L, result1.getAllRecordCount()); // Second result should have 2 documents assertEquals(2, result2.getDocumentList().size()); assertEquals(2L, result2.getAllRecordCount()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
}); } /** * Searches key matches based on the form criteria. * * @param form the search form * @return HTML response for the search results */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse search(final SearchForm form) { copyBeanToBean(form, keyMatchPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(0) } @Test fun callIpv6WhenBothServersAreReachable() { // Flip DNS results to prefer IPv6. dnsResults = listOf( localhostIpv6, localhostIpv4, ) serverIpv4.enqueue( MockResponse(body = "unexpected call to IPv4"), )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/SidResolver.java
*/ public interface SidResolver { /** * Resolve an array of SIDs using a cache and at most one MSRPC request. * <p> * This method will attempt * to resolve SIDs using a cache and cache the results of any SIDs that * required resolving with the authority. SID cache entries are currently not * expired because under normal circumstances SID information never changes. * * @param tc
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
/** * Performs search for duplicate hosts based on form criteria. * * @param form the search form containing search criteria * @return HTML response for the duplicate host list page with search results */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse search(final SearchForm form) { copyBeanToBean(form, duplicateHostPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
try { List<String> configIds = Arrays.asList("id1", "id2"); dataIndexHelper.crawl("test-session", configIds); assertTrue("Should complete quickly with empty results", true); } catch (Exception e) { assertTrue("Exception handling should be fast", true); } } public void test_setCrawlingExecutionInterval() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
@DisplayName("Test toString method") void testToString() { String result = response.toString(); assertNotNull(result); // The toString method includes various parameter information assertTrue(result.contains("totalParameterCount")); assertTrue(result.contains("totalDataCount")); assertTrue(result.contains("dataCount")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0)