Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 130 for resultType (0.22 sec)

  1. 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)
  2. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

            }
        }
    
        void has(boolean started, Class<?> type, Predicate<? super Map<String, ?>> payloadTest) {
            def typedOps = recordedOps.findAll { op ->
                return started ? op.detailsType == type.name : op.resultType == type.name
            }
    
            assert typedOps.size() > 0: "no operations of type $type"
    
            if (payloadTest != null) {
                def tested = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestOperationMapper.java

            } else {
                return testDescriptor;
            }
        }
    
        private static AbstractTestResult adapt(TestResult result) {
            TestResult.ResultType resultType = result.getResultType();
            switch (resultType) {
                case SUCCESS:
                    return new DefaultTestSuccessResult(result.getStartTime(), result.getEndTime());
                case SKIPPED:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

      list<OpBuilder> builders = [
        OpBuilder<(ins "Value":$x, "Value":$y),
        [{
      auto resultType =
          OpTrait::util::getBroadcastedType(x.getType(), y.getType());
      if (!resultType) {
        mlir::emitError($_state.location, "non-broadcastable operands");
        resultType = $_builder.getNoneType();
      }
      return build($_builder, $_state, resultType, x, y);
    }]>];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    	//
    	// Requires establishes a "horizontal" dependency between
    	// analysis passes (different analyzers, same package).
    	Requires []*Analyzer
    
    	// ResultType is the type of the optional result of the Run function.
    	ResultType reflect.Type
    
    	// FactTypes indicates that this analyzer imports and exports
    	// Facts of the specified concrete types.
    	// An analyzer that uses facts may assume that its import
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestCountLoggerTest.groovy

        }
    
        private result(boolean failed = false) {
            [getTestCount: { 1L }, getFailedTestCount: { failed ? 1L : 0L }, getSkippedTestCount: { 0L },
                    getResultType: { failed ? TestResult.ResultType.FAILURE : TestResult.ResultType.SUCCESS }] as TestResult
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestResult.java

     */
    public interface TestResult {
        /**
         * The final status of a test.
         */
        public enum ResultType {
            SUCCESS, FAILURE, SKIPPED
        }
    
        /**
         * Returns the type of result.  Generally one wants it to be SUCCESS!
         *
         * @return The result type.
         */
        ResultType getResultType();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestListenerIntegrationTest.groovy

                    void beforeTest(TestDescriptor test) { println "START [\$test] [\$test.name]" }
                    void afterTest(TestDescriptor test, TestResult result) { println "FINISH [\$test] [\$test.name] [\$result.resultType] [\$result.testCount] [\$result.exception]" }
                }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/TestResultModel.java

    package org.gradle.api.internal.tasks.testing.report;
    
    import org.gradle.api.tasks.testing.TestResult;
    import org.gradle.internal.time.TimeFormatting;
    
    public abstract class TestResultModel {
    
        public abstract TestResult.ResultType getResultType();
    
        public abstract long getDuration();
    
        public abstract String getTitle();
    
        public String getFormattedDuration() {
            return TimeFormatting.formatDurationVeryTerse(getDuration());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go

    			t.Errorf("Forbidden response body(%#v...)\n expected: %v\ngot:       %v", test.attributes, test.expected, result)
    		}
    		//nolint:staticcheck // SA1019 backwards compatibility
    		resultType := observer.HeaderMap.Get("Content-Type")
    		if resultType != test.contentType {
    			t.Errorf("Forbidden content type(%#v...) != %#v, got %#v", test.attributes, test.expected, result)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 29 07:45:20 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top