- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 238 for Unexpected (0.04 sec)
-
docs/recipes.md
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
try { webApiFilter.doFilter(request, response, chain); fail("Expected IOException"); } catch (IOException e) { assertEquals("Test IOException", e.getMessage()); } catch (ServletException e) { fail("Unexpected ServletException: " + e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
.post(ProgressRequestBody(requestBody, progressListener)) .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } private class ProgressRequestBody( private val delegate: RequestBody, private val progressListener: ProgressListener,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
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 Throwable cause = e.getCause(); assertNotNull(cause); }
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/timer/SystemMonitorTargetTest.java
// Instead of directly calling expired() which may fail due to system dependencies // in test environments, we test that the method exists and can be invoked // without throwing unexpected exceptions try { // Create a new instance to ensure clean state SystemMonitorTarget testTarget = new SystemMonitorTarget(); // Try to call the expired method
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
.post(new ProgressRequestBody(requestBody, progressListener)) .build(); Response response = client.newCall(request).execute(); if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } public static void main(String... args) throws Exception { new UploadProgress().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
public void testContainsAll_sameComparator_stringVsInt() { SortedSet<String> set = of("a", "b", "f"); SortedSet<Integer> unexpected = Sets.newTreeSet(Ordering.natural()); unexpected.addAll(asList(1, 2, 3)); assertFalse(set.containsAll(unexpected)); } public void testContainsAll_differentComparator() { Comparator<Comparable<?>> comparator = Collections.reverseOrder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
// Test valueOf with invalid name throws exception try { SsoResponseType.valueOf("INVALID"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("INVALID")); } } public void test_valueOf_null() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i> * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you * should override {@code equals} as well, either providing your own implementation, or delegating * to the provided {@code standardEquals} method. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
*/ public void test_extendsUserMessages() { assertTrue(org.lastaflute.core.message.UserMessages.class.isAssignableFrom(FessLabels.class)); } /** * Test field count to ensure no unexpected fields are added */ public void test_fieldCount() throws Exception { Field[] fields = FessLabels.class.getDeclaredFields(); int labelConstantCount = 0; int serialVersionUIDCount = 0;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0)