Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for whee (0.2 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            jApiType.annotations >> annotations
    
            when:
            annotations.clear()
    
            then:
            rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @Incubating'
    
            when:
            annotations.add(incubatingAnnotation)
    
            then:
            rule.maybeViolation(jApiType) == null
    
            where:
            apiElement    | jApiTypeName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryContentFilteringIntegrationTest.groovy

                    conf "org:foo:1.0"
                }
            """
    
            when:
            mod.ivy.expectGet()
            mod.artifact.expectGet()
    
            run 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
                    module('org:foo:1.0')
                }
            }
    
            where:
            notation << [
                    "excludeGroup('org')",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

            provider.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when values are not unpacked
    
            when:
            counter.set(23)
            def unpackedValue = getter(provider, method, 88)
            then:
            unpackedValue == 23
            1 * sideEffect.execute(23)
    
            when:
            unpackedValue = getter(provider, method, 88)
            then:
            unpackedValue == 24
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r84/TestLauncherCompositeBuildCrossVersionTest.groovy

            where:
            api << LauncherApi.values()
        }
    
        @Issue('https://github.com/gradle/gradle/issues/26206')
        @Issue('https://github.com/gradle/gradle/issues/24550')
        def "Can run tasks from included builds when configuration cache is enabled"() {
            given:
            def runTestClass = withIncludedBuildTest(api)
    
            and:
            withConfigurationCache()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/dependencymanagement/SamplesDeclaringDependenciesIntegrationTest.groovy

            TestFile dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            succeeds(COPY_LIBS_TASK_NAME)
    
            then:
            dslDir.file('build/libs/spring-web-5.0.2.RELEASE.jar').isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("dependencyManagement/declaringDependencies-withoutVersion")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

    }
    """
            lockfileFixture.createLockfile('unlockedConf', ['org:foo:1.0'])
    
            when:
            succeeds 'dependencies', '--write-locks'
    
            then:
            lockfileFixture.verifyLockfile('lockedConf', ['org:foo:1.0'])
        }
    
        def 'writes dependency lock file when requested'() {
            mavenRepo.module('org', 'foo', '1.0').publish()
            mavenRepo.module('org', 'bar', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy

        }
    
        def "fails to get a task by name when it does not match the filtered type"() {
            buildFile << '''
                tasks.register("task1", SomeTask) {
                    println "Configure ${path}"
                }
    
                tasks.create("other") {
                    dependsOn tasks.withType(SomeOtherTask).getByName("task1")
                }
            '''
    
            when:
            fails "other"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultDependencySpecContainerTest.groovy

            spec.name == name
            spec.version == version
    
            where:
            id          | group | name | version
            "g1:m1:1.0" | "g1"  | "m1" | "1.0"
            "g1:m1"     | "g1"  | "m1" | null    // version is optional
        }
    
        def "throws IllegalDependencyNotation when given shorthand notation containing #description"() {
            when:
            container.module(notation)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultMutationGuardTest.groovy

        def target = new Object()
    
        def "does not throw exception when calling a disallowed method when allowed using #methodUnderTest(#callableClass.type)"() {
            def callable = callableClass.newInstance(this)
    
            when:
            ensureExecuted(guard."${methodUnderTest}"(callable))
    
            then:
            noExceptionThrown()
            callable.called
    
            where:
            methodUnderTest        | callableClass
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinApplicationInitIntegrationTest.groovy

            and:
            commonJvmFilesGenerated(scriptDsl)
    
            when:
            run("build")
    
            then:
            assertTestPassed("org.example.AppTest", "appHasAGreeting")
    
            when:
            run("run")
    
            then:
            outputContains("Hello World!")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top