- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for assertResultsEqual (0.23 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractTaskRelocationIntegrationTest.groovy
skipped(taskName) when: removeResults() succeeds taskName def movedResults = extractResults() then: executedAndNotSkipped taskName assertResultsEqual originalResults, movedResults } abstract protected String getTaskName() abstract protected void setupProjectInOriginalLocation() abstract protected void moveFilesAround()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractProjectRelocationIntegrationTest.groovy
when: "comparing the (normalized) results from the original execution and the relocated one" def relocatedResults = extractResultsFrom(relocatedDir) then: "the two results should be the same" assertResultsEqual originalResults, relocatedResults } abstract protected String getTaskName() abstract protected void setupProjectIn(TestFile projectDir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoTestRelocationIntegrationTest.groovy
} @Override protected extractResultsFrom(TestFile projectDir) { projectDir.file("build/jacoco/test.exec").bytes } @Override protected void assertResultsEqual(def originalResult, def movedResult) { byte[] originalBytes = originalResult byte[] movedBytes = movedResult def originalLength = originalBytes.length def movedLength = movedBytes.length
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 2.5K bytes - Viewed (0)