Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkAssertions (0.2 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

            testResults.suites['hello test'].passingTests == ['test_sum']
            testResults.suites['hello test'].failingTests == []
            testResults.checkTestCases(1, 1, 0)
            testResults.checkAssertions(3, 3, 0)
        }
    
        @ToBeFixedForConfigurationCache
        def "assemble does not build or run tests"() {
            given:
            useConventionalSourceLocations()
            useStandardConfig()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitSamplesIntegrationTest.groovy

            passingResults.suites['operator tests'].passingTests == ['test_plus', 'test_minus']
            passingResults.suites['operator tests'].failingTests == []
            passingResults.checkTestCases(2, 2, 0)
            passingResults.checkAssertions(6, 6, 0)
    
            when:
            sample cunit
            fails "runOperatorsTestFailingCUnitExe"
    
            then:
            skipped ":operatorsTestCUnitLauncher"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitTestResults.groovy

            suites.keySet() as List
        }
    
        def checkTestCases(int total, int succeeded, int failed) {
            checkSummaryRecord('Test Cases', total, succeeded, failed)
        }
    
        def checkAssertions(int total, int succeeded, int failed) {
            checkSummaryRecord('Assertions', total, succeeded, failed)
        }
    
        private def checkSummaryRecord(String name, int total, int succeeded, int failed) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top