Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 149 for prop4 (0.04 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy

            buildFile << """
    ext.prop = "value 1"
    repositories {
        assert prop == "value 1"
        prop = "value 2"
        maven {
            assert prop == "value 2"
            prop = "value 3"
            1.times {
                assert prop == "value 3"
                prop = "value 4"
                authentication {
                    assert prop == "value 4"
                    prop = "value 5"
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
                    }
    
                    getLogger().debug("Writing resolution-state to: " + touchfile);
                    channel.truncate(0);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultGradlePropertiesControllerTest.groovy

            1 * environment.propertiesFile(settingsPropertiesFile) >> ["prop": "settings value"]
            prefixedEnvironmentVariables = [(ENV_PROJECT_PROPERTIES_PREFIX + "prop"): "env value"]
            prefixedSystemProperties = [(SYSTEM_PROJECT_PROPERTIES_PREFIX + "prop"): "system value"]
    
            def projectProperties = ["prop": "project value"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 11:52:10 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionLifecycleIntegrationTest.groovy

                thing.prop.disallowUnsafeRead()
                thing.prop.from(layout.buildDirectory)
    
                try {
                    thing.prop.files
                } catch(IllegalStateException e) {
                    println("get files failed with: " + e.message)
                }
    
                def elements = thing.prop.elements
                try {
                    elements.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 10:55:07 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

    custom.prop = layout.buildDir.dir("dir3")
    assert custom.prop.get().asFile == file("build/dir3")
    
    custom.prop = file("dir4")
    assert custom.prop.get().asFile == file("dir4")
    
    custom.prop.set((Directory)null)
    assert custom.prop.getOrNull() == null
    
    custom.prop = file("foo")
    custom.prop.set(null)
    assert custom.prop.getOrNull() == null
    
    custom.prop = file("foo")
    custom.prop.set((File)null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerTest.groovy

            when:
            container.create('obj') {
                prop = 'value'
            }
    
            then:
            container.obj.prop == 'value'
        }
    
        def "can create and configure object using action"() {
            def action = Mock(Action)
    
            given:
            action.execute(_) >> { TestObject obj ->
                obj.prop = 'value'
            }
    
            when:
            container.create('obj', action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 27 06:24:30 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy

            given:
            buildFile << """
    
    def prop = project.objects.fileProperty()
    
    task thing {
        ${registrationMethod}(prop)
        prop.set(file("file-1"))
        def other = file("ignored")
        doLast {
            prop.set(other)
            println "prop = " + prop.get()
        }
    }
    """
            file("file-1").createFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    // are still needed internally to perform equality checks.
    func escapeKeyProps(idents []string) []string {
    	result := make([]string, len(idents))
    	for i, prop := range idents {
    		if escaped, ok := cel.Escape(prop); ok {
    			result[i] = escaped
    		} else {
    			result[i] = prop
    		}
    	}
    	return result
    }
    
    // unstructuredSetList represents an unstructured data instance of an OpenAPI array with x-kubernetes-list-type=set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/BeanDynamicObjectTest.groovy

            def bean = new Bean(prop: "value")
            def dynamicObject = new BeanDynamicObject(bean)
    
            expect:
            dynamicObject.hasProperty("prop")
            dynamicObject.getProperty("prop") == "value"
        }
    
        def "can get value of read only property of groovy object"() {
            def bean = new Bean(prop: "value")
            def dynamicObject = new BeanDynamicObject(bean)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/AllTests.java

                return;
            }
            Properties props = new Properties();
            try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ);
                  InputStream is = Channels.newInputStream(ch) ) {
                props.load(is);
    
            }
            if ( !props.isEmpty() ) {
                Map<String, String> map = toMap(props);
                String cfgname = fname.substring(0, fname.length() - 5);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
Back to top