Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidParameter (0.22 sec)

  1. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ParameterAwareBuildControllerAdapterTest.groovy

            def targetElement = new Object()
            def modelElement = Stub(Element)
            def modelView = Stub(GradleBuild)
            def parameterType = ValidParameter
            def parameterInitializer = new Action<ValidParameter>() {
                @Override
                void execute(ValidParameter parameter) {
                    parameter.setValue("myValue")
                    parameter.setBooleanValue(true)
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 08:15:25 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxyTest.groovy

        }
    
        def "getter gets what setter sets"() {
            Class<?>[] classes = [ValidParameter]
            when:
            def parameter = Proxy.newProxyInstance(ValidParameter.getClassLoader(), classes, new ToolingParameterProxy())
    
            then:
            assert parameter instanceof ValidParameter
    
            when:
            parameter.setBooleanValue(true)
            parameter.setValue("myValue")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top