Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for enableIndy (0.13 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

            configurationCache.assertStateLoaded()
            outputContains("returned = new.value")
    
            where:
            [setProperties, enableIndy] << [
                ["System.setProperties", "setProperties"],
                [false, true]
            ].combinations()
            indyStatus = enableIndy ? "with indy" : "without indy"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

         * @return the list of indy modes
         */
        def indyModes() {
            return [true, false]
        }
    
        final def testCasesWithIndyModes() {
            // Combine each test case with enableIndy=true and/or enableIndy=false
            return [testCases(), indyModes()].combinations().collect { it.flatten() }
        }
    
        def "#title is intercepted in groovy build script #indyStatus"(VarInitializer varInitializer) {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy

                    def s = new ProcessBuilderStart()
                    s.start()
                """, enableIndy)
    
            when:
            configurationCacheRun("-q", ":help")
    
            then:
            configurationCache.assertStateStored()
    
            where:
            enableIndy << [true, false]
            indyStatus = enableIndy ? "with indy" : "without indy"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/DynamicGroovyPluginMixin.groovy

     */
    trait DynamicGroovyPluginMixin {
        void withPluginCode(String imports, String codeUnderTest, boolean enableIndy) {
            file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
                import ${Plugin.name}
                import ${Project.name}
    
                $imports
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top