Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for expectThrows (0.11 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectMissing(e0(), e1(), e2());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRetainAll_emptyPreviouslyNonEmptyUnsupported() {
        expectThrows(empty);
        expectUnchanged();
      }
    
      // retainAll(disjoint)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_disjointPreviouslyEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectMissing(e0(), e1(), e2());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRetainAll_emptyPreviouslyNonEmptyUnsupported() {
        expectThrows(empty);
        expectUnchanged();
      }
    
      // retainAll(disjoint)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_disjointPreviouslyEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CloseablesTest.java

      // parameter. expectThrown determines whether we expect an exception to
      // be thrown by Closeables.close;
      private void doClose(Closeable closeable, boolean swallowException, boolean expectThrown)
          throws IOException {
        try {
          Closeables.close(closeable, swallowException);
          if (expectThrown) {
            fail("Didn't throw exception.");
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBasedTable.java

       *
       * @param expectedRows the expected number of distinct row keys
       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
       */
      public static <R, C, V> HashBasedTable<R, C, V> create(
          int expectedRows, int expectedCellsPerRow) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBasedTable.java

       *
       * @param expectedRows the expected number of distinct row keys
       * @param expectedCellsPerRow the expected number of column key / value mappings in each row
       * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is
       *     negative
       */
      public static <R, C, V> HashBasedTable<R, C, V> create(
          int expectedRows, int expectedCellsPerRow) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top