Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for expectLstat (0.25 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SftpResource.groovy

        }
    
        URI getUri() {
            return new URI("${server.uri}${pathOnServer}")
        }
    
        void expectLstat() {
            server.expectLstat(pathOnServer)
        }
    
        void expectLstatMissing() {
            server.expectLstatMissing(pathOnServer)
        }
    
        void expectStat() {
            server.expectStat(pathOnServer)
        }
    
        void expectOpen() {
            server.expectOpen(pathOnServer)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy

                }
            """
            sftpServer.expectLstat("/")
            def sync = coordinator.expectAndBlock('sync')
    
            when:
            def gradle = executer.withTasks('reuseClient').withArgument("--info").start()
            sync.waitForAllPendingCalls()
    
            then:
            sftpServer.clearSessions()
            sftpServer.expectLstat("/")
            sleep(1000)
    
            when:
            sync.releaseAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishSftpIntegrationTest.groovy

            when:
            def directory = '/repo/org.group.name/publish/2'
            directory.tokenize('/').findAll().inject('') { path, token ->
                def currentPath = "$path/$token"
                server.expectLstat(currentPath)
                currentPath
            }
            server.expectMkdirBroken('/repo')
    
            then:
            fails 'publish'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

        }
    
        void allowInit() {
            expectations << new SftpAllow(SftpConstants.SSH_FXP_INIT)
        }
    
        void expectLstat(String path) {
            expectations << new SftpExpectOnePath(SftpConstants.SSH_FXP_LSTAT, "LSTAT", path)
        }
    
        void expectMetadataRetrieve(String path) {
            expectLstat(path)
        }
    
        void expectOpen(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoDynamicRevisionIntegrationTest.groovy

            projectB1.publish()
    
            and:
            server.expectStat('/repo/group/projectA/')
            server.expectDirectoryList('/repo/group/projectA/')
    
            projectA1.ivy.expectMetadataRetrieve()
            projectA1.ivy.expectFileDownload()
    
            server.expectStat('/repo/group/projectB/')
            server.expectDirectoryList('/repo/group/projectB/')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SftpDirectoryResource.groovy

            throw new UnsupportedOperationException()
        }
    
        void expectMetadataRetrieveMissing() {
            throw new UnsupportedOperationException()
        }
    
        void expectDownload() {
            server.expectStat(pathOnServer)
            server.expectDirectoryList(pathOnServer)
        }
    
        void expectDownloadMissing() {
            throw new UnsupportedOperationException()
        }
    
        void expectMetadataRetrieve() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoErrorsIntegrationTest.groovy

                task retrieve(type: Sync) {
                    from configurations.compile
                    into 'libs'
                }
            """
    
            when:
            server.expectStat('/repo/org.group.name/projectA/')
    
            then:
            fails 'retrieve'
            assertTaskFailureDescription(":retrieve")
            failure.assertHasCause("Could not resolve all files for configuration ':compile'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 11:07:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top