Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of about 10,000 for then (0.13 sec)

  1. subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy

            patternSet = new PatternSet()
            patternSet.exclude { false }
            then:
            !patternSet.isEmpty()
            !patternSet.intersect().isEmpty()
    
            when:
            patternSet = new PatternSet()
            patternSet.exclude("*.txt")
            then:
            !patternSet.isEmpty()
            !patternSet.intersect().isEmpty()
        }
    
        def "can handle removal of exclude"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/middleware.md

    * It can then do something to that **request** or run any needed code.
    * Then it passes the **request** to be processed by the rest of the application (by some *path operation*).
    * It then takes the **response** generated by the application (by some *path operation*).
    * It can do something to that **response** or run any needed code.
    * Then it returns the **response**.
    
    !!! note "Technical Details"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectionUsingLenientConstructorSelectorTest.groovy

            when:
            def result = instantiator.newInstance(HasConstructor, null, null)
    
            then:
            result.param1 == null
            result.param2 == null
        }
    
        def "allows null parameters when services expected"() {
            given:
            services.find(Number) >> 12
    
            when:
            def result = instantiator.newInstance(HasConstructor, [null] as Object[])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

    /*
     * Copyright 2015 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: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/test/groovy/org/gradle/api/plugins/BasePluginTest.groovy

            when:
            project.pluginManager.apply(BasePlugin)
    
            then:
            !project.tasks.rules.empty
        }
    
        def "adds implicit tasks for configuration"() {
            given:
            def someZip = project.tasks.create('someZip', Zip)
    
            when:
            project.pluginManager.apply(BasePlugin)
            project.artifacts.archives someZip
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            when:
            def result = parser.parse(propertyMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>The name of the thing.</para>'''
        }
    
        def convertsPropertySetterMethodCommentToPropertyComment() {
            PropertyMetaData propertyMetaData = Mock()
            _ * propertyMetaData.rawCommentText >> 'sets the name of the thing.'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            then:
            1 * onRemove.accept(key)
            then:
            0 * onAccess._
            0 * onRemove._
    
            when:
            def removeAllResult = getMapUnderTestToWrite().keySet().removeAll(Collections.singleton(key))
    
            then:
            removeAllResult == expectedResult
            1 * onAccess.accept(key, reportedValue)
            then:
            1 * onRemove.accept(key)
            then:
            0 * onAccess._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/RunTasksBeforeRunActionCrossVersion.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: Thu May 16 10:10:39 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ListElementSourceTest.groovy

            source.add("fizz")
    
            when:
            source.add(0, "fuzz")
    
            then:
            source.iteratorNoFlush().collect() == ["fuzz", "foo", "fizz"]
    
            when:
            source.add(3, "buzz")
    
            then:
            source.iteratorNoFlush().collect() == ["fuzz", "foo", "fizz", "buzz"]
    
            when:
            source.add(1, "bazz")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 13 05:06:48 UTC 2020
    - 12.8K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/GradleEnterprisePluginBackgroundJobExecutorsIntegrationTest.groovy

    /*
     * Copyright 2022 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: Thu Feb 29 16:27:53 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top