Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getResultType (0.19 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/TestResultModel.java

    public abstract class TestResultModel {
    
        public abstract TestResult.ResultType getResultType();
    
        public abstract long getDuration();
    
        public abstract String getTitle();
    
        public String getFormattedDuration() {
            return TimeFormatting.formatDurationVeryTerse(getDuration());
        }
    
        public String getStatusClass() {
            switch (getResultType()) {
                case SUCCESS:
                    return "success";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriter.java

                    final TestMethodResult lastExecution = groupedExecution.get(groupedExecution.size() - 1);
                    final boolean allFailed = lastExecution.getResultType() == TestResult.ResultType.FAILURE;
    
                    // https://maven.apache.org/components/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:57 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestClassResult.java

            return classDisplayName;
        }
    
        public TestClassResult add(TestMethodResult methodResult) {
            if (methodResult.getResultType() == TestResult.ResultType.FAILURE) {
                failuresCount++;
            }
            if(methodResult.getResultType() == TestResult.ResultType.SKIPPED) {
                skippedCount++;
            }
            methodResults.add(methodResult);
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/results/TestState.java

        }
    
        public void completed(TestCompleteEvent event) {
            this.completeEvent = event;
            resultType = isFailed() ? TestResult.ResultType.FAILURE
                    : event.getResultType() != null ? event.getResultType() : TestResult.ResultType.SUCCESS;
    
            if (!test.isComposite()) {
                testCount = 1;
                switch (resultType) {
                    case SUCCESS:
                        successfulCount = 1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTaskSpec.groovy

                processor.completed(testId, Stub(TestCompleteEvent) {
                    getResultType() >> TestResult.ResultType.FAILURE
                })
                processor.started(suiteDescriptor, startEvent)
                processor.completed(testId, Stub(TestCompleteEvent) {
                    getResultType() >> TestResult.ResultType.SUCCESS
                })
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

      }
    
      auto value_type = GetResultType(func, 0);
      if (!RankEquals(value_type, 1) ||
          !mlir::isa<StringType>(value_type.getElementType())) {
        return func.emitError() << "1st output should be string tensor";
      }
      if (func.getNumResults() > 1) {
        auto offset_type = GetResultType(func, 1);
        if (!RankEquals(offset_type, 1) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/TestCompleteEvent.java

            this.endTime = endTime;
            this.resultType = resultType;
        }
    
        public long getEndTime() {
            return endTime;
        }
    
        @Nullable
        public TestResult.ResultType getResultType() {
            return resultType;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestMethodResult.java

            this.resultType = resultType;
            this.duration = duration;
            this.endTime = endTime;
        }
    
        public TestMethodResult completed(TestResult result) {
            resultType = result.getResultType();
            duration = result.getEndTime() - result.getStartTime();
            endTime = result.getEndTime();
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollector.java

        @Override
        public void afterSuite(TestDescriptor suite, TestResult result) {
            List<TestOutputEvent> outputEvents = pendingOutputEvents.removeAll(((TestDescriptorInternal) suite).getId());
            if (result.getResultType() == TestResult.ResultType.FAILURE && !result.getExceptions().isEmpty()) {
                //there are some exceptions attached to the suite. Let's make sure they are reported to the user.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/TestResult.java

        public String getDisplayName() {
            return displayName;
        }
    
        @Override
        public String getTitle() {
            return "Test " + name;
        }
    
        @Override
        public ResultType getResultType() {
            if (ignored) {
                return ResultType.SKIPPED;
            }
            return failures.isEmpty() ? ResultType.SUCCESS : ResultType.FAILURE;
        }
    
        @Override
        public long getDuration() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top