Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 154 for result_types (0.13 sec)

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

    import org.gradle.api.tasks.testing.TestResult.ResultType
    import spock.lang.Specification
    
    public class DefaultTestResultTest extends Specification {
    
        def "construct itself from the state"() {
            expect:
            def state = new TestState(new DefaultTestDescriptor("12", "FooTest", "shouldWork"), new TestStartEvent(100L), new HashMap());
            state.completed(new TestCompleteEvent(200L, ResultType.SKIPPED))
    
            when:
    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/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)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/FailFastTestListenerInternalTest.groovy

        }
    
        def "completed calls stopNow on failure"() {
            testResult.resultType = TestResult.ResultType.FAILURE
    
            when:
            unit.completed(testDescriptor, testResult, completeEvent)
    
            then:
            1 * testExecuter.stopNow()
        }
    
        def "completed invokes delegate with result #result"() {
            testResult.resultType = result
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/results/StateTrackingTestResultProcessorTest.groovy

            1 * listener.completed({it.descriptor == suite1}, { it.successfulTestCount == 1 && it.testCount == 1 && it.resultType == ResultType.SUCCESS}, _)
            1 * listener.completed({it.descriptor == suite2}, { it.successfulTestCount == 0 && it.testCount == 1 && it.resultType == ResultType.FAILURE}, _)
    
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/BlockingResultHandler.java

        private final BlockingQueue<Object> queue = new ArrayBlockingQueue<Object>(1);
        private final Class<T> resultType;
        private static final Object NULL = new Object();
    
        public BlockingResultHandler(Class<T> resultType) {
            this.resultType = resultType;
        }
    
        public T getResult() {
            Object result;
            try {
                result = queue.take();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestResultProcessorAdapter.java

            onTestFinished(iTestResult, TestResult.ResultType.SUCCESS);
        }
    
        @Override
        public void onTestFailure(ITestResult iTestResult) {
            onTestFinished(iTestResult, TestResult.ResultType.FAILURE);
        }
    
        @Override
        public void onTestSkipped(ITestResult iTestResult) {
            onTestFinished(iTestResult, TestResult.ResultType.SKIPPED);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/BuildableTestMethodResult.groovy

    import org.gradle.api.tasks.testing.TestResult
    
    class BuildableTestMethodResult extends TestMethodResult {
        List<Throwable> exceptions = []
    
        TestResult.ResultType resultType = TestResult.ResultType.SUCCESS
    
        private final List<MethodTestOutputEvent> outputEvents
    
        BuildableTestMethodResult(String name, List<MethodTestOutputEvent> outputEvents, TestResult result) {
            super(name, result)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/TestResult.java

        }
    
        @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() {
            return duration;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

      if (rhs_attr && is_valid_broadcasting(lhs_type, rhs_type, result_type)) {
        if (rhs_attr.isSplat() &&
            rhs_attr.getSplatValue<Attribute>() == identity_attr)
          return arithmetic_op.getX();
      }
    
      // Fold: Op(Identity, Operand) -> Operand for commutative operations.
      if (lhs_attr && is_commutative &&
          is_valid_broadcasting(rhs_type, lhs_type, result_type)) {
        if (lhs_attr.isSplat() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/unicode/bidi/core.go

    		p.matchingIsolateInitiator[i] = -1
    	}
    
    	for i := range p.matchingPDI {
    		p.matchingPDI[i] = -1
    
    		if t := p.resultTypes[i]; t.in(LRI, RLI, FSI) {
    			depthCounter := 1
    			for j := i + 1; j < p.Len(); j++ {
    				if u := p.resultTypes[j]; u.in(LRI, RLI, FSI) {
    					depthCounter++
    				} else if u == PDI {
    					if depthCounter--; depthCounter == 0 {
    						p.matchingPDI[i] = j
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 29.4K bytes
    - Viewed (0)
Back to top