Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getThrowable (0.21 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestResultProcessorAdapter.java

            }
            resultProcessor.started(testInternal, new TestStartEvent(iTestResult.getStartMillis(), parentId));
    
            if (iTestResult.getThrowable() instanceof UnrepresentableParameterException) {
                throw (UnrepresentableParameterException) iTestResult.getThrowable();
            }
        }
    
        private String calculateTestCaseName(ITestResult iTestResult) {
            Object[] parameters = iTestResult.getParameters();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/LogEvent.java

            this.throwable = throwable;
        }
    
        @Override
        public String getMessage() {
            return message;
        }
    
        @Override
        @Nullable
        public Throwable getThrowable() {
            return throwable;
        }
    
        @Override
        public void render(StyledTextOutput output) {
            output.text(message);
            output.println();
            if (throwable != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise-workers/src/main/java/org/gradle/internal/operations/logging/LogEventBuildOperationProgressDetails.java

    /**
     * Build operation observer's view of {@code org.gradle.internal.logging.events.LogEvent}.
     *
     * @since 7.4
     */
    public interface LogEventBuildOperationProgressDetails {
        String getMessage();
    
        Throwable getThrowable();
    
        String getCategory();
    
        LogEventLevel getLevel();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 955 bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/GradleExecutionResult.java

            return buildOperationParameters;
        }
    
        public String getOutput() {
            return output;
        }
    
        public List<BuildTask> getTasks() {
            return tasks;
        }
    
        public Throwable getThrowable() {
            return throwable;
        }
    
        public boolean isSuccessful() {
            return throwable == null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/LogEventSerializer.java

            encoder.writeString(event.getCategory());
            logLevelSerializer.write(encoder, event.getLogLevel());
            encoder.writeNullableString(event.getMessage());
            throwableSerializer.write(encoder, event.getThrowable());
            if (event.getBuildOperationId() == null) {
                encoder.writeBoolean(false);
            } else {
                encoder.writeBoolean(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

          throws Exception {
        checkNotNull(expected);
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertEquals(expected, getResponse(methodName).getThrowable().getClass());
      }
    
      /**
       * Causes this thread to call the named method, and asserts that this thread becomes blocked on
       * the lock-like object. The lock-like object must have a method equivalent to {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TestThread.java

          throws Exception {
        checkNotNull(expected);
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertEquals(expected, getResponse(methodName).getThrowable().getClass());
      }
    
      /**
       * Causes this thread to call the named method, and asserts that this thread becomes blocked on
       * the lock-like object. The lock-like object must have a method equivalent to {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/BuildOperationAwareLogger.java

        private void log(LogLevel logLevel, Throwable throwable, String format, Object[] args) {
            FormattingTuple tuple = MessageFormatter.arrayFormat(format, args);
            Throwable loggedThrowable = throwable == null ? tuple.getThrowable() : throwable;
            log(logLevel, loggedThrowable, tuple.getMessage());
        }
    
        @Override
        public void debug(String message) {
            if (isDebugEnabled()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestExecutionListener.java

                return;
            }
            if (testExecutionResult.getStatus() == FAILED) {
                reportStartedUnlessAlreadyStarted(testIdentifier);
                Throwable failure = testExecutionResult.getThrowable().orElseGet(() -> new AssertionError("test failed but did not report an exception"));
                if (testIdentifier.isTest()) {
                    reportTestFailure(testIdentifier, failure);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:25 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/DefaultContextAwareTaskLogger.java

        private void log(LogLevel logLevel, Throwable throwable, String format, Object[] args) {
            FormattingTuple tuple = MessageFormatter.arrayFormat(format, args);
            Throwable loggedThrowable = throwable == null ? tuple.getThrowable() : throwable;
    
            log(logLevel, loggedThrowable, tuple.getMessage());
        }
    
        @Override
        public void debug(String message) {
            if (isDebugEnabled()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top