Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertVersion (0.14 sec)

  1. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/git/internal/SourceDependencyCleanupIntegrationTest.groovy

            def trashFile = checkout.file("trash")
            trashFile.text = "junk"
    
            when:
            succeeds("assertVersion", "-PrepoVersion=1.0")
            then:
            trashFile.assertExists()
    
            when:
            cleanupNow()
            succeeds("assertVersion", "-PrepoVersion=1.0")
            then:
            // checkout was used recently, so it should still be kept around
            trashFile.assertExists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoVersionCompatibilityIntegrationTest.groovy

            javaProjectUnderTest.writeSourceFiles()
    
            when:
            succeeds('test', 'jacocoTestReport')
    
            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/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportFixture.groovy

            return Integer.parseInt(numberOfClasses)
        }
    
        String sourceCode(String pkg, String file) {
            return htmlDir.file("${pkg}/${file}.html").getText('UTF-8')
        }
    
        boolean assertVersion(String version) {
            String jacocoVersion = jacocoVersion()
            // Newer versions of JaCoCo include the timestamp in the rendered report
            jacocoVersion == version || jacocoVersion.startsWith(version)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top