Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. subprojects/core/src/test/groovy/org/gradle/util/LineBufferingOutputStreamTest.groovy

            when:
            outputStream.close()
    
            then:
            action.endOfStream(null)
    
            when:
            outputStream.write("ignore me".getBytes())
    
            then:
            thrown(IOException)
        }
    
        def splitsLongLines() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. test-site/activator

        process_my_args "${myargs[@]}"
      }
    }
    
    # Actually runs the script.
    run() {
      # TODO - check for sane environment
    
      # process the combined args, then reset "$@" to the residuals
      process_args "$@"
      detect_terminal_for_ui
      set -- "${residual_args[@]}"
      argumentCount=$#
    
      #check for jline terminal fixes on cygwin
      if is_cygwin; then
        stty -icanon min 1 -echo > /dev/null 2>&1
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  10. 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)
Back to top