Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,393 for METHOD (0.11 sec)

  1. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/GradleRunner.java

     * <p>
     * Typically, the test code using the runner will programmatically create a build (e.g. by writing Gradle build files to a temporary space) to execute.
     * The build to execute is effectively specified by the {@link #withProjectDir(File)}} method.
     * It is a requirement that a project directory be set.
     * <p>
     * The {@link #withArguments(String...)} method allows the build arguments to be specified,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    				if index >= t.NumMethods() {
    					return nil, fmt.Errorf("method index %d out of range [0-%d)", index, t.NumMethods())
    				}
    				obj = t.Method(index) // Id-ordered
    
    			case *types.Named:
    				if index >= t.NumMethods() {
    					return nil, fmt.Errorf("method index %d out of range [0-%d)", index, t.NumMethods())
    				}
    				obj = t.Method(index)
    
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

            private String generateTestMethod(AbstractJUnitCategoriesOrTagsCoverageIntegrationSpec.TestMethod method) {
                return """
                    @Test
                    ${method.isIgnoredOrDisabled ? "@Ignore" : ""}
                    ${categoryAnnotation(method.categoriesOrTags)}
                    public void ${method.name}() {
                        ${method.shouldPass ? "assert true;" : "assert false;"}
                    }
                """
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy

            assert path.startsWith('/')
            assert path == request.pathInfo
            assert stubRequest.headers["x-amz-acl"] == request.getHeader("x-amz-acl")
            assert stubRequest.method == request.method
            assert stubRequest.params.every {
                request.getParameterMap()[it.key] == it.value
            }
        }
    
        boolean requestMatches(HttpStub httpStub, HttpServletRequest request) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  5. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

            // Bind inner providers
            for (Method method : key.getRawType().getDeclaredMethods()) {
                if (method.isAnnotationPresent(Provides.class)) {
                    if (method.getTypeParameters().length != 0) {
                        throw new DIException("Parameterized method are not supported " + method);
                    }
                    Object qualifier = ReflectionUtils.qualifierOf(method);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code
       * Optional.orElseGet}, except when {@code supplier} returns {@code null}. In this case this
       * method throws an exception, whereas the Java 8+ method returns the {@code null} to the caller.
       *
       * @throws NullPointerException if this optional's value is absent and the supplier returns {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestResultProcessorAdapter.java

                    testClassInfo.put(testClass, new TestClassInfo(testInternal.getId()));
                    parentId = xmlTestIds.get(testClass.getXmlTest());
                    for (ITestNGMethod method : testClass.getTestMethods()) {
                        testMethodParentId.put(method, testInternal.getId());
                    }
                }
            }
            if (testInternal != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    A property may be _mutable_, meaning that it has both a `get()` method and `set()` method:
    
    ====
    include::sample[dir="snippets/providers/property/kotlin",files="build.gradle.kts[tags=prop-managed]"]
    include::sample[dir="snippets/providers/property/groovy",files="build.gradle[tags=prop-managed]"]
    ====
    
    Or _read-only_, meaning that it has only a `get()` method.
    The _read-only_ properties are _providers_:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code
       * Optional.orElseGet}, except when {@code supplier} returns {@code null}. In this case this
       * method throws an exception, whereas the Java 8+ method returns the {@code null} to the caller.
       *
       * @throws NullPointerException if this optional's value is absent and the supplier returns {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

            expect:
            assertValidationFailsWith([
                error(methodShouldNotBeAnnotatedConfig { type('MyTask').kind('method').method('notAGetter').annotation('Input') }, 'validation_problems', 'ignored_annotations_on_method'),
                error(methodShouldNotBeAnnotatedConfig { type('MyTask.Options').kind('method').method('notANestedGetter').annotation('Input') }, 'validation_problems', 'ignored_annotations_on_method'),
            ])
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
Back to top