Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,908 for wren (0.05 sec)

  1. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

            given:
            gradle.attachSettings(state)
    
            when:
            gradle.resetState()
    
            then:
            1 * state.close()
        }
    
        def "get root project throws exception when root project is not available"() {
            when:
            gradle.rootProject
    
            then:
            thrown IllegalStateException
    
            when:
            def rootProject = project('root')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

            access.open()
            access.close()
    
            then:
            1 * cleanupExecutor.cleanup()
            0 * _
        }
    
        def "does not clean up on close when clean up has already occurred"() {
            def access = newAccess(OnDemand)
    
            when:
            access.open()
            access.cleanup()
    
            then:
            1 * cleanupExecutor.cleanup()
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

            result.assertTasksNotSkipped(":a", ":b")
    
            when:
            outputFileB.delete()
            succeeds "b"
    
            then:
            result.assertTasksNotSkipped(":b")
            result.assertTasksSkipped(":a")
    
            when:
            succeeds "b"
    
            then:
            result.assertTasksSkipped(":a", ":b")
        }
    
        def "skips task when output dir contents are up-to-date"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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. 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)
Back to top