Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 615 for EXPECTED (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val call1 = client.newCall(Request(server.url("/")))
        assertFailsWith<IOException> {
          call1.execute()
        }.also { expected ->
          when (expected) {
            is SocketTimeoutException, is SSLException -> {}
    
            else -> {
              throw expected
            }
          }
        }
    
        // The second call times out because it uses the same bad connection.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            Element tr = getChild(thead, "tr");
            List<Element> header = children(tr, "td");
            if (header.size() < 1) {
                throw new RuntimeException(String.format("Expected at least 1 <td> in <thead>/<tr>, found: %s", header));
            }
            Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>();
            List<Element> valueTitles = new ArrayList<Element>();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

                } catch (FileAlreadyExistsException expected) {
                  // if a file already exists, that's fine... just continue
                }
    
                try {
                  method.delete(dirToDelete);
                } catch (FileSystemException expected) {
                  // the delete method may or may not throw an exception, but if it does that's fine
                  // and expected
                }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        List<E> expected = copyToList(getOrderedElements());
        assertEquals("Different ordered iteration", expected, iteratorElements);
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testIterator_nullElement() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

         */
        public void testCreateCustomFilter_NullPatterns() {
            try {
                SerializeUtil.createCustomFilter(null);
                fail("Expected IllegalArgumentException");
            } catch (final IllegalArgumentException e) {
                // Expected
            }
        }
    
        /**
         * Test serialization with empty array
         *
         * @throws Exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        assertBitEquals(1.0, at.get());
        for (double x : VALUES) {
          at.lazySet(x);
          assertBitEquals(x, at.get());
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
        for (double x : VALUES) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java

      public void testFailsToForward() {
        try {
          ForwardingObjectTester.testForwardingObject(FailToForward.class);
        } catch (AssertionError | UnsupportedOperationException expected) {
          // UnsupportedOperationException is what we see on Android.
          return;
        }
        fail("Should have thrown");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

    public class CollectionStreamTester<E> extends AbstractCollectionTester<E> {
      /*
       * We're not really testing the implementation of Stream, only that we're getting a Stream
       * that corresponds to the expected elements.
       */
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testStreamToArrayUnknownOrder() {
        Helpers.assertEqualIgnoringOrder(getSampleElements(), asList(collection.stream().toArray()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            val peekedHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected a value at $reader")
    
            val choice =
              choices.firstOrNull { it.matches(peekedHeader) }
                ?: throw ProtocolException(
                  "expected a matching choice but was $peekedHeader at $reader",
                )
    
            return choice to choice.fromDer(reader)
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    if (logger.isDebugEnabled()) {
                        logger.warn("Failed to parse max_access_count: '{}'. Expected: integer value", maxAccessCount, e);
                    } else {
                        logger.warn("Failed to parse max_access_count: '{}'. Expected: integer value", maxAccessCount);
                    }
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
Back to Top