- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 876 for Fail (0.01 sec)
-
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
private UncaughtExceptionHandlers() {} /** * Returns an exception handler that exits the system. This is particularly useful for the main * thread, which may start up other, non-daemon threads, but fail to fully initialize the * application successfully. * * <p>Example usage: * * <pre> * public static void main(String[] args) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
updateItem2.setNewOutput("r"); // First update should succeed charMappingFile.update(updateItem1); // Second update should fail due to mismatch try { charMappingFile.update(updateItem2); fail("Should throw DictionaryException"); } catch (DictionaryException e) { assertTrue(e.getMessage().contains("Mapping file was updated")); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// If it doesn't throw, it should only skip what's available assertEquals(3, skipped); } catch (IOException e) { // This is also acceptable behavior - skip may fail when it runs out of data assertTrue(e.getMessage().contains("unexpected EOF")); } } @Test @DisplayName("Keep-alive packets are transparently skipped")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
doc/godebug.md
[`tlsmlkem` setting](/pkg/crypto/tls/#Config.CurvePreferences). This can be useful when dealing with buggy TLS servers that do not handle large records correctly, causing a timeout during the handshake (see [TLS post-quantum TL;DR fail](https://tldr.fail/)). Go 1.24 also removed X25519Kyber768Draft00 and the Go 1.23 `tlskyber` setting. Go 1.24 made [`ParsePKCS1PrivateKey`](/pkg/crypto/x509/#ParsePKCS1PrivateKey)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jul 08 18:30:38 UTC 2025 - 22.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
try { ByteStreams.exhaust(decodingStream); fail("Expected DecodingException"); } catch (DecodingException expected) { // Don't assert on the expectedMessage; the messages for exceptions thrown from the // decoding stream may differ from the messages for the decode methods. } catch (IOException e) { fail("Expected DecodingException but got: " + e); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
// The job should handle the exception internally but since QueryBuilders.rangeQuery // throws immediately with empty field name, we need to catch it here fail("Expected an exception for empty field name"); } catch (IllegalArgumentException e) { // Expected exception for empty field name assertTrue(e.getMessage().contains("field name is null or empty"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
} catch (AssertionFailedError expected) { for (String message : expectedMessages) { assertThat(expected).hasMessageThat().contains(message); } return; } fail("expected failure not reported"); } private class ForwardingRunnable implements Runnable { private final Runnable runnable; ForwardingRunnable(Runnable runnable) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
tests/associations_test.go
} region := &Region{Name: "Region1"} if err := DB.Create(region).Error; err != nil { t.Fatalf("fail to create region %v", err) } var orgs []Organization if err := DB.Model(&Region{}).Association("Organizations").Find(&orgs); err != nil { t.Fatalf("fail to find region organizations %v", err) } else { AssertEqual(t, len(orgs), 0) } } type AssociationEmptyUser struct {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
public Integer call() throws Exception { runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); } return 25; } }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java
foo.setDuplicateHostName("foo.com"); duplicateHostHelper.duplicateHostList.add(foo); DuplicateHost bar = new DuplicateHost(); bar.setRegularName("www.bar.com"); bar.setDuplicateHostName("mail.bar.com"); duplicateHostHelper.duplicateHostList.add(bar); DuplicateHost hoge = new DuplicateHost(); hoge.setRegularName("www.foo.com"); hoge.setDuplicateHostName("www.foo.com:99");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 6.6K bytes - Viewed (0)