Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectMkdir (0.15 sec)

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

            server.expectLstatMissing(pathOnServer)
        }
    
        @Override
        void expectParentMkdir() {
            withEachDirectory { String path ->
                server.expectLstat(path)
                server.expectMkdir(path)
            }
        }
    
        @Override
        void expectParentCheckdir() {
            server.expectLstat(FilenameUtils.getFullPathNoEndSeparator(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. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

        }
    
        void expectStat(String path) {
            expectations << new SftpExpectOnePath(SftpConstants.SSH_FXP_STAT, "STAT", path)
        }
    
        void expectMkdir(String path) {
            expectations << new SftpExpectOnePath(SftpConstants.SSH_FXP_MKDIR, "MKDIR", path)
        }
    
        void expectOpendir(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)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/environment/BuildEnvironmentIntegrationTest.groovy

            project1.file('build.gradle') << """
    def expectedDir = new File(new URI('${project1.toURI()}'))
    def dir = new File('.')
    assert dir.canonicalFile == expectedDir.canonicalFile
    assert dir.directory
    def classesDir = new File("build/classes1")
    assert classesDir.mkdirs()
    assert classesDir.directory
    """
    
            project2.file('build.gradle') << """
    def expectedDir = new File(new URI('${project2.toURI()}'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/SingleIncludePatternFileTreeSpec.groovy

            def expectedDir = tempDir.file("dir1")
            def expectedFile = tempDir.file("dir1/file2")
    
            when:
            fileTree.visit(visitor)
    
            then:
            1 * visitor.visitDir(_) >> { FileVisitDetails details ->
                with(details) {
                    file == expectedDir
                    directory
                    size == expectedDir.size()
                    name == expectedDir.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top