Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PlaceholderException (0.33 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy

                at ClassName.testName(MyTest.java:22)
    """
        }
    
        def "formats PlaceholderException correctly"() {
            testLogging.getShowCauses() >> true
            testLogging.getShowStackTraces() >> true
            testLogging.getStackTraceFilters() >> EnumSet.of(TestStackTraceFilter.ENTRY_POINT)
    
            def cause = new PlaceholderException(RuntimeException.name, "oops", null, "java.lang.RuntimeException: oops", null, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollectorSpec.groovy

    package org.gradle.api.internal.tasks.testing.junit.result
    
    import org.gradle.api.internal.tasks.testing.*
    import org.gradle.api.internal.tasks.testing.results.DefaultTestResult
    import org.gradle.internal.serialize.PlaceholderException
    import spock.lang.Issue
    import spock.lang.Specification
    
    import static java.util.Arrays.asList
    import static org.gradle.api.tasks.testing.TestOutputEvent.Destination.StdErr
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy

    import org.gradle.internal.logging.events.UserInputResumeEvent
    import org.gradle.internal.logging.events.YesNoQuestionPromptEvent
    import org.gradle.internal.serialize.DefaultSerializer
    import org.gradle.internal.serialize.PlaceholderException
    import org.gradle.internal.serialize.Serializer
    import org.gradle.internal.serialize.SerializerSpec
    import org.gradle.launcher.daemon.diagnostics.DaemonDiagnostics
    import org.gradle.launcher.exec.BuildActionResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

                def Object o = new Object()
            }
    
            when:
            def transported = transport(broken)
    
            then:
            transported.class == PlaceholderException
            transported.cause == null
            transported.stackTrace.length == 0
    
            when:
            transported.message
    
            then:
            RuntimeException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                    } else {
                        placeholder = new PlaceholderException(type, message, getMessageExec, toString, toStringRuntimeExec, causes.isEmpty() ? null : causes.get(0));
                    }
                }
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top