Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 203 for tolerated (0.36 sec)

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

      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testClear_unsupportedByEmptyCollection() {
        try {
          collection.clear();
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      @CollectionSize.Require(SEVERAL)
      public void testClearConcurrentWithIteration() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ProgressOperationsTest.groovy

            then:
            op3 == op4
    
            when:
            ops.progress("foo", new OperationIdentifier(2))
    
            then:
            thrown(IllegalStateException)
        }
    
        def "missing parents are tolerated"() {
            when:
            def op = ops.start("Building", null, new OperationIdentifier(1), new OperationIdentifier(122))
    
            then:
            op.parent == null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testClear_unsupportedByEmptyCollection() {
        try {
          getMap().clear();
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testSetCountConditional_negativeOldCount_addUnsupported() {
        try {
          assertSetCountNegativeOldCount();
        } catch (UnsupportedOperationException tolerated) {
        }
      }
    
      // Incorrect expected present count.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_oldCountTooLarge() {
        assertFalse(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testSetCountConditional_negativeOldCount_addUnsupported() {
        try {
          assertSetCountNegativeOldCount();
        } catch (UnsupportedOperationException tolerated) {
        }
      }
    
      // Incorrect expected present count.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_oldCountTooLarge() {
        assertFalse(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

              collection.removeIf(
                  x -> {
                    throw new AssertionError("predicate should never be called");
                  }));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_alwaysTrueUnsupported() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        try {
          getList().set(0, e3());
          fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException");
        } catch (UnsupportedOperationException | IndexOutOfBoundsException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @ListFeature.Require(SUPPORTS_SET)
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_unsupportedPresent() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 5.8K bytes
    - Viewed (0)
  9. pkg/apis/node/types.go

    	// +optional
    	NodeSelector map[string]string
    
    	// tolerations are appended (excluding duplicates) to pods running with this
    	// RuntimeClass during admission, effectively unioning the set of nodes
    	// tolerated by the pod and the RuntimeClass.
    	// +optional
    	Tolerations []core.Toleration
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // RuntimeClassList is a list of RuntimeClass objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 22 08:59:25 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        try {
          assertFalse(
              "addAll(n, nothing) should return false or throw",
              getList().addAll(0, emptyCollection()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_withDuplicates() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top