Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 125 for Bailey (0.17 sec)

  1. android/pom.xml

                       https://github.com/google/guava/commit/e06a8cec65815599e510d7f9c1ea9d2a8eaa438a,
                       builds with JDK8 began failing animal-sniffer with the error:
    
                       Failed to check signatures: Bad class file .../CollectionFuture$ListFuture.class
    
                       One way of dealing with that would be to disable
                       animal-sniffer. And that would be fine for our -jre builds:
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

       *       ClassPath} searches the files from the {@code java.class.path} system property.
       * </ul>
       *
       * @throws IOException if the attempt to read class path resources (jar files or directories)
       *     failed.
       */
      public static ClassPath from(ClassLoader classloader) throws IOException {
        ImmutableSet<LocationInfo> locations = locationsFrom(classloader);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST);
      }
    
      private static void assertCastFails(long value) {
        try {
          Shorts.checkedCast(value);
          fail("Cast to short should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterator<String> iterator = skip(set, 2).iterator();
        try {
          iterator.next();
        } catch (NoSuchElementException suppressed) {
          // We want remove() to fail even after a failed call to next().
        }
        try {
          iterator.remove();
          fail("Expected IllegalStateException");
        } catch (IllegalStateException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

            assertThrows(RuntimeException.class, () -> service.startAsync().awaitRunning());
        assertThat(e).hasCauseThat().isSameInstanceAs(exception);
        assertEquals(Service.State.FAILED, service.state());
      }
    
      public void testFunctionalStop_failed() {
        final Exception exception = new Exception("deliberate");
        AbstractIdleService service =
            new DefaultService() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
        public void stopped() {}
    
        /**
         * Called when a component service has {@linkplain State#FAILED failed}.
         *
         * @param service The service that failed.
         */
        public void failure(Service service) {}
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

      static final Exception CHECKED_EXCEPTION = new Exception("mymessage");
      static final Future<String> FAILED_FUTURE_CHECKED_EXCEPTION =
          immediateFailedFuture(CHECKED_EXCEPTION);
      static final RuntimeException UNCHECKED_EXCEPTION = new RuntimeException("mymessage");
      static final Future<String> FAILED_FUTURE_UNCHECKED_EXCEPTION =
          immediateFailedFuture(UNCHECKED_EXCEPTION);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        // An execution exception holds a runtime exception (from throwables.propagate) that holds our
        // original exception.
        assertEquals(service.runException, service.failureCause());
        assertEquals(Service.State.FAILED, service.state());
      }
    
      public void testFailOnExceptionFromStartUp() {
        TestService service = new TestService();
        service.startUpException = new Exception();
        IllegalStateException e =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertFalse(listener.healthyCalled);
        assertState(manager, Service.State.RUNNING, a, c, e);
        assertEquals(ImmutableSet.of(b, d), listener.failedServices);
        assertState(manager, Service.State.FAILED, b, d);
        assertFalse(manager.isHealthy());
    
        manager.stopAsync().awaitStopped();
        assertFalse(manager.isHealthy());
        assertFalse(listener.healthyCalled);
        assertTrue(listener.stoppedCalled);
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("kaboom!");
        executionThread.join();
    
        assertTrue(service.startUpCalled);
        assertEquals(Service.State.FAILED, service.state());
        assertThat(service.failureCause()).hasMessageThat().isEqualTo("kaboom!");
      }
    
      private class ThrowOnStartUpService extends AbstractExecutionThreadService {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top