- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,880 for failf (0.04 sec)
-
platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy
} def "compileBadCode"() { expect: fails("compileGroovy") failure.assertHasErrorOutput 'unable to resolve class Unknown1' failure.assertHasErrorOutput 'unable to resolve class Unknown2' failure.assertHasCause(compilationFailureMessage) } def "compileBadJavaCode"() { expect: fails("compileGroovy")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 09:08:49 UTC 2023 - 27K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
pkg/kubelet/container/sync_result.go
func NewSyncResult(action SyncAction, target interface{}) *SyncResult { return &SyncResult{Action: action, Target: target} } // Fail fails the SyncResult with specific error and message func (r *SyncResult) Fail(err error, msg string) { r.Error, r.Message = err, msg } // PodSyncResult is the summary result of SyncPod() and KillPod() type PodSyncResult struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 19 15:48:08 UTC 2020 - 4.6K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerBuildFailureIntegrationTest.groovy
/* Note: these tests are very granular to ensure coverage for versions that don't support querying the output or tasks. */ def "does not throw exception when build fails expectantly"() { given: buildScript """ task helloWorld { doLast { throw new GradleException('Expected exception') } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy
} """ when: fails ':help' then: result.assertTaskExecuted(':buildSrc:jar') result.assertTaskNotExecuted(':help') failure.assertHasCause('Cannot resolve external dependency org:module:1.0 because no repositories are defined.') } // fails to delete directory under Windows otherwise
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:56:27 UTC 2024 - 25.1K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionDynamicPomIntegrationTest.groovy
!dsl.getBuildFile(targetDir).text.contains("java.targetCompatibility = ") when: fails 'clean', 'build' then: // when tests fail, jar may not exist failure.assertHasDescription("Execution failed for task ':test'.") failure.assertHasCause("There were failing tests.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy
def "adding and removing tests remove old tests from reports"() { given: createPassingFailingTest() fails("check") when: renameTests() fails("check") then: testResult.assertTestClassesExecuted('SomeTest', 'NewTest') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CredentialsProviderIntegrationTest.groovy
dependsOn(firstTask) credentials.set(providers.credentials(PasswordCredentials, 'testCredentials')) } """ when: fails 'taskWithCredentials' then: notExecuted(':firstTask', ':taskWithCredentials') failure.assertHasDescription("Credentials required for this build could not be resolved.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 25 06:44:08 UTC 2021 - 6.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy
""" expect: fails() failure.assertHasLineNumber(4) failure.assertHasCause("Could not set unknown property 'p1' for root project 'test' of type ${Project.name}.") } def failsWhenInvokingUnknownMethodOnProject() { buildFile """ unknown(12, "things") """ expect: fails() failure.assertHasLineNumber(2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.7K bytes - Viewed (0)