Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,261 for wren (0.13 sec)

  1. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

            def arg = new Object()
            def id
            def decoratedAction
    
            when:
    
            context.apply(Stub(UserCodeSource)) {
                id = it
                decoratedAction = decorator.decorate('foo', action)
            }
    
            then:
            !decoratedAction.is(action)
    
            when:
            decoratedAction.execute(arg)
    
            then:
            1 * action.execute(arg)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

                public class Main { ToolImpl t = new ToolImpl(); }
            """
    
            when:
            succeeds ":b:${language.compileTaskName}"
    
            then:
            executedAndNotSkipped ":a:${language.compileTaskName}"
            executedAndNotSkipped ":b:${language.compileTaskName}"
    
            when:
            // change signatures
            sourceFile.text = """
                public class ToolImpl {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

                """
            }
    
            when:
            configurationCacheRun ":a:some"
    
            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
    
            when:
            configurationCacheRun ":a:some"
    
            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

    class TreeFormatterTest extends Specification {
        def formatter = new TreeFormatter()
    
        def "formats single node"() {
            when:
            formatter.node("Some thing.")
    
            then:
            formatter.toString() == "Some thing."
        }
    
        def "formats root with no children"() {
            when:
            formatter.node("Some thing.")
            formatter.startChildren()
            formatter.endChildren()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

                """
            }
    
            when:
            result = runWithMostRecentFinalRelease(JAR_TASK_NAME)
    
            then:
            javaProject.mainClassFile.assertIsFile()
            javaProject.redundantClassFile.assertIsFile()
            javaProject.assertJarHasDescendants(javaProject.mainClassFile.name, javaProject.redundantClassFile.name)
    
            when:
            forceDelete(javaProject.redundantSourceFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy

        }
    
        def "selects annotated constructor when class has multiple constructors and only one is annotated"() {
            when:
            def result = instantiator.newInstance(HasOneInjectConstructor, 12)
    
            then:
            result != null
        }
    
        def "class can have private constructor with args and annotated"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 04:41:06 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptorTest.groovy

            when:
            descriptor.excludeGroupByRegex(null)
    
            then:
            IllegalArgumentException ex = thrown()
            ex.message == "Group regex cannot be null"
    
            when:
            descriptor.excludeModuleByRegex("foo", null)
    
            then:
            ex = thrown()
            ex.message == "Module name regex cannot be null"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

            def notIgnoredResource = project[notIgnoredResourceName]
    
            when:
            succeeds project.customTask
            then:
            executedAndNotSkipped(project.customTask)
    
            when:
            succeeds project.customTask
            then:
            skipped(project.customTask)
    
            when:
            ignoredResource.changeContents()
            succeeds project.customTask
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishExternalVariantIntegrationTest.groovy

            gmmDependency.module == "kotlinx-coroutines-core"
            gmmDependency.version == "1.7.2"
    
            when:
            def result = mavenResolver.resolveDependency("org", "root", "1.0")
    
            then:
            result.firstLevelDependencies == ["org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:jar:1.7.2"]
    
            when:
            succeeds "printRuntimeClasspath"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

            task aTask
            """
            when:
            fails "help", "--task", "bTask"
            then:
            failure.assertHasCause("Task 'bTask' not found in root project '${testDirectory.getName()}'. Some candidates are: 'aTask', 'tasks'")
    
            when:
            run "help", "--task", "aTask"
            then:
            output.contains "Detailed task information for aTask"
    
            when:
            fails "help", "--task", "bTask"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top