Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,880 for unexpected (0.06 seconds)

  1. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        }
    
        // Test execute with exception
        @Test
        public void test_execute_withException() {
            thumbnailJob.numOfThreads(2);
    
            testProcessHelper.throwException = new RuntimeException("Unexpected error");
    
            String result = thumbnailJob.execute();
    
            assertNotNull(result);
            assertNotNull(thumbnailJob.sessionId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

                            // Expected due to null user
                        }
                    } catch (Exception e) {
                        errorOccurred.set(true);
                    } finally {
                        latch.countDown();
                    }
                }).start();
            }
    
            latch.await(10, TimeUnit.SECONDS);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        // Test execute with exception handling
        @Test
        public void test_execute_withException() {
            pythonJob.filename("test.py");
    
            testProcessHelper.throwException = new RuntimeException("Unexpected error");
    
            String result = pythonJob.execute();
    
            assertTrue(result.contains("Session Id:"));
            assertTrue(result.contains("Python Process terminated."));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                token = response.blob;
                            }
    
                            break;
                        default:
                            throw new SmbException("Unexpected session setup state: " + state);
                        }
                    } while (state != 0);
                } catch (final SmbException se) {
                    logoff(true);
                    connectionState = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
        assertFailsWith<IOException> {
          response.body.string()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("unexpected end of stream")
        }
        assertThat(eventRecorder.recordedEventTypes()).containsExactly(
          CallStart::class,
          ProxySelectStart::class,
          ProxySelectEnd::class,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  6. CONTRIBUTING.md

          this clear. You don't need to document a method if it's overriding an
          abstract method (either from an abstract superclass or an interface),
          unless your implementation is doing something "unexpected" e.g. deviating
          from the intent of the original method.
       4. Following on from the above point, please add docs to existing public
          methods if you are editing them, or to abstract methods if you can.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  7. cmd/erasure-healing-common_test.go

    		if _, ok := diskFailures[diskIndex]; ok {
    			if !partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    				t.Errorf("Disk expected to be healed, driveIndex: %d", diskIndex)
    			}
    		} else {
    			if partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    				t.Errorf("Disk not expected to be healed, driveIndex: %d", diskIndex)
    			}
    		}
    	}
    }
    
    func TestCommonParities(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

                  + "expected = "
                  + expected
                  + ", actual = "
                  + actual);
        }
      }
    
      public static void assertContentsInOrder(Iterable<?> actual, Object... expected) {
        assertEqualInOrder(asList(expected), actual);
      }
    
      public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  9. internal/hash/checksum.go

    			checksums = c.WantParts
    		}
    		// Ensure we don't divide by 0:
    		if c.Type.RawByteLen() == 0 || len(parts)%c.Type.RawByteLen() != 0 {
    			hashLogIf(context.Background(), fmt.Errorf("internal error: Unexpected checksum length: %d, each checksum %d", len(parts), c.Type.RawByteLen()))
    			checksums = 0
    			parts = nil
    		} else if len(parts) > 0 {
    			checksums = len(parts) / c.Type.RawByteLen()
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        clientListener.assertOpen()
        val reason = repeat('X', 124)
        assertFailsWith<IllegalArgumentException> {
          webSocket.close(1000, reason)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("reason.size() > 123: $reason")
        }
        webSocket.close(1000, null)
        serverListener.assertClosing(1000, "")
        server.close(1000, null)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top