Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 588 for Gail (0.37 sec)

  1. guava-tests/test/com/google/common/math/LongMathTest.java

          try {
            LongMath.ceilingPowerOfTwo(x);
            fail("Expected IllegalArgumentException");
          } catch (IllegalArgumentException expected) {
          }
        }
      }
    
      public void testFloorPowerOfTwoNegative() {
        for (long x : NEGATIVE_LONG_CANDIDATES) {
          try {
            LongMath.floorPowerOfTwo(x);
            fail("Expected IllegalArgumentException");
          } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertInvariants(map);
          try {
            iterator.remove();
            fail("Expected IllegalStateException.");
          } catch (IllegalStateException expected) {
          }
        } else {
          iterator.next();
          try {
            iterator.remove();
            fail("Expected UnsupportedOperationException.");
          } catch (UnsupportedOperationException expected) {
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
  3. android/guava-tests/test/com/google/common/base/JoinerTest.java

        checkResult(J, ITERABLE_123, "1-2-3");
    
        try {
          J.join(ITERABLE_NULL);
          fail();
        } catch (NullPointerException expected) {
        }
        try {
          J.join(ITERABLE_1_NULL_2);
          fail();
        } catch (NullPointerException expected) {
        }
    
        try {
          J.join(ITERABLE_NULL.iterator());
          fail();
        } catch (NullPointerException expected) {
        }
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        try {
          builder.initialCapacity(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testInitialCapacity_setTwice() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().initialCapacity(16);
        try {
          // even to the same value is not allowed
          builder.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          // One more than maximum value
          UnsignedInts.decode("0xfffffffff");
          fail();
        } catch (NumberFormatException expected) {
        }
    
        try {
          UnsignedInts.decode("-5");
          fail();
        } catch (NumberFormatException expected) {
        }
    
        try {
          UnsignedInts.decode("-0x5");
          fail();
        } catch (NumberFormatException expected) {
        }
    
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      public void testNullListener() {
        try {
          future.addListener(null, directExecutor());
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testNullExecutor() {
        try {
          future.addListener(doNothing(), null);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testNullTimeUnit() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ArrayTableTest.java

        try {
          table.at(1, 3);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(1, -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(3, 2);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(-1, 2);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

        try {
          table.at(1, 3);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(1, -1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(3, 2);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          table.at(-1, 2);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        if (head == null) { // empty list
          head = tail = node;
          keyToKeyList.put(key, new KeyList<K, V>(node));
          modCount++;
        } else if (nextSibling == null) { // non-empty list, add to tail
          // requireNonNull is safe because the list is non-empty.
          requireNonNull(tail).next = node;
          node.previous = tail;
          tail = node;
          KeyList<K, V> keyList = keyToKeyList.get(key);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * message passed to a later invocation of {@code fail()}, like "setCount should throw
       * UnsupportedOperationException."
       */
      abstract void setCountNoCheckReturnValue(E element, int count);
    
      private void assertSetCountIncreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
          fail("a call to multiset.setCount() to increase an element's count should throw");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top