- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 4,880 for failf (0.08 sec)
-
src/cmd/go/testdata/script/test_fuzz.txt
# Test that running a fuzz target that returns without failing or calling # f.Fuzz fails and causes a non-zero exit status. ! go test noop_fuzz_test.go ! stdout ^ok stdout FAIL # Test that fuzzing a fuzz target that returns without failing or calling # f.Fuzz fails and causes a non-zero exit status. ! go test -fuzz=Fuzz -fuzztime=1x noop_fuzz_test.go ! stdout ^ok stdout FAIL # Test that calling f.Error in a fuzz target causes a non-zero exit status.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 10.2K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/BinaryCollection.java
* * @param action The action to execute for each element becomes known. */ void whenElementKnown(Action<? super T> action); /** * Registers an action to execute when an element of the given type becomes known. The action is only executed for those elements that are required. Fails if any matching element has already been finalized.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy
} private customCode() { // class that would fail default rule set but doesn't fail custom rule set file("src/main/java/org/gradle/Class1.java") << "package org.gradle; public class Class1 { public void doit() { boolean x = true; if (x) {} } }" // empty then-block // class that wouldn't fail default rule set but does fail custom rule set file("src/main/java/org/gradle/Class2.java") <<
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 18:47:00 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/LazyAttributesIntegrationTest.groovy
} """.stripIndent() expect: fails "outgoingVariants" failure.assertHasCause("Unexpected type for attribute 'org.gradle.usage' provided. Expected a value of type org.gradle.api.attributes.Usage but found a value of type java.lang.Integer.") } def "providers used as attribute values with mismatched Attribute types fail properly"() { buildFile << """ plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy
def outTxt = file('out.txt') outputs.file(outTxt) outputs.cacheIf { true } def fail = providers.gradleProperty('fail') doLast { outTxt << "xxx" if (fail.isPresent()) { throw new RuntimeException("Boo!") } } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 20 17:51:57 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginEndOfBuildCallbackIntegrationTest.groovy
} def "end of build listener may fail with an exception"() { when: fails succeedingTaskName, "-Dbuild-listener-failure" then: plugin.assertEndOfBuildWithFailure(output, null) failure.assertHasDescription("broken") when: fails succeedingTaskName, "-Dbuild-listener-failure" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvePOMIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenPublishS3ErrorsIntegrationTest.groovy
} } """ when: def module = mavenS3Repo.module("org.gradle", "publishS3Test", "1.45") module.artifact.expectPutAuthenticationError() then: fails 'publish' failure.assertHasDescription("Execution failed for task ':publishPubPublicationToMavenRepository'.") failure.assertHasCause("Failed to publish publication 'pub' to repository 'maven'")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractValidatingLockingIntegrationTest.groovy
when: fails 'checkDeps' then: failure.assertHasCause("Could not resolve all files for configuration ':lockedConf'.") failure.assertHasCause("Resolved 'org:bar:1.0' which is not part of the dependency lock state") where: unique << [true, false] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
Integer fail1 = SmbTransportPoolImpl.this.failCounts.get(o1.getHostAddress()); Integer fail2 = SmbTransportPoolImpl.this.failCounts.get(o2.getHostAddress()); if ( fail1 == null ) { fail1 = 0; } if ( fail2 == null ) { fail2 = 0; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 12.5K bytes - Viewed (0)