Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 437 for locations (0.37 sec)

  1. platforms/documentation/docs/src/snippets/testing/junit-xml-results/kotlin/build.gradle.kts

    dependencies {
        testImplementation("junit:junit:4.13")
    }
    
    // tag::configure-location-task[]
    tasks.test {
        reports {
            junitXml.outputLocation = layout.buildDirectory.dir("test-junit-xml")
        }
    }
    // end::configure-location-task[]
    
    // tag::configure-location-convention[]
    java.testResultsDir = layout.buildDirectory.dir("junit-xml")
    // end::configure-location-convention[]
    
    // tag::configure-content[]
    tasks.test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:56 UTC 2024
    - 802 bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/InvalidInstallationWarningReporterTest.groovy

            def location = InstallationLocation.userDefined(new File("_"), "_")
            def metadata = Mock(JvmInstallationMetadata) {
                isValidInstallation() >> isValid
            }
    
            when:
            reporter.accept(location, metadata)
    
            then:
            isReported * mockLogger.warn(_ as String, location.displayName)
    
            where:
            isValid << [false, true]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/JvmInstallationProblemReporterTest.groovy

        def location = new TestFile("location")
        def logger = Mock(Logger)
    
        def "only reports problems once"() {
            when:
            problemReporter.reportProblemIfNeeded(logger, InstallationLocation.userDefined(location, "source"), "message")
            problemReporter.reportProblemIfNeeded(logger, InstallationLocation.userDefined(location, "source"), "message")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/ProblemLocationAnalyzer.java

    import org.gradle.problems.Location;
    
    import javax.annotation.Nullable;
    
    @ServiceScope(Scope.BuildTree.class)
    public interface ProblemLocationAnalyzer {
        /**
         * Calculates the location for a problem with the given stack.
         * @return A display name for the location or null for an unknown location.
         */
        @Nullable
        Location locationForUsage(Failure failure, boolean fromException);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/ReportingJvmMetadataDetectorTest.groovy

            given:
            def location = InstallationLocation.userDefined(new File("jdkHome"), "test")
            def metadata = Mock(JvmInstallationMetadata)
            def reporter = Mock(BiConsumer)
            def delegate = Mock(JvmMetadataDetector)
    
            def detector = new ReportingJvmMetadataDetector(delegate, reporter)
    
            when:
            def actual1 = detector.getMetadata(location)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblemCollector.java

                String message,
                InputLocation location,
                Exception exception) {
            int line = -1;
            int column = -1;
            String source = null;
            String modelId = null;
    
            if (location != null) {
                line = location.getLineNumber();
                column = location.getColumnNumber();
                if (location.getSource() != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListenerTest.groovy

            then:
            1 * spec.fileLocation("SomeFile.java")
            // With a column number, the line-only location should not be reported ...
            0 * spec.lineInFileLocation("SomeFile.java", 1)
            // ... but the line and column location should be
            1 * spec.lineInFileLocation("SomeFile.java", 1, 1)
            0 * spec.lineInFileLocation(_, _, _, _)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 13:58:13 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/main/java/org/gradle/wrapper/GradleWrapperMain.java

        }
    
        private static File wrapperJar() {
            URI location;
            try {
                location = GradleWrapperMain.class.getProtectionDomain().getCodeSource().getLocation().toURI();
            } catch (URISyntaxException e) {
                throw new RuntimeException(e);
            }
            if (!location.getScheme().equals("file")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/DefaultProblemFactory.kt

                    }
                    val location = locationMapper(locationForCaller(consumer, diagnostics))
                    return PropertyProblem(location, message, diagnostics.exception, diagnostics.failure, documentationSection)
                }
            }
        }
    
        private
        fun locationForCaller(consumer: String?, diagnostics: ProblemDiagnostics): PropertyTrace {
            val location = diagnostics.location
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/rest/subresources.go

    	proxyOpts, ok := opts.(*api.PodProxyOptions)
    	if !ok {
    		return nil, fmt.Errorf("Invalid options object: %#v", opts)
    	}
    	location, transport, err := pod.ResourceLocation(ctx, r.Store, r.ProxyTransport, id)
    	if err != nil {
    		return nil, err
    	}
    	location.Path = net.JoinPreservingTrailingSlash(location.Path, proxyOpts.Path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top