Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,573 for then (0.17 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy

            then:
            result != null
        }
    
        def "class can be private and have public constructor"() {
            when:
            def result = instantiator.newInstance(PrivateWithValidConstructor, "param")
    
            then:
            result != null
        }
    
        def "wraps constructor failure"() {
            when:
            instantiator.newInstance(HasBrokenConstructor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 04:41:06 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/GroupingProgressLogEventGeneratorTest.groovy

            when:
            listener.onOutput(taskStartEvent)
            listener.onOutput(warningMessage)
    
            then:
            0 * downstreamListener._
    
            when:
            listener.onOutput(taskCompleteEvent)
    
            then:
            1 * downstreamListener.onOutput({ it.toString() == "[LIFECYCLE] [category] " })
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

            when:
            configurationCacheRun "a"
    
            then:
            result.assertTasksExecutedAndNotSkipped(":a")
            outputFile.assertIsFile()
    
            when:
            configurationCacheRun "a"
    
            then:
            result.assertTasksSkipped(":a")
    
            when:
            outputFile.delete()
            configurationCacheRun "a"
    
            then:
    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-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            then:
            def verificationFile = file("gradle/verification-metadata.xml")
            verificationFile.isFile()
    
            // TODO - get a false cache miss here because the content of the metadata file changes during the previous build
            when:
            configurationCacheRun("resolve1")
    
            then:
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  5. 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)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AggregatingIncrementalAnnotationProcessingIntegrationTest.groovy

    /*
     * Copyright 2018 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategySpec.groovy

            when: copy.force("org.utils:api:1.3")
            then: 0 * validator.validateMutation(_)
    
            when: copy.forcedModules = ["org.utils:api:1.4"]
            then: 0 * validator.validateMutation(_)
    
            when: copy.componentSelection.all(Actions.doNothing())
            then: 0 * validator.validateMutation(_)
    
            when: copy.componentSelection(new Action<ComponentSelectionRules>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

            // For hierarchical watchers, we don't watch the project directory if the VFS only contains missing files in there.
            // For non-hierarchical watchers, we watch the parent directory of the missing file, the project directory in this case.
            // When the `input` directory is created, we invalidate the VFS and stop watching since the missing snapshot now has been removed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            expect:
            notStopped
    
            when: "stopped first time"
            coordinator.stop()
    
            then: "stops"
            stopped
    
            when: "requested again"
            coordinator.stop()
    
            then:
            stopped
            0 * _._
        }
    
        def "await idle timeout does nothing when already stopped"() {
            given:
            coordinator.stop()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/BuildStatusRendererTest.groovy

    /*
     * Copyright 2017 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top