Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 632 for CONSTRUCTOR (0.16 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestReportIntegrationTest.groovy

            clazz.assertTestCaseStderr("m1", is("constructor err\nbeforeTest err\nm1 err\nafterTest err\n"))
            clazz.assertTestCaseStderr("m2", is("constructor err\nbeforeTest err\nm2 err\nafterTest err\n"))
            clazz.assertTestCaseStdout("m1", is("constructor out\nbeforeTest out\nm1 out\nafterTest out\n"))
            clazz.assertTestCaseStdout("m2", is("constructor out\nbeforeTest out\nm2 out\nafterTest out\n"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/DefaultLibraryComponentSelectorTest.groovy

        }
    
        def "cannot be instantiated with null project constructor parameter value"() {
            when:
            new DefaultLibraryComponentSelector(null, 'myLib')
    
            then:
            Throwable t = thrown(AssertionError)
            t.message == 'project path cannot be null or empty'
        }
    
        def "cannot be instantiated with empty project constructor parameter value"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts

            myProperty.set("Hello, Gradle!")
            println(myProperty.get())
        }
    }
    // end::object-factory[]
    
    // tag::object-factory-inject[]
    abstract class MyObjectFactoryTask
    @Inject constructor(private var objectFactory: ObjectFactory) : DefaultTask() {
    
        @TaskAction
        fun doTaskAction() {
            val outputDirectory = objectFactory.directoryProperty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/ITaskFactory.java

    public interface ITaskFactory {
        ITaskFactory createChild(ProjectInternal project, InstantiationScheme instantiationScheme);
    
        /**
         * @param constructorArgs null == do not invoke constructor, empty == invoke constructor with no args, non-empty = invoke constructor with args
         */
        <S extends Task> S create(TaskIdentity<S> taskIdentity, @Nullable Object[] constructorArgs);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 06:37:12 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultMethodModelRuleExtractionContext.java

        }
    
        @Override
        public void add(Method method, String role, String problem) {
            problems.add(method, role, problem);
        }
    
        @Override
        public void add(Constructor<?> constructor, String problem) {
            problems.add(constructor, problem);
        }
    
        @Override
        public void add(MethodRuleDefinition<?, ?> method, String problem) {
            problems.add(method, problem);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByDelegatedMemberScope/delegation.txt

    fun x(): Int fromClass BB
    
    fun y() fromClass BB
    
    val c: Int fromClass BB
    
    constructor(a: A<Int>) fromClass BB
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Nov 22 17:25:30 UTC 2022
    - 143 bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

            }
        }
    
        private
        val reportedMembers = listOf(
            "Class" to "AddedClass"
        ) + reportedMembersFor("AddedClass") + listOf(
            "Constructor" to "AddedClass(java.lang.String)",
            "Constructor" to "AddedClass()",
            "Class" to "AddedEnum",
            "Field" to "FOO"
        ) + reportedMembersFor("AddedEnum", isEnum = true) + listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/StructBindingExtractionContext.java

        }
    
        @Override
        public void add(Method method, String problem) {
            add(method, null, problem);
        }
    
        @Override
        public void add(Constructor<?> constructor, String problem) {
            problems.add(constructor, problem);
        }
    
        @Override
        public void add(String property, String problem) {
            problems.add("Property '" + property + "' is not valid: " + problem);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/string_util.h

    struct LoggableOperation {
      mlir::Operation& v;
      // NOLINTNEXTLINE(google-explicit-constructor)
      LoggableOperation(mlir::Operation& v) : v(v) {}
    };
    std::ostream& operator<<(std::ostream& o, const LoggableOperation& op);
    
    struct LoggableAttribute {
      mlir::Attribute& v;
      // NOLINTNEXTLINE(google-explicit-constructor)
      LoggableAttribute(mlir::Attribute& v) : v(v) {}
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 15 19:47:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/groovy/build.gradle

    abstract class GreetingTask extends DefaultTask {
        // tag::convention-callsites-from-constructor[]
        // setting convention from constructor
        @Input
        abstract Property<String> getGuest()
    
        GreetingTask() {
            guest.convention("person2")
        }
        // end::convention-callsites-from-constructor[]
    
        // tag::convention-callsites-from-declaration[]
        // setting convention from declaration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top