Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for then (0.05 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

            when:
            Task a = task([failure: exception], "a")
            Task b = task("b")
            addToGraphAndPopulate([a, b])
    
            then:
            executedTasks == [a]
    
            when:
            finalizedPlan.collectFailures(failures)
    
            then:
            failures == [exception]
        }
    
        def "stops returning tasks when build is cancelled"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

        def "downloads deleted files again when they are referenced"() {
            given:
            buildscriptWithDependency(snapshotModule)
    
            when:
            succeeds 'resolve'
    
            then:
            def jarFile = findFile(cacheDir, "files-*/**/*.jar")
    
            when:
            assert jarFile.delete()
    
            and:
            succeeds 'resolve'
    
            then:
            jarFile.assertExists()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

            when:
            def provider = registerService("service", ServiceImpl)
    
            then:
            ServiceImpl.instances.empty
    
            when:
            def service = provider.get()
    
            then:
            service instanceof ServiceImpl
            ServiceImpl.instances == [service]
    
            when:
            def service2 = provider.get()
    
            then:
            service2.is(service)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/test/groovy/org/gradle/api/internal/plugins/DefaultArtifactPublicationSetTest.groovy

            def ear = artifact("ear")
    
            when:
            publication.addCandidate(war)
    
            then:
            publication.defaultArtifactProvider.get() == set(war)
    
            when:
            publication.addCandidate(ear)
    
            then:
            publication.defaultArtifactProvider.get() == set(ear)
    
            when:
            publication.addCandidate(war)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy

            when:
            loggingManager.start()
    
            then:
            1 * loggingRouter.addOutputEventListener(listener)
    
            when:
            loggingManager.removeOutputEventListener(listener)
    
            then:
            1 * loggingRouter.removeOutputEventListener(listener)
    
            when:
            loggingManager.stop()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/ListenerBroadcastTest.groovy

            0 * _._
        }
    
        def 'the Action can have fewer parameters than the event method'() {
            given:
            Action<Integer> action = Mock()
            broadcast.add("event2", action)
    
            when:
            broadcast.source.event2(1, "param")
    
            then:
            1 * action.execute(1)
    
            when:
            broadcast.source.event2(2, null)
    
            then:
            1 * action.execute(2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-helper.sh

        # version only if the downloaded version is the same as the built-in
        # version. This allows GCI to run some of the e2e tests to qualify the
        # built-in kubelet.
        if [[ -x "${builtin_kubelet}" ]]; then
          local -r builtin_version="$("${builtin_kubelet}"  --version=true | cut -f2 -d " ")"
          if [[ "${builtin_version}" == "${version}" ]]; then
            kubelet_bin="${builtin_kubelet}"
          fi
        fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/LoggingServiceRegistryTest.groovy

            when:
            rootLogger.level = Level.OFF
            loggingManager.levelInternal = LogLevel.WARN
    
            then:
            rootLogger.level == Level.OFF
            logger.level == null
    
            when:
            loggingManager.start()
    
            then:
            rootLogger.level != Level.OFF
            logger.level == null
    
            when:
            loggingManager.stop()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.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: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSourceTest.groovy

            when:
            def iterator = source.iteratorNoFlush()
            iterator.remove()
    
            then:
            thrown(IllegalStateException)
    
            when:
            def next = iterator.next()
    
            then:
            next == "foo"
    
            when:
            iterator.remove()
    
            then:
            source.iteratorNoFlush().collect() == iterationOrder("fizz")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top