Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 165 for tolerated (0.27 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/apitesting/naming/naming.go

    	unmarshalerType = reflect.TypeOf((*json.Unmarshaler)(nil)).Elem()
    )
    
    // VerifyGroupNames ensures that all groups in the scheme ends with the k8s.io suffix.
    // Exceptions can be tolerated using the legacyUnsuffixedGroups parameter
    func VerifyGroupNames(scheme *runtime.Scheme, legacyUnsuffixedGroups sets.String) error {
    	errs := []error{}
    	for _, gv := range scheme.PrioritizedVersionsAllGroups() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutAll_unsupportedNothing() {
        try {
          getMap().putAll(emptyMap());
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll_supportedNonePresent() {
        putAll(createDisjointCollection());
        expectAdded(e3(), e4());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(nothing) should return false or throw", collection.addAll(emptyCollection()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_supportedNonePresent() {
        assertTrue(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. 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)
  5. 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. 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)
  7. 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)
  8. 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)
  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