Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertIsDownload (0.24 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DependencyArtifactDownloadProgressEventCrossVersionTest.groovy

            events.operation("Download ${modules.projectC.pom.uri}").assertIsDownload(modules.projectC.pom)
            events.operation("Download ${modules.projectC.artifact.uri}").assertIsDownload(modules.projectC.artifact)
            events.operation("Download ${modules.projectD.pom.uri}").assertIsDownload(modules.projectD.pom)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r81/DependencyArtifactDownloadProgressEventCrossVersionTest.groovy

            events.trees == events.operations
            events.operation("Download ${projectFModuleMissing.pom.uri}").assertIsDownload(projectFModuleMissing.pom)
            events.operation("Download ${projectF2.pom.uri}").assertIsDownload(projectF2.pom)
            events.operation("Download ${projectF2.artifact.uri}").assertIsDownload(projectF2.artifact)
            events.operations.every { it.successful }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy

                    .forTasks("help")
                    .addProgressListener(events)
                    .run()
            }
    
            then:
            def download = events.buildOperations.first()
            download.assertIsDownload(distUri, distribution.binDistribution.length())
            download.successful
    
            !download.statusEvents.empty
    
            download.statusEvents.each { statusEvent ->
                def event = statusEvent.event
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

                assert descriptor instanceof TransformOperationDescriptor
            }
    
            void assertIsDownload(RemoteArtifact artifact) {
                assertIsDownload(artifact.uri, artifact.file.length())
            }
    
            void assertIsDownload(URI uri, long size) {
                assert startEvent instanceof FileDownloadStartEvent
                assert finishEvent instanceof FileDownloadFinishEvent
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top