- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 4,880 for failf (0.08 sec)
-
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/SettingsScriptPluginIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/CacheResolveIntegrationTest.groovy
dependencies { implementation 'org.spring:core:1.0@/../../../../boot/2.0/$hashOfBootJar/pwned.txt' } """ when: fails('compileJava') then: failureCauseContains('is not a safe archive entry or path name') // If the build did not fail, Gradle would effectively write a file inside org.spring/boot/2.0 instead of inside org.spring/core/1.0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 9.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
try { getList().set(-1, e3()); fail("set(-1) should throw IndexOutOfBoundsException"); } catch (IndexOutOfBoundsException expected) { } expectUnchanged(); } @ListFeature.Require(SUPPORTS_SET) public void testSet_indexTooHigh() { int index = getNumElements(); try { getList().set(index, e3()); fail("set(size) should throw IndexOutOfBoundsException");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5.3K bytes - Viewed (0) -
test/fixedbugs/issue13268.go
} f.Write([]byte("package p\n\nfunc \xef\xef")) // if this fails, we will die later f.Close() defer os.Remove(f.Name()) // compile and test output cmd := exec.Command("go", "tool", "compile", f.Name()) out, err := cmd.CombinedOutput() if err == nil { log.Fatalf("expected cmd/compile to fail") } if strings.HasPrefix(string(out), "illegal UTF-8 sequence") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 984 bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithLongCommandLineIntegrationTest.groovy
def "does not suggest long command line failures when execution fails with #method"() { buildFile << """ extraClasspath.from('${veryLongFileNames.join("','")}') run.executable 'does-not-exist' """ when: fails taskName then: failure.assertThatCause(containsText("A problem occurred starting process"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go
// starting with the state where everything works. // If "no changes" succeeds and "all changes" fails, // we're looking for a minimal set of changes to enable to provoke the failure // (broken = runY, b.Negate = false) // If "no changes" fails and "all changes" succeeds, // we're looking for a minimal set of changes to disable to provoke the failure // (broken = runN, b.Negate = true).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 18:11:19 UTC 2023 - 23.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/TransformBackedProviderTest.groovy
0 * progressEventEmitter._ } def "does not fail when calling get() after producer task has completed"() { given: def property = propertyWithCompletedProducer() def provider = property.map { Integer.parseInt(it) } when: provider.get() then: 0 * progressEventEmitter._ } def "fails when calling getOrNull() before producer task has completed"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 15:06:10 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy
and: helloWorldApp.writeSources(file("src/main")) expect: succeeds "mainExecutable" } @ToBeFixedForConfigurationCache def "build fails when compilation fails"() { given: buildFile << """ model { components { main(NativeExecutableSpec) } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/cpp/AbstractCppComponentIntegrationTest.groovy
} def "does not fail when current operating system family is excluded but assemble is not invoked"() { given: makeSingleProject() componentUnderTest.writeToProject(testDirectory) and: buildFile << configureTargetMachines("machines.os('some-other-family')") expect: succeeds "help" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/FilteringProviderTest.groovy
} def "does not fail when calling get() after producer task has completed"() { given: def property = propertyWithCompletedProducer() def provider = property.filter { it.contains("1") } when: provider.get() then: noExceptionThrown() } def "fails when calling getOrNull() before producer task has completed"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:32 UTC 2023 - 6.4K bytes - Viewed (0)