Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for JacocoReportFixture (0.29 sec)

  1. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportFixture.groovy

     */
    
    package org.gradle.testing.jacoco.plugins.fixtures
    
    import org.gradle.test.fixtures.file.TestFile
    import org.jsoup.Jsoup
    
    class JacocoReportFixture {
        private static final String NON_BREAKING_WHITESPACE = '\u00A0'
        private final TestFile htmlDir
    
        JacocoReportFixture(TestFile htmlDir) {
            this.htmlDir = htmlDir
        }
    
        boolean exists() {
            htmlDir.file("index.html").exists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoVersionCompatibilityIntegrationTest.groovy

            then:
            def report = htmlReport()
            report.totalCoverage() == 100
            report.assertVersion(version)
        }
    
        private JacocoReportFixture htmlReport(String basedir = "build/reports/jacoco/test/html") {
            return new JacocoReportFixture(file(basedir))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginIntegrationTest.groovy

            then:
            executedAndNotSkipped(":jacocoTestReport")
            htmlReport().exists()
            reportResourceDir.exists()
        }
    
        private JacocoReportFixture htmlReport(String basedir = "${REPORTING_BASE}/jacoco/test/html") {
            return new JacocoReportFixture(file(basedir))
        }
    
        def "reports miss configuration of destination file"() {
            given:
            buildFile << """
                test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.groovy

            where:
            encoding     || match
            'UTF-8'      || true
            'ISO-8859-1' || false
        }
    
        private JacocoReportFixture htmlReport(String basedir = "${REPORTING_BASE}/jacoco/test/html") {
            return new JacocoReportFixture(file(basedir))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top