Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,023 for then (0.07 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FileBackedObjectHolderTest.groovy

            when:
            cache.set "a"
    
            then:
            1 * serializer.write(_, "a")
    
            when: // same value is not written
            def r = cache.maybeUpdate { it }
    
            then:
            r == "a"
            1 * serializer.read(_)
    
            and:
            0 * serializer.write(_, _)
    
            when: // different value is written back
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaApplicationInitIntegrationTest.groovy

            run('init', '--type', 'scala-application', '--dsl', scriptDsl.id, '--incubating', '--java-version', JavaVersion.current().majorVersion)
    
            then:
            gradlePropertiesGenerated()
    
            when:
            run("build")
    
            then:
            assertTestPassed("org.example.AppSuite", "App has a greeting")
    
            when:
            run("run")
    
            then:
            outputContains("Hello, world!")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. subprojects/core-api/src/test/groovy/org/gradle/api/internal/provider/views/AbstractHasMultiValuesPropertyCollectionViewTest.groovy

            collection.size() == 4
    
            when:
            collection.add("third")
    
            then:
            property.get() == cast(["first", "second", "forth", "fifth", "third"])
            collection.size() == 5
    
            when:
            collection.removeAll(["first", "third", "forth"])
    
            then:
            property.get() == cast(["second", "fifth"])
            collection.size() == 2
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMultiProjectIntegrationTest.groovy

            then:
            result.assertTasksExecuted(':b:ok')
            configurationCache.assertStateStored()
    
            when:
            inDirectory a
            configurationCacheRun 'ok'
    
            then:
            result.assertTasksExecuted(':a:ok')
            configurationCache.assertStateLoaded()
    
            when:
            inDirectory b
            configurationCacheRun 'ok'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. bin/build_ztunnel.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
      echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly."
      exit 1
    fi
    
    # Gets the download command supported by the system (currently either curl or wget)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:46:06 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessTest.groovy

            cacheAccess.open()
    
            when:
            cacheAccess.close()
    
            then:
            1 * onCloseAction.accept(lock)
    
            then:
            1 * lock.close()
            0 * _
        }
    
        def "does not run handler on close when not open"() {
            when:
            cacheAccess.close()
    
            then:
            0 * _
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. bin/init.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # Init script downloads or updates envoy and the go dependencies. Called from Makefile, which sets
    # the needed environment variables.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 19:11:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenLocalModuleTest.groovy

            when:
            String type = mavenLocalModule.hasType('war').type
    
            then:
            type != null
            type == 'war'
        }
    
        def "Check type for no set type"() {
            when:
            String type = mavenLocalModule.type
    
            then:
            type != null
            type == 'jar'
        }
    
        def "Sets non-unique snapshots"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenFileModuleTest.groovy

            when:
            String type = mavenFileModule.hasType('war').type
    
            then:
            type != null
            type == 'war'
        }
    
        def "Check type for no set type"() {
            when:
            String type = mavenFileModule.type
    
            then:
            type != null
            type == 'jar'
        }
    
        def "Provides unique snapshots by default"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccessTest.groovy

            cacheAccess.open()
    
            when:
            cacheAccess.close()
    
            then:
            1 * onCloseAction.accept(lock)
    
            then:
            1 * lock.close()
            0 * _
        }
    
        def "does not run handler on close when not open"() {
            when:
            cacheAccess.close()
    
            then:
            0 * _
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top