Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,085 for CONSTRUCTOR (0.24 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/DefaultLibraryBinaryIdentifierTest.groovy

        }
    
        def "is instantiated with null project constructor parameter value"() {
            when:
            new DefaultLibraryBinaryIdentifier(null, 'foo', 'api')
    
            then:
            Throwable t = thrown(AssertionError)
            t.message == 'project path cannot be null'
        }
    
        def "is instantiated with null library constructor parameter value"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

        }
    
        def "can construct a custom task with constructor arguments"() {
            given:
            buildFile << CUSTOM_TASK_WITH_CONSTRUCTOR_ARGS
            buildFile << "tasks.create('myTask', CustomTask, 'hello', 42)"
    
            when:
            run 'myTask'
    
            then:
            outputContains("hello 42")
        }
    
        def "can construct a custom task with constructor arguments as #description via Map"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutated.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> (p0:<root>.Test) returnType:kotlin.Unit
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Aug 30 06:38:44 UTC 2023
    - 966 bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Constructor;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.ConstructorDesc;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ConstructorDescTest {
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy

                public class FooTest {
                    static { System.out.println("static out"); System.err.println("static err"); }
    
                    public FooTest() {
                        System.out.println("constructor out"); System.err.println("constructor err");
                    }
    
                    @BeforeClass public static void beforeClass() {
                        System.out.println("beforeClass out"); System.err.println("beforeClass err");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/GroovyDynamicDispatchingInterceptingTest.groovy

        }
    
        def 'invoking a closure constructor with a specific owner replaces the metaclass of the delegate'() {
            given:
            def transformedClosureClass = instrumentedClasses.instrumentedClosure {
                test()
            }
            def constructor = transformedClosureClass.class.getDeclaredConstructor(Object.class, Object.class)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiver.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> (p0:kotlin.String, p1:<root>.Foo) returnType:kotlin.Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Aug 30 06:38:44 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionMultipleCapturing.ir.txt

        CLASS CLASS name:Foo modality:FINAL visibility:public superTypes:[kotlin.Any]
          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Foo
          CONSTRUCTOR visibility:public <> () returnType:<root>.Foo [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleFunctionContextReceivers.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> (p0:<root>.Ctx1, p1:<root>.Ctx2) returnType:kotlin.Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

         */
        public static ParameterizedClassDesc createParameterizedClassDesc(final Constructor<?> constructor, final int index,
                final Map<TypeVariable<?>, Type> map) {
            assertArgumentNotNull("constructor", constructor);
            assertArgumentNotNull("map", map);
    
            return createParameterizedClassDesc(constructor.getGenericParameterTypes()[index], map);
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top