Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,333 for scratch (0.24 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      public void testNullsOnReturnValues_returnTypeFiltered() throws Exception {
        try {
          tester
              .forAllPublicStaticMethods(BadNullsFactory.class)
              .thatReturn(Iterable.class)
              .testNulls();
        } catch (AssertionError expected) {
          assertThat(expected)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            ComponentUtil.register(new MockRoleQueryHelper(), "roleQueryHelper");
        }
    
        public void test_init() {
            try {
                labelTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_load() {
            int result = labelTypeHelper.load();
            assertTrue(result >= 0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

        try {
          future.get();
          fail();
        } catch (Exception e) {
          assertThat(e).isInstanceOf(IllegalStateException.class);
          assertThat(e).hasMessageThat().isEqualTo("Cannot get() on a pending future.");
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
          future.get(0, SECONDS);
          fail();
        } catch (Exception e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

              ? future.get(timeoutDuration, timeoutUnit)
              : getUninterruptibly(future, timeoutDuration, timeoutUnit);
        } catch (InterruptedException e) {
          future.cancel(true);
          throw e;
        } catch (ExecutionException e) {
          throw throwCause(e, true /* combineStackTraces */);
        } catch (TimeoutException e) {
          future.cancel(true);
          throw new UncheckedTimeoutException(e);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            String errorMessage = "LDAP server not reachable";
    
            try {
                throw new LdapConfigurationException(errorMessage);
            } catch (LdapConfigurationException e) {
                assertEquals(errorMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught LdapConfigurationException");
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          putMethod.invoke(null, sslSocket, alpnProvider)
        } catch (e: InvocationTargetException) {
          throw AssertionError("failed to set ALPN", e)
        } catch (e: IllegalAccessException) {
          throw AssertionError("failed to set ALPN", e)
        }
      }
    
      override fun afterHandshake(sslSocket: SSLSocket) {
        try {
          removeMethod.invoke(null, sslSocket)
        } catch (e: IllegalAccessException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

                        Thread.sleep(pollInterval);
    
                    } catch (InterruptedException e) {
                        log.debug("Async notification monitoring interrupted for {}", registrationId);
                        Thread.currentThread().interrupt();
                        break;
                    } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            try {
                jobHelper.register((ScheduledJob) null);
                fail("Should throw ScheduledJobException");
            } catch (ScheduledJobException e) {
                assertEquals("No job.", e.getMessage());
            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/Config.java

                    in = new FileInputStream(filename);
                }
                Config.load(in);
                if (in != null) {
                    in.close();
                }
            } catch (final IOException ioe) {
                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
                }
            }
    
            level = Config.getInt("jcifs.smb1.util.loglevel", -1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readByte();
          } catch (EOFException e) {
            throw new IllegalStateException(e);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public int readUnsignedByte() {
          try {
            return input.readUnsignedByte();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top