Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 726 for fail (0.13 sec)

  1. 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.
    
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) in.readObject();
        } catch (IOException | ClassNotFoundException e) {
          Helpers.fail(e, e.getMessage());
        }
        throw new AssertionError("not reachable");
      }
    
      @Override
      public SampleElements<E> samples() {
        return delegate.samples();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. guava-gwt/test/com/google/common/collect/testing/google/Google.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.
    
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

        assertFalse(multimap().containsValue(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsNullValueFails() {
        try {
          multimap().containsValue(null);
          fail("Expected NullPointerException");
        } catch (NullPointerException expected) {
          // success
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Nov 16 17:41:24 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java

      public void testNegativeK() {
        try {
          TopKSelector.<String>least(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          TopKSelector.<String>greatest(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          TopKSelector.least(-1, Ordering.natural());
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/RangeTest.java

          range.lowerEndpoint();
          fail();
        } catch (IllegalStateException expected) {
        }
        try {
          range.lowerBoundType();
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      private static void assertUnboundedAbove(Range<Integer> range) {
        assertFalse(range.hasUpperBound());
        try {
          range.upperEndpoint();
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        try {
          builder.add((String) null);
          fail("expected NullPointerException");
        } catch (NullPointerException expected) {
        }
      }
    
      public void testBuilderAddAllHandlesNullsCorrectly() {
        ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
        try {
          builder.addAll((Collection<String>) null);
          fail("expected NullPointerException");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 21K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

    public class QueueRemoveTester<E> extends AbstractQueueTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRemove_empty() {
        try {
          getQueue().remove();
          fail("emptyQueue.remove() should throw");
        } catch (NoSuchElementException expected) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

    import static junit.framework.Assert.fail;
    
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    final class TestPlatform {
      static void verifyGetOnPendingFuture(Future<?> future) {
        try {
          future.get();
          fail();
        } catch (Exception e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Nov 26 19:19:13 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        try {
          builder.put(null, 1);
          fail();
        } catch (NullPointerException expected) {
        }
        try {
          builder.putAll(null, Arrays.asList(1, 2, 3));
          fail();
        } catch (NullPointerException expected) {
        }
        try {
          builder.putAll(null, 1, 2, 3);
          fail();
        } catch (NullPointerException expected) {
        }
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top