- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for acceptable (0.99 sec)
-
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
processMethod.setAccessible(true); try { Integer result = (Integer) processMethod.invoke(null, options); // Any result is acceptable as long as no unexpected exception assertNotNull(result); } catch (Exception e) { // Expected behavior when components are not fully initialized
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
// This is also acceptable behavior } } public void test_generateId_withDataMap_edgeCases() { // Test with empty data map Map<String, Object> emptyMap = new HashMap<>(); try { String result = crawlingInfoHelper.generateId(emptyMap); // May throw exception or return result - both acceptable if (result != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 26.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// block for session establishment val sslSocketSession = sslSocket.session val unverifiedHandshake = sslSocketSession.handshake() // Verify that the socket's certificates are acceptable for the target host. if (!address.hostnameVerifier!!.verify(address.url.host, sslSocketSession)) { val peerCertificates = unverifiedHandshake.peerCertificates if (peerCertificates.isNotEmpty()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
} catch (final NullPointerException e) { // This is expected if the implementation requires a non-null context assertTrue("NPE is acceptable for null context in this implementation", true); } } private CustomSize createBasicAnnotation() { return new CustomSize() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
// expected assertTrue(e.getMessage().contains("Not found the classification: null")); } catch (NullPointerException e) { // Also acceptable if null is not handled explicitly } } public void test_findOnMainSchema_alwaysReturnsNull() { // Since the implementation always returns null (no DBFlute classification used),
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
} /** * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in * GWT). This is sometimes acceptable, when only server-side code could generate enough volume * that reclamation becomes important. */ @J2ktIncompatible static MapMaker tryWeakKeys(MapMaker mapMaker) { return mapMaker.weakKeys(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
} /** * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in * GWT). This is sometimes acceptable, when only server-side code could generate enough volume * that reclamation becomes important. */ @J2ktIncompatible static MapMaker tryWeakKeys(MapMaker mapMaker) { return mapMaker.weakKeys(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
} catch (Throwable t) { // In test environments, system monitoring may fail due to missing dependencies // or restricted access to system resources. This is acceptable. // We primarily want to ensure the method can be called without compilation errors // Log the exception for debugging purposes but don't fail the test
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
assertTrue(e.getMessage().contains("Thumbnail Process terminated.")); } catch (NullPointerException e) { // May occur if ServletContext is not fully initialized // This is acceptable in test environment } } // Test executeThumbnailGenerator with timeout public void test_executeThumbnailGenerator_withTimeout() { thumbnailJob.numOfThreads(1);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
* * @return true if the CPU load is within the acceptable range, false otherwise. */ public boolean calibrateCpuLoad() { return calibrateCpuLoad(0L); } /** * Calibrates the CPU load with a timeout. * * @param timeoutInMillis The timeout in milliseconds. * @return true if the CPU load is within the acceptable range, false otherwise. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0)