Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for broken3 (0.49 sec)

  1. platforms/documentation/docs/src/samples/ide/problems-api-usage/groovy/reporters/script-plugin/src/main/groovy/reporters.script.plugin.gradle

                    .solution("Please use 'warningTask2' instead of this task")
            }
        }
    }
    
    tasks.register('failingTask') {
        doLast {
            problems.forNamespace('buildscript').throwing {
                it.id('broken-task', 'Task should not be called')
                    .contextualLabel("Task 'failingTask' should not be called")
                    .severity(Severity.ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/ide/problems-api-usage/kotlin/reporters/script-plugin/src/main/kotlin/reporters/script.plugin.gradle.kts

                }
            }
        }
    
        val failingTask by registering {
            doLast {
                problems.forNamespace("buildscript").throwing {
                    id("broken-task", "Task should not be called")
                        .contextualLabel("Task 'failingTask' should not be called")
                        .severity(Severity.ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy

            then:
            def e = thrown(BuildActionFailureException)
            e.cause instanceof RuntimeException
            TextUtil.normaliseLineSeparators(e.cause.message) == """Multiple build operations failed.
        broken: one
        broken: two"""
        }
    
        def setupBuildWithDependencyResolution() {
            server.start()
    
            settingsFile << """
                rootProject.name = 'root'
                include 'a', 'b'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileMetadataAccessor.java

         * then the file type of the file metadata is of type
         * {@link org.gradle.internal.file.FileType#Missing}.
         * <p>
         * Such cases include:
         * <ul>
         *     <li>actual missing files</li>
         *     <li>broken symlinks</li>
         *     <li>circular symlinks</li>
         *     <li>named pipes</li>
         * </ul>
         */
        FileMetadata stat(File f);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/exceptions/ContextAwareExceptionTest.groovy

        }
    
        def "visitor visits causes of multi-cause exception"() {
            def childCause1 = new RuntimeException()
            def childCause2 = new RuntimeException()
            def cause = new DefaultMultiCauseException("broken", childCause1, childCause2)
            def e = new ContextAwareException(cause)
    
            when:
            e.accept(visitor)
    
            then:
            1 * visitor.visitCause(cause)
            1 * visitor.endVisiting()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 13:32:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/gradle/FileSpec.groovy

        String name
        // Url written in the Gradle Module Metadata
        String url
        // Url where this file will be published.
        // Normally publishUrl is the same as url, but it can be set differently for testing some broken behavior.
        String publishUrl
        String ext = 'jar'
    
        FileSpec(String name) {
            this(name, name, name)
        }
    
        FileSpec(String name, String url) {
            this(name, url, url)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModuleStateModificationListener.kt

         * The [KtModule] is being removed. Because this event is published before the removal, the [KtModule] can still be accessed to clear
         * caches. It should be removed from any caches managed by the subscriber to avoid stale or broken keys/values.
         */
        REMOVAL,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/result/DefaultResolutionResultTest.groovy

                Stub(Path),
                Stub(Path),
                'test project'
            )
            def mid = DefaultModuleVersionIdentifier.newId("foo", "bar", "1.0")
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def dep = new DefaultUnresolvedDependencyResult(
                Stub(ComponentSelector), false,
                Stub(ComponentSelectionReason),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

            replaceBody(new SendFixedContent(404, "not found"), null);
            return this;
        }
    
        @Override
        public BuildableExpectedRequest broken() {
            replaceBody(new SendFixedContent(500, "broken"), null);
            return this;
        }
    
        @Override
        public BuildableExpectedRequest send(String content) {
            replaceBody(new SendFixedContent(200, content), null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestEventSerializerTest.groovy

        }
    
        def "serializes Throwable"() {
            def failure = new GradleException("broken", new RuntimeException("cause"))
    
            when:
            def result = serialize(failure, Throwable)
    
            then:
            result.class == GradleException
            result.message == "broken"
            result.cause.class == RuntimeException
            result.cause.message == "cause"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top