Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 206 for methodName2 (0.23 sec)

  1. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultTestDescriptor.java

            this.testKind = testKind;
            this.suiteName = suiteName;
            this.className = className;
            this.methodName = methodName;
            this.parentId = parentId;
            this.taskPath = taskPath;
        }
    
        @Override
        public OperationIdentifier getId() {
            return id;
        }
    
        @Override
        public String getName() {
            return operationName;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 07:45:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/AbstractOptionIntegrationSpec.groovy

            String methodName = propertyType.substring(0, 1).toLowerCase() + propertyType.substring(1)
    
            """
                public class SampleTask extends DefaultTask {
                    @Internal
                    @Option(option = "myProp", description = "Configures command line option 'myProp'.")
                    final $propertyType<$optionType> myProp = project.objects.$methodName($optionType)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 09:40:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java

            return new DefaultTestDescriptor(id, className(description), methodName(description));
        }
    
        private static TestDescriptorInternal nullSafeDescriptor(Object id, Description description) {
            String methodName = methodName(description);
            if (methodName != null) {
                return new DefaultTestDescriptor(id, className(description), methodName);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/StackTraceElementPlaceholder.java

            declaringClass = ste.getClassName();
            methodName = ste.getMethodName();
            fileName = ste.getFileName();
            lineNumber = ste.getLineNumber();
        }
    
        public StackTraceElement toStackTraceElement() {
            if (JavaVersion.current().isJava9Compatible()) {
                return new StackTraceElement(classLoaderName, moduleName, moduleVersion, declaringClass, methodName, fileName, lineNumber);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/MathPreconditions.java

      }
    
      static void checkNoOverflow(boolean condition, String methodName, int a, int b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
      static void checkNoOverflow(boolean condition, String methodName, long a, long b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGenerator.java

            public UpgradedProperty(String containingType, String propertyName, String methodName, String methodDescriptor, List<ReplacedAccessor> replacedAccessors) {
                this.containingType = containingType;
                this.propertyName = propertyName;
                this.methodName = methodName;
                this.methodDescriptor = methodDescriptor;
                this.replacedAccessors = replacedAccessors;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. subprojects/core-api/src/testFixtures/groovy/org/gradle/api/tasks/util/AbstractTestForPatternSet.groovy

        }
    
        void checkIncludesExcludes(PatternFilterable patternSet, String methodName, String propertyName) {
            assert patternSet."$methodName"(TEST_PATTERN_1, TEST_PATTERN_2).is(patternSet)
            assert patternSet."$propertyName" == [TEST_PATTERN_1, TEST_PATTERN_2] as Set
    
            assert patternSet."$methodName"(TEST_PATTERN_3).is(patternSet)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:53:27 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/StackTraceFilterTest.groovy

            spec.isSatisfiedBy(_) >> { StackTraceElement elem -> elem.methodName.size() > 10 }
    
            when:
            def filtered = filter.filter(trace)
    
            then:
            filtered.size() > 0
            filtered.size() < trace.size()
            filtered == trace.findAll { StackTraceElement elem -> elem.methodName.size() > 10 }
        }
    
        def "filters stack trace in invocation order (bottom to top)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                }
                String methodName = cells.get(0).getTextContent().trim();
                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
                if (methods.isEmpty()) {
                    throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/plugin/use/internal/PluginUseScriptBlockMetadataCompiler.java

                    }
    
                    if (call.getMethod() instanceof ConstantExpression) {
                        ConstantExpression methodName = (ConstantExpression) call.getMethod();
                        if (isOfType(methodName, String.class)) {
                            String methodNameText = methodName.getText();
                            switch (methodNameText) {
                                case "alias":
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 28 01:30:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top