- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 541 for handling (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java
import org.codelibs.fess.crawler.entity.RequestData; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; /** * Test class for FessCrawlerThread. * Tests HTTP status code constants, null handling, and anchor processing. */ public class FessCrawlerThreadTest extends UnitFessTestCase { @Test public void test_getClientRuleList() { FessCrawlerThread crawlerThread = new FessCrawlerThread();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
return; } // Should handle null keywords gracefully assertNotNull(functionBuilders); } catch (Exception e) { // May throw exception due to null handling assertNotNull(e); } } @Test public void test_keyMatchHelper_constructor() { KeyMatchHelper helper = new KeyMatchHelper(); assertNotNull(helper); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.4K bytes - Click Count (0) -
tests/embedded_struct_test.go
} } type Content struct { Content interface{} `gorm:"type:String"` } func (c Content) Value() (driver.Value, error) { // mssql driver with issue on handling null bytes https://github.com/denisenkom/go-mssqldb/issues/530, b, err := json.Marshal(c) return string(b[:]), err } func (c *Content) Scan(src interface{}) error { var value ContentCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
@DisplayName("Test verify failed state") void testVerifyFailedState() { assertFalse(testBlock.isVerifyFailed()); } @Test @DisplayName("Test raw payload handling") void testRawPayloadHandling() { byte[] payload = new byte[] { 1, 2, 3, 4, 5 }; assertNull(testBlock.getRawPayload()); assertFalse(testBlock.isRetainPayload());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(newState, entry.getLeaseState()); assertEquals(initialEpoch + 1, entry.getEpoch()); assertFalse(entry.isBreaking()); // Should be false after break handling completes } @Test @DisplayName("Should release lease") void testReleaseLease() { String path = "/share/file.txt"; int requestedState = Smb2LeaseState.SMB2_LEASE_READ_HANDLE;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Act + Assert assertThrows(NullPointerException.class, () -> SmbCopyUtil.openCopyTargetFile(dest, SmbConstants.ATTR_NORMAL, false)); } // --- Tests for copyFile exception handling branch --- @Nested class CopyFileExceptions { private SmbTreeHandleImpl newTreeHandle(boolean isSmb2) throws Exception { SmbTreeHandleImpl th = mock(SmbTreeHandleImpl.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
// Test commit on both callback1.commit(); callback2.commit(); } @Test public void test_store_with_null_parameters() { // Test handling of null parameters IndexUpdateCallback callback = new IndexUpdateCallback() { private boolean storeCalledWithNull = false; @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
* @param principalName Server principal name * @param encType Encryption type * @param encryptedData Encrypted data * @param unknownTag Optional unknown tag number to test error handling * @return A byte array representing the ticket * @throws IOException on encoding error */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
assertTrue(Files.exists(parentPom), "Parent POM should exist"); assertTrue(Files.exists(modulePom), "Module POM should exist"); } } @Nested @DisplayName("Error Handling") class ErrorHandlingTests { @Test @DisplayName("should handle missing POM gracefully") void shouldHandleMissingPomGracefully() throws Exception {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
// Test a regular property that passes through String value = fessConfig.get("domain.title"); assertEquals("Test Fess", value); } // Test null property handling @Test public void test_get_nullProperty() { // Test getting non-existent property try { fessConfig.get("non.existent.property");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0)