Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,056 for fails (0.02 sec)

  1. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * executor promptly, or else the returned {@code ListenableFuture} may fail to work. The task's
       * execution consists of blocking until the input future is {@linkplain Future#isDone() done}, so
       * each call to this method may claim and hold a thread for an arbitrary length of time. Use of
       * bounded executors or other executors that may fail to execute a task promptly may result in
       * deadlocks.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

        System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f)
        try {
          call.execute().use { response ->
            System.out.printf(
              "%.2f Call was expected to fail, but completed: %s%n",
              (System.nanoTime() - startNanos) / 1e9f,
              response,
            )
          }
        } catch (e: IOException) {
          System.out.printf(
            "%.2f Call failed as expected: %s%n",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava-gwt/src/com/google/common/cache/Cache.gwt.xml

        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

    class UrlSourceTest {
    
        @Test
        void testUrlSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

        )
        p.text += "\n      probably caused the Kokoro invocation to fail."
      else:
        p.text += (
            "\n      Since there were not three failures, this is probably a flake."
        )
        p.text += (
            "\n      Flakes make this pkg/pip_and_nonpip_tests target show "
            "as failing,"
        )
        p.text += "\n      but do not make the Kokoro invocation fail."
    
    os.makedirs(os.path.dirname(sys.argv[2]), exist_ok=True)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/main/webapp/js/search.js

                $favoritedCount.css("display", "none");
                $favorite.fadeOut(1000, function() {
                  $favorited.fadeIn(1000);
                });
              }
            })
            .fail(function(data) {
              $favorite.attr("href", "#" + docId);
              // alert(JSON.stringify(data));
            });
        }
        $(this).attr("href", "#");
        return false;
      });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/StringCatcher.java

      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
      public List<String> getEvents() {
        return events;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        @Test
        void testFileSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            CloseableUtil.closeQuietly(bis);
            assertEquals("Shift_JIS", encoding);
        }
    
        public void test_getHtml_null() {
            try {
                htmlExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

    package okhttp3.internal.http
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import assertk.fail
    import java.io.IOException
    import java.net.ServerSocket
    import java.net.Socket
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import javax.net.ServerSocketFactory
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top