- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 360 for captcha (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
K unmappedKey; try { map = makePopulatedMap(); unmappedKey = getKeyNotInPopulatedMap(); } catch (UnsupportedOperationException e) { return; } assertFalse(map.containsKey(unmappedKey)); try { assertFalse(map.containsKey(new IncompatibleKeyType())); } catch (ClassCastException tolerated) { } assertTrue(map.containsKey(map.keySet().iterator().next()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
collection.add(sampleElement); fail("add succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(copy, collection); try { collection.addAll(siblingCollection); fail("addAll succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
bestGetCheckedTypeValidator().validateClass(exceptionClass); try { return future.get(timeout, unit); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (TimeoutException e) { throw newWithCause(exceptionClass, e); } catch (ExecutionException e) { wrapAndThrowExceptionOrError(e.getCause(), exceptionClass); throw new AssertionError();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
options.sessionId = "test-session"; try { int result = errorCrawler.doCrawl(options); // Should catch the exception and return EXIT_FAIL assertEquals(Constants.EXIT_FAIL, result); } catch (RuntimeException e) { // Expected behavior - test exception propagates assertEquals("Test exception", e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
String expectedMessage = "Theme loading error"; try { throw new ThemeException(expectedMessage); } catch (ThemeException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught ThemeException, but caught: " + e.getClass()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
} catch (UnsupportedOperationException expected) { } } private void assertSetCountDecreasingFailure(E element, int count) { try { setCountNoCheckReturnValue(element, count); fail("a call to multiset.setCount() to decrease an element's count should throw"); } catch (UnsupportedOperationException expected) { } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
// Test that initializeProbes doesn't throw exception try { ThumbnailGenerator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } public void test_main_withHelp() { // Test main method with help option
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
fail(); } catch (TimeoutException expected) { } catch (ExecutionException e) { throw new AssertionError(e); } } static void verifyTimedGetOnPendingFuture(Future<?> future) { try { getUninterruptibly(future, 0, SECONDS); fail(); } catch (TimeoutException expected) { } catch (ExecutionException e) { throw new AssertionError(e); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
bw.flush(); } catch (IOException e) { throw new IORuntimeException(e); } }).execute()) { if (logger.isDebugEnabled()) { logger.debug("Bulk Response:\n{}", response.getContentAsString()); } systemHelper.reloadConfiguration(resetJobs.get()); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0)