Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createsRelativePathForAnAncestorOfRootDir (0.24 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathFactoryTest.groovy

            expect:
            def path = factory.relativePath('ROOT_DIR', tmpDir.file('a/b'))
            path.url == 'file://$ROOT_DIR$/a/b'
            path.relPath == '$ROOT_DIR$/a/b'
        }
    
        def createsRelativePathForAnAncestorOfRootDir() {
            factory.addPathVariable('ROOT_DIR', tmpDir.testDirectory)
    
            expect:
            def path = factory.relativePath('ROOT_DIR', tmpDir.testDirectory.parentFile.parentFile.file('a/b'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top