Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,247 for checkDep (0.11 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/BadPomFileResolveIntegrationTest.groovy

                configurations { compile }
                dependencies {
                    compile "group:artifact:1.0"
                }
            """
            resolve.prepare()
    
            expect:
            succeeds ":checkDeps"
            resolve.expectGraph {
                root(":", ":test:") {
                    module("group:artifact:1.0")
                }
            }
        }
    
        def "reports POM that cannot be parsed"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 18:31:50 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesInSettingsIntegrationTest.groovy

                }
            """
    
            when:
            repositoryInteractions {
                'org:module:1.0' {
                    expectResolve()
                }
            }
            run ':checkDeps'
    
            then:
            outputContains 'Rule from settings applied on org:module:1.0'
        }
    
        def "can declare component metadata rules in settings using registar"() {
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesProcessingIntegTest.groovy

                }
            }
    
            then:
            repositoryInteractions {}
            // Everything should come from cache
            succeeds 'checkDeps'
    
            when:
            buildFile.text = """
                $commonBuildFile
    
                checkDeps.doLast {
                    assert status11 == 'release'
                    assert branch11 == 'master'
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PublishedRichVersionConstraintsIntegrationTest.groovy

                'org:foo:17' {
                    expectGetMetadata()
                }
                'org:bar:1.0' {
                    expectGetMetadata()
                }
            }
            fails ':checkDeps'
    
            then:
            failure.assertHasCause("""Cannot find a version of 'org:foo' that satisfies the version constraints:
       Dependency path ':test:unspecified' --> 'org:foo:17'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyResolveIntegrationTest.groovy

            dep.getArtifact().expectGet()
    
            when:
            succeeds "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org.gradle:test:1.45")
                }
            }
    
            when:
            // Need to check twice to use the cached version too
            succeeds "checkDeps"
    
            then:
            resolve.expectGraph {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/preflight/checks_linux.go

    	return validators
    }
    
    // addIPv6Checks adds IPv6 related checks
    func addIPv6Checks(checks []Checker) []Checker {
    	checks = append(checks,
    		FileContentCheck{Path: ipv6DefaultForwarding, Content: []byte{'1'}},
    	)
    	return checks
    }
    
    // addIPv4Checks adds IPv4 related checks
    func addIPv4Checks(checks []Checker) []Checker {
    	checks = append(checks,
    		FileContentCheck{Path: ipv4Forward, Content: []byte{'1'}})
    	return checks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyBrokenDescriptorIntegrationTest.groovy

            and:
            def module = ivyHttpRepo.module('group', 'projectA', '1.2').publish()
            module.ivyFile.text = "<ivy-module>"
    
            when:
            module.ivy.expectGet()
    
            then:
            fails "checkDeps"
            failedResolve.assertFailurePresent(failure)
            failure
                .assertResolutionFailure(":compile")
                .assertHasCause("Could not parse Ivy file ${module.ivy.uri}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

                }
    
                dependencies {
                    implementation libs.my.lib
                }
    
                tasks.register("checkDeps", CheckDeps) {
                    input.from(configurations.runtimeClasspath)
                }
    
                class CheckDeps extends DefaultTask {
                    @InputFiles
                    final ConfigurableFileCollection input = project.objects.fileCollection()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      int num_devices = TF_DeviceListCount(devices);
      for (int d = 0; d < num_devices; ++d) {
        const char* name = TF_DeviceListName(devices, d, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_TensorHandle* copy = TFE_TensorHandleCopyToDevice(m, ctx, name, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy

                    }
                }
                dependencies {
                    components {
                        all(WrongRule)
                    }
                }
            """
    
            expect:
            fails 'checkDeps'
            resolve.assertFailurePresent(failure)
            failure.assertHasFileName("Build file '$buildFile.path'")
            failure.assertHasLineNumber(lines + 3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top