Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 7,356 for then (0.09 sec)

  1. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingSetTest.groovy

            then:
            1 * listener.onRemove('missing')
            then:
            0 * listener._
        }
    
        def "removeAll of existing elements is tracked"() {
            when:
            def result = set.removeAll(['existing', 'other'])
    
            then:
            result
            1 * listener.onAccess('existing')
            then:
            1 * listener.onRemove('existing')
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy

                }
            """
    
            when:
            succeeds "runInWorker1"
    
            then:
            stopDaemonsNow()
    
            when:
            succeeds "runInWorker2"
    
            then:
            assertDifferentDaemonsWereUsed("runInWorker1", "runInWorker2")
        }
    
        def "worker daemons are not reused when classpath changes"() {
            fixture.withWorkActionClassInBuildScript()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/RelativePathParserTest.groovy

            parser.root
    
            when:
            parser.exitToRoot(exitHandler)
            then:
            0 * _
        }
    
        def "can exit when moved to different root"() {
            def parser = new RelativePathParser("tree-some/")
    
            when:
            boolean outsideOfRoot = parser.nextPath("tree-other/", true, exitHandler)
            then:
            0 * _
            outsideOfRoot
    
            when:
            parser.exitToRoot(exitHandler)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/cache/internal/CacheVersionMappingTest.groovy

            then:
            def e = thrown(IllegalArgumentException)
            e.message.contains("cache version (2) must be greater than all previous versions")
        }
    
        def "throws exception if Gradle version is not greater than previous one"() {
            when:
            CacheVersionMapping.introducedIn("1.0")
                .changedTo(2, "1.2")
                .changedTo(3, "1.1")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:40:24 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaApplicationInitIntegrationTest.groovy

        }
    
        def "creates with gradle.properties when using #scriptDsl build scripts with --incubating"() {
            when:
            run ('init', '--type', 'java-application', '--dsl', scriptDsl.id, '--incubating', '--java-version', JavaVersion.current().majorVersion)
    
            then:
            gradlePropertiesGenerated()
    
            when:
            succeeds('test')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/legacy/BuildScanConfigIntegrationTest.groovy

                task t
            """
    
            when:
            succeeds "t", "--scan"
    
            then:
            scanPlugin.issuedNoPluginWarningCount(output, 1)
        }
    
        def "detects that the build scan plugin has been #description"() {
            given:
            scanPlugin.collectConfig = applied
    
            when:
            succeeds "t"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. pkg/controller/tainteviction/timed_workers_test.go

    	queue.AddWork(context.TODO(), NewWorkArgs("1", "1"), now, then)
    	queue.AddWork(context.TODO(), NewWorkArgs("2", "2"), now, then)
    	queue.AddWork(context.TODO(), NewWorkArgs("3", "3"), now, then)
    	queue.AddWork(context.TODO(), NewWorkArgs("4", "4"), now, then)
    	queue.AddWork(context.TODO(), NewWorkArgs("5", "5"), now, then)
    	fakeClock.Step(11 * time.Second)
    	wg.Wait()
    	lastVal := atomic.LoadInt32(&testVal)
    	if lastVal != 5 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:23:56 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxyTest.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: Tue Sep 26 14:49:20 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/ProgressLogEventGeneratorTest.groovy

    /*
     * Copyright 2016 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
    - 8.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultMutableVersionConstraintTest.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: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top