- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 991 for captcha (0.05 sec)
-
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
* constructor. */ public void testAddEqualObjectWithOArgConstructor() { equalsTester.addEqualityGroup(equalObject1, notEqualObject1); try { equalsTester.testEquals(); } catch (AssertionFailedError e) { assertErrorMessage( e, equalObject1 + " [group 1, item 1] must be Object#equals to " + notEqualObject1 + " [group 1, item 2]");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
checkNotNull(callable); checkNotNull(timeoutUnit); try { return callable.call(); } catch (RuntimeException e) { throw new UncheckedExecutionException(e); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throw new ExecutionException(e); } catch (Error e) { throw new ExecutionError(e); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
*/ public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException { assertArgumentNotNull("ps", ps); try { return ps.executeQuery(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Executes the update. * * @param ps
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.9K 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/util/WebApiUtilTest.java
WebApiUtil.setObject("testKey", "testValue"); } catch (Exception e) { fail("setObject should handle missing request gracefully: " + e.getMessage()); } } public void test_setObject_withNullName() { // Test setObject with null name try { WebApiUtil.setObject(null, "testValue"); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
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) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
try { getMap().replace(k3(), null); } catch (NullPointerException tolerated) { // permitted not to throw because it would be a no-op } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEY_QUERIES) public void testReplace_absentNullKeyUnsupported() { try { getMap().replace(null, v3()); } catch (NullPointerException tolerated) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K 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/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)