Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for setProp3 (0.21 sec)

  1. testing/performance/src/templates/java-source/Production.java

            return property;
        }
    <% propertyCount.times { %>
        private String prop${it};
    
        public String getProp${it}() {
            return prop${it};
        }
    
        public void setProp${it}(String value) {
            prop${it} = value;
        }
    <% } %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/initialization/MixInLegacyTypesClassLoaderTest.groovy

                package org.gradle.api.plugins;
                class JavaPluginConvention {
                    String _prop;
                    String getProp() { return _prop; }
                    void setProp(String value) { _prop = value; }
                    String doSomething(String arg) { return arg; }
                }
            """)
            !GroovyObject.isAssignableFrom(original)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 22 23:58:47 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/execution/ExceptionAttributionIntegrationTest.groovy

                        p.extensions.create("thing", ExtensionImpl)
                    }
                }
    
                class ExtensionImpl {
                    String getProp() { return "value" }
                    void setProp(String value) {
                        throw new RuntimeException("broken")
                    }
                }
            """
            file("buildSrc/src/main/resources/META-INF/gradle-plugins/test.broken.properties") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 07 06:23:22 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/runtime/write_err_android.go

    	writeFD = uintptr(open(&writePath[0], 0x1 /* O_WRONLY */, 0))
    	if writeFD == 0 {
    		// It is hard to do anything here. Write to stderr just
    		// in case user has root on device and has run
    		//	adb shell setprop log.redirect-stdio true
    		msg := []byte("runtime: cannot open /dev/log/main\x00")
    		write(2, unsafe.Pointer(&msg[0]), int32(len(msg)))
    		exit(2)
    	}
    
    	// Prepopulate the invariant header part.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

        }
    
        def "plugin can create instance of interface with mutable properties"() {
            buildFile """
                interface Thing {
                    String getProp()
                    void setProp(String value)
                }
    
                def t = objects.newInstance(Thing)
                assert t.prop == null
                t.prop = "value"
                assert t.prop == "value"
    """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            def v = isolated.coerce(cl)
            cl.isInstance(v)
            v.name == "value1"
        }
    
        interface BeanInterface {
            String getProp1()
    
            void setProp1(String value)
        }
    
        def "creates isolated managed interface"() {
            def instantiator = instantiatorFactory().inject()
            def original = instantiator.newInstance(BeanInterface)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

            when:
            def sb1 = registry.get("beans.sb1", SpecialBean)
    
            then:
            sb1.other == "other"
        }
    
        static class SetProp extends RuleSource {
            @Mutate
            void m(@Path("foo") Bean bean) {}
        }
    
        def "when targeting by type, paths are interpreted relative to item"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

            listenerManager.getBroadcaster(BuildListener).buildFinished(Stub(BuildResult))
        }
    
        interface Params extends BuildServiceParameters {
            String getProp()
    
            void setProp(String value)
        }
    
        static abstract class ServiceImpl implements BuildService<Params> {
            static List<ServiceImpl> instances = []
    
            String getProp() {
                return getParameters().prop
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        response.use {
          assertEquals(200, response.code)
          assertEquals(Protocol.HTTP_2, response.protocol)
        }
    
        // Only logs to the test logger above
        // Will fail if "adb shell setprop log.tag.okhttp.Http2 DEBUG" is called
        assertEquals(setOf(OkHttpTest::class.java.name), testHandler.calls.keys)
      }
    
      fun testCachedRequest() {
        enableTls()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            snapshotter.snapshot(other) != snapshotter.snapshot(isolated)
        }
    
        interface BeanInterface {
            String getProp1()
    
            void setProp1(String value)
        }
    
        def "creates snapshot for managed interface"() {
            def instantiator = TestUtil.instantiatorFactory().inject()
            def value = instantiator.newInstance(BeanInterface)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
Back to top