Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 7,356 for then (0.05 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultColorMapTest.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
    - 4.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy

            then:
            !underTest.isContentCached()
        }
    
        def "should have no content when downloaded file has no content"() {
            when:
            downloadedFile.text = ""
            underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver)
    
            then:
            underTest.getHasEmptyContent()
        }
    
        def "should have content when downloaded file has content"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/scan/config/LegacyGradleEnterprisePluginCheckInServiceTest.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: Mon Jul 17 10:17:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ThrottlingOutputEventListenerTest.groovy

            when:
            executor.runFixedScheduledActionsNow()
    
            then:
            1 * listener.onOutput(_ as UpdateNowEvent)
            0 * _
        }
    
        def "shuts down executor when receiving end output event"() {
            expect:
            !executor.isShutdown()
    
            when:
            renderer.onOutput(new EndOutputEvent())
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryStoreTest.groovy

            when:
            store.open()
    
            then:
            0 * _._
    
            when:
            store.close()
    
            then:
            0 * _._
        }
    
        def "runs cleanup action when it is due"() {
            when:
            store.open()
            store.close()
    
            then:
            0 * _  // Does not call initialization or cleanup action.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top