Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for prop4 (0.16 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

    assert custom.prop.get() == "new value"
    
    tasks.create('t', SomeTask)
    tasks.t.prop = custom.prop
    assert tasks.t.prop.get() == "new value"
    
    custom.prop = "changed"
    assert custom.prop.get() == "changed"
    assert tasks.t.prop.get() == "changed"
    
    """
    
            expect:
            succeeds()
        }
    
        def "can set String property value using a GString"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ContextConfigTest.java

            Properties prop1 = new Properties();
            prop1.setProperty("jcifs.smb.client.minVersion", "SMB302");
            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
            assertEquals(DialectVersion.SMB302, p1.getMinimumVersion());
            assertEquals(DialectVersion.SMB302, p1.getMaximumVersion());
    
            Properties prop2 = new Properties();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                class Thing {
                    def prop1 = { it }
                }
                convention.plugins.thing = new Thing()
                ext.prop2 = { it / 2 }
    
                assert prop1(12) == 12
                assert prop2(12) == 6
            """
            file("child1/build.gradle") << """
                ext.prop3 = { it * 2 }
                assert prop1(12) == 12
                assert prop2(12) == 6
                assert prop3(12) == 24
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

            expect:
            bean.prop.toString() == "property 'prop'"
            bean.prop.getOrNull() == defaultValue
            bean.prop.set(newValue)
            bean.prop.get() == newValue
    
            beanWithDisplayName.prop.toString() == "<display-name> property 'prop'"
    
            where:
            type                               | defaultValue | newValue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            PropertyDoc deprecatedProp = propertyDoc('deprecatedProperty', id: 'prop1', description: 'prop1 description', comment: 'prop1 comment', type: 'org.gradle.Type', deprecated: true)
            PropertyDoc incubatingProp = propertyDoc('incubatingProperty', id: 'prop2', description: 'prop2 description', comment: 'prop2 comment', type: 'org.gradle.Type', incubating: true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

            output.contains 'prop theFloat     : 0.7182818'
            output.contains 'prop theint       : 3'
            output.contains 'prop theInteger   : 8'
            output.contains 'prop theLong      : 4294967294'
            output.contains 'prop thelong      : 6442450941'
            output.contains 'prop theshort     : 21'
            output.contains 'prop theShort     : 55'
            output.contains 'prop thebyte      : 55'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderTest.groovy

        <groupId>\${groupId.prop}</groupId>
        <artifactId>\${artifactId.prop}</artifactId>
        <version>\${version.prop}</version>
        <name>Test Artifact One</name>
        <description>The first test artifact</description>
        <properties>
            <some.prop1>test1</some.prop1>
            <some.prop2>test2</some.prop2>
            <groupId.prop>group-one</groupId.prop>
            <artifactId.prop>artifact-one</artifactId.prop>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 15:53:23 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/node_matchers.cc

        absl::Span<const NodeMatcherProperties> props) {
      NodeMatcher* matcher = new NodeMatcher();
      for (const NodeMatcherProperties& prop : props) {
        if (prop.name()) {
          DCHECK(!matcher->name);
          matcher->name = prop.name();
        }
    
        if (prop.op()) {
          DCHECK(!matcher->op);
          matcher->op = prop.op();
        }
    
        if (prop.constant_value()) {
          DCHECK(!matcher->constant_value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            snapshotter.snapshot([new Bean(prop: "value1"), new Bean(prop: "value2")], snapshot4).is(snapshot4)
            snapshotter.snapshot([new Bean(prop: "value1"), new Bean(prop: "value3")], snapshot4) != snapshot4
    
            def snapshot5 = snapshotter.snapshot(["abc", "123"])
            def snapshot6 = snapshotter.snapshot(["abc", "123", "xyz"], snapshot5)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  10. maven-core/src/test/resources-project-builder/xml-coalesce-text/pom.xml

        -->
        <prop0>A <![CDATA[ Test ]]> Project<![CDATA[ ]]>Property</prop0>
    
        <!--
        This checks the coalescing of CHARACTERS events that are interleaved with comments. Note that inner whitespace
        formed by whitespace-only events must be retained.
        -->
        <prop1><!-- X -->That's<!-- X --> <!-- X -->a<!-- X --> <!-- X -->test!<!-- X --></prop1>
    
        <!--
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 34.5K bytes
    - Viewed (0)
Back to top