Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 511 for checkDep (0.17 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

            file("config/checkstyle/checkstyle.xml") << """
    <!DOCTYPE module PUBLIC
              "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
              "https://checkstyle.org/dtds/configuration_1_3.dtd">
    <module name="Checker">
        <module name="TreeWalker">
            <module name="$nameOfCheck"/>
        </module>
    </module>
            """
        }
    
        private void goodCode() {
            file("src/main/java/com/example/Foo.java").java """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiModelChecker.groovy

                        assert actualValue instanceof Map
                        checkMap(actualValue, expectedValue, checker)
                    } else {
                        checker(actualValue, expectedValue)
                    }
                } else if (checker instanceof List) {
                    def subSpecs = checker as List
                    checkModel(actualValue, expectedValue, subSpecs)
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:26:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyHttpRepoResolveIntegrationTest.groovy

                }
                configurations { compile }
                dependencies { compile 'org.group.name:projectA:1.2' }
            """
            failedResolve.prepare()
    
            when:
    
            fails 'checkDeps'
            then:
            failedResolve.assertFailurePresent(failure)
            failure.assertHasCause("Could not resolve all files for configuration ':compile'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDescriptorResolveIntegrationTest.groovy

            when:
            run "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org.gradle:test:1.45") {
                        module("org.gradle.dep:dep_module:1.1")
                    }
                }
            }
    
            when:
            server.resetExpectations()
            run "checkDeps"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/software/plugins-version-catalog/src/integTest/groovy/org/gradle/catalog/VersionCatalogResolveIntegrationTest.groovy

            """
            buildFile << """
                plugins {
                    id 'java-library'
                }
    
                group = 'org.gradle.lib'
                version = '1.0'
    
                task checkDeps {
                    def runtimeClasspath = configurations.runtimeClasspath
                    doLast {
                        println("Resolved: \${runtimeClasspath.files.name.join(', ')}")
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 16 12:28:14 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top