- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 615 for EXPECTED (0.17 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
protocolHelper.init(); try { protocolHelper.isValidWebProtocol(null); fail("Should throw exception for null URL"); } catch (Exception e) { // Expected assertNotNull(e); } } @Test public void test_isValidFileProtocol_nullUrl() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 35.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
// generateWaitForWhenNotOccupyingTestCase). monitor1.enter(); } try { method.invoke(monitor1, arguments.toArray()); fail("expected IllegalMonitorStateException"); } catch (InvocationTargetException e) { assertThat(e.getTargetException()).isInstanceOf(IllegalMonitorStateException.class); } finally {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteStreams.java
checkNotNull(in); return toByteArrayInternal(in, new ArrayDeque<byte[]>(TO_BYTE_ARRAY_DEQUE_SIZE), 0); } /** * Reads all bytes from an input stream into a byte array. The given expected size is used to * create an initial byte array, but if the actual number of bytes read from the stream differs, * the correct result will be returned anyway. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input)); } @GwtIncompatible // Floats.tryParse private static void checkTryParse(float expected, String input) { assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected)); } @GwtIncompatible // Floats.tryParse public void testTryParseHex() { for (String signChar : ImmutableList.of("", "+", "-")) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
assertThat(Floats.tryParse(input)).isEqualTo(referenceTryParse(input)); } @GwtIncompatible // Floats.tryParse private static void checkTryParse(float expected, String input) { assertThat(Floats.tryParse(input)).isEqualTo(Float.valueOf(expected)); } @GwtIncompatible // Floats.tryParse public void testTryParseHex() { for (String signChar : ImmutableList.of("", "+", "-")) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.resolveType(subtype)); } public <T> void testWhere_mapFromBoundedWildcard() { Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture(); // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873 Type unused = new TypeResolver() .where( new TypeCapture<Map<Integer, T>>() {}.capture(),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
TestHttpServletResponse response = new TestHttpServletResponse(); TestFilterChain chain = new TestFilterChain(); try { manager.process(request, response, chain); fail("Expected ServletException"); } catch (ServletException e) { assertEquals("Test error", e.getMessage()); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Throwables.java
* Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link * ClassCastException}'s cause. * * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code * ClassCastException}'s cause is {@code throwable}. * @since 22.0 */ @GwtIncompatible // Class.cast(Object) public static <X extends Throwable> @Nullable X getCauseAs(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumMultiset.java
* either a NullPointerException or a ClassCastException as appropriate. */ private void checkIsE(Object element) { checkNotNull(element); if (!isActuallyE(element)) { throw new ClassCastException("Expected an " + type + " but got " + element); } } @Override int distinctElements() { return distinctElements; } @Override public int size() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
@GwtCompatible public final class MinMaxPriorityQueue<E> extends AbstractQueue<E> { /** * Creates a new min-max priority queue with default settings: natural order, no maximum size, no * initial contents, and an initial expected size of 11. */ public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() { return new Builder<Comparable<E>>(Ordering.natural()).create(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0)