Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertionFailures (0.25 sec)

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

            1 * resultProcessor.failure('id', !null) >> { args ->
                def e = args[1]
                assert e instanceof DefaultTestFailure
                assert !e.details.assertionFailure
                assert e.rawFailure instanceof TestSuiteExecutionException
                assert e.rawFailure.message == 'Could not start <suite>.'
                assert e.rawFailure.cause == failure
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/DefaultTestFailureTest.groovy

                causes.empty
                rawFailure == placeholder
                with(details) {
                    message == "custom message"
                    className == "com.acme.OriginalException"
                    !assertionFailure
                    stacktrace != null
                    expected == null
                    actual == null
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestEventSerializerTest.groovy

            when:
            TestFailure result = serialize(failure, DefaultTestFailure)
    
            then:
            result.rawFailure.message == 'cause'
            result.details.assertionFailure == true
            result.details.message == 'cause'
            result.details.expected == 'expectedValue'
            result.details.actual == 'actualValue'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top