Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Black (0.15 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants.
    
      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
       * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        }
    
        try {
          FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(3);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Full and proper black-box testing of a Stream-returning method is extremely involved, and is
       * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and
       * just test that the toArray() contents are as expected.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple multisets in series.
       *
       * @since 2.0
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *     new ImmutableSortedMultiset.Builder<Bean>(colorComparator())
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple multisets in series.
       *
       * @since 12.0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/StreamsTest.java

    /** Unit test for {@link Streams}. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class StreamsTest extends TestCase {
      /*
       * Full and proper black-box testing of a Stream-returning method is extremely involved, and is
       * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and
       * just test that the toArray() contents are as expected.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
Back to top