Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 245 for failf (0.05 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy

                    implementation "org:foo:1.0"
                }
            """
    
            when:
            fails ":compileJava"
    
            then:
            // jar file fails because it doesn't have any checksum declared, despite ignoring the key, which is what we want
            // and pom file fails because we didn't trust the key
            assertVerificationError(terse) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 75.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                    outputFile = layout.buildDirectory.file("out.txt")
                }
            """
    
            expect:
            fails("broken")
    
            // The failure is currently very specific to the annotation type
            // TODO  - fail earlier and add some expectations here
    
            fails("broken")
    
            where:
            annotationType << [
                Input,
                InputFile,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

                    }
                    into ('./subdir') {
                        from 'dir2'
                    }
                    duplicatesStrategy = 'fail'
                }
            '''.stripIndent()
    
            when:
            fails 'copy'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

                }
            """
    
            when:
            run ':a:checkDebug'
    
            then:
            result.assertTasksExecuted(':b:barJar', ':a:checkDebug')
        }
    
        def "fails when explicitly selected configuration is not compatible with requested"() {
            given:
            createDirs("a", "b")
            file('settings.gradle') << "include 'a', 'b'"
            buildFile << """
                $typeDefs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

                    }
                    module("org:c:1.0") {
                        edge("org:leaf:[7,8]", "org:leaf:8")
                    }
                }
            }
        }
    
        def "fails when one of the ranges is disjoint and fail on conflict is set"() {
            given:
            (1..10).each {
                mavenRepo.module("org", "leaf", "$it").publish()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/types.go

    type FailurePolicyType string
    
    const (
    	// Ignore means that an error calling the webhook is ignored.
    	Ignore FailurePolicyType = "Ignore"
    	// Fail means that an error calling the webhook causes the admission to fail.
    	Fail FailurePolicyType = "Fail"
    )
    
    // MatchPolicyType specifies the type of match policy
    type MatchPolicyType string
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      //
      // failurePolicy does not define how validations that evaluate to false are handled.
      //
      // When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions
      // define how failures are enforced.
      //
      // Allowed values are Ignore or Fail. Defaults to Fail.
      // +optional
      optional string failurePolicy = 4;
    
      // auditAnnotations contains CEL expressions which are used to produce audit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    type FailurePolicyType string
    
    const (
    	// Ignore means that an error calling the webhook is ignored.
    	Ignore FailurePolicyType = "Ignore"
    	// Fail means that an error calling the webhook causes the admission to fail.
    	Fail FailurePolicyType = "Fail"
    )
    
    // MatchPolicyType specifies the type of match policy
    type MatchPolicyType string
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/types.go

    // +enum
    type FailurePolicyType string
    
    const (
    	// Ignore means that an error calling the webhook is ignored.
    	Ignore FailurePolicyType = "Ignore"
    	// Fail means that an error calling the webhook causes the admission to fail.
    	Fail FailurePolicyType = "Fail"
    )
    
    // ParameterNotFoundActionType specifies a failure policy that defines how a binding
    // is evaluated when the param referred by its perNamespaceParamRef is not found.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  10. src/testing/testing.go

    	}
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.ran = true
    }
    
    // Fail marks the function as having failed but continues execution.
    func (c *common) Fail() {
    	if c.parent != nil {
    		c.parent.Fail()
    	}
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	// c.done needs to be locked to synchronize checks to c.done in parent tests.
    	if c.done {
    		panic("Fail in goroutine after " + c.name + " has completed")
    	}
    	c.failed = true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top