Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for methodName2 (0.47 sec)

  1. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/DefaultTestMethodDescriptor.java

     */
    
    package org.gradle.api.internal.tasks.testing;
    
    public class DefaultTestMethodDescriptor extends DefaultTestDescriptor {
        public DefaultTestMethodDescriptor(Object id, String className, String methodName) {
            super(id, className, methodName);
        }
    
        @Override
        public String toString() {
            return "Test method " + getName() + "(" + getClassName() + ")";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1001 bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/AbstractTestingMultiVersionIntegrationTest.groovy

            return testSourceConfiguration.getRunOrExtendWithAnnotation(runOrExtendWithClasses)
        }
    
        String maybeParentheses(String methodName) {
            return testSourceConfiguration.maybeParentheses(methodName)
        }
    
        String getIgnoreOrDisabledAnnotation() {
            return testSourceConfiguration.getIgnoreOrDisabledAnnotation()
        }
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/MutationGuards.java

                return true;
            }
    
            @Override
            public void assertMutationAllowed(String methodName, Object target) {
                // do nothing
            }
    
            @Override
            public <T> void assertMutationAllowed(String methodName, T target, Class<T> targetType) {
                // do nothing
            }
        };
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 11 21:58:11 UTC 2018
    - 2K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/features/withstaticreference/WithExtensionReferencesReader.java

                            Type type = TypeUtils.extractType(typeMirror);
                            String methodName = extractMethodName(originalRequest, annotation);
                            originalRequest.getRequestExtras().add(new WithExtensionReferencesExtra(type, methodName));
                        }));
                });
            }
            return Collections.singletonList(originalRequest);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTestLauncherCrossVersionSpec.groovy

            then:
            assertTaskNotExecuted(":test")
            assertTaskExecuted(":included-build:test")
            assertTestExecuted(className: "example.IncludedTest", methodName: "foo2", task: ":included-build:test")
            assertTestNotExecuted(className: "example.IncludedTest", methodName: "foo")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/AbstractTestDirectoryProvider.java

            }
        }
    
        protected void init(String methodName) {
            if (methodName == null) {
                // must be a @ClassRule; use the rule's class name instead
                methodName = getClass().getSimpleName();
            }
            if (prefix == null) {
                String safeMethodName = shortenPath(methodName.replaceAll("[^\\w]", "_"), 16);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ModelBlockTransformer.java

                    if (methodCall == null) {
                        continue;
                    }
    
                    String methodName = AstUtils.extractConstantMethodName(methodCall);
                    if (methodName == null) {
                        continue;
                    }
    
                    if (methodName.equals(MODEL)) {
                        source.getErrorCollector().addError(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultTestLauncher.java

                @Override
                public InternalJvmTestRequest transform(String methodName) {
                    return new DefaultInternalJvmTestRequest(testClass, methodName, null);
                }
            });
            this.internalJvmTestRequests.addAll(newRequests);
            this.testClassNames.add(testClass);
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/DefaultParameterizedTestDescriptor.java

        private final String className;
        private final String displayName;
    
        public DefaultParameterizedTestDescriptor(Object id, String methodName, @Nullable String className, String displayName, CompositeIdGenerator.CompositeId parentId) {
            super(id, methodName);
            this.className = className;
            this.displayName = displayName;
            this.parentId = parentId;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/TestFailureMapper.java

         */
        @Nullable
        protected static <T> T invokeMethod(@Nullable Object obj, String methodName, Class<T> targetClass) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
            if (obj == null) {
                return null;
            }
    
            Method method = obj.getClass().getMethod(methodName);
            Object result = method.invoke(obj);
            if (result == null) {
                return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:48:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top