- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 4,880 for failf (0.04 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationRoleUsageIntegrationTest.groovy
assert canBeResolved == true preventUsageMutation() canBeResolved = false } } """ expect: fails 'help' and: assertUsageLockedFailure('custom') } def "can prevent usage mutation of roleless configuration meant for consumption"() { given: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 27 01:42:49 UTC 2024 - 27.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/FailingIncrementalTasksIntegrationTest.groovy
} } """ expect: succeeds "foo" when: file("out.txt") << "force rerun" fails "foo" then: failureHasCause "Boo!" when: fails "foo", "--info" then: failureHasCause "Boo!" output.contains "Task has failed previously."
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 01 14:32:13 UTC 2022 - 4.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy
} tasks.register("broken") """ expect: fails("broken") failure.assertHasDescription("A problem occurred configuring project ':child'.") failure.assertHasCause("Could not create task ':child:broken'.") failure.assertHasCause("broken task") } def "fails to get a task by name when it does not match the filtered type"() { buildFile << '''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 9.2K bytes - Viewed (0) -
pilot/pkg/model/jwks_resolver_test.go
_, err := r.GetPublicKey(c.in[0], c.in[1], c.timeout) if c.timeout < serverDelay && err == nil { t.Errorf("GetPublicKey(\"\", %+v) fails: did not timed out as expected", c) } else if c.timeout >= serverDelay && err != nil { t.Errorf("GetPublicKey(\"\", %+v) fails: expected no error, got (%v)", c, err) } } } func TestGetPublicKeyReorderedKey(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 19.2K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskActionIntegrationTest.groovy
succeeds("broken") then: noExceptionThrown() } @UnsupportedWithConfigurationCache(because = "tests unsupported behaviour")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/workflow/runner_test.go
testCases: map[string]argTest{ "phase foo": { pass: []string{}, fail: []string{"one"}, args: cobra.NoArgs, }, "phase foo bar": { pass: []string{"one"}, fail: []string{"one", "two"}, args: cobra.ExactArgs(1), }, "phase foo baz": { pass: []string{"qux"}, fail: []string{"one"}, args: customArgs, }, }, cmd: &cobra.Command{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 20 20:03:45 UTC 2023 - 15.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy
outputContains "START [Test method pass(SomeTest)] [pass]\n" outputContains "FINISH [Test method pass(SomeTest)] [pass] [null]\n" outputContains "START [Test method fail(SomeTest)] [fail]\n" outputContains "FINISH [Test method fail(SomeTest)] [fail] [java.lang.AssertionError]\n" outputContains "START [Test method knownError(SomeTest)] [knownError]\n"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 15.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} assertTrue(millisElapsedSince(startTime) >= timeoutMillis); } /** Fails with message "should throw exception". */ public void shouldThrow() { fail("Should throw exception"); } /** Fails with message "should throw " + exceptionName. */ public void shouldThrow(String exceptionName) { fail("Should throw " + exceptionName); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 37.7K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy
def "worker daemons are not reused when they fail unexpectedly"() { workerExecutorThatCanFailUnexpectedly.writeToBuildFile() buildFile << """ task runInWorker1(type: WorkerTask) { isolationMode = 'processIsolation' } task runInWorker2(type: WorkerTask) { // This will cause the worker process to fail with exit code 127
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy
} } fails ':checkDeps' then: failure.assertHasCause("""Cannot find a version of 'org:foo' that satisfies the version constraints: Dependency path ':test:unspecified' --> 'org:foo:17' Dependency path ':test:unspecified' --> 'test:other:unspecified' (conf) --> 'org:foo:{strictly 15}'""") } def "should fail if 2 1st-level strict versions disagree"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 15:37:32 UTC 2024 - 30.9K bytes - Viewed (0)