Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createsPathForAFileNotUnderARootDir (0.52 sec)

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

            expect:
            def path = factory.path(tmpDir.file('a', 'b'))
            path.url == 'file://$ROOT_DIR$/a/b'
            path.relPath == '$ROOT_DIR$/a/b'
        }
    
        def createsPathForAFileNotUnderARootDir() {
            factory.addPathVariable('ROOT_DIR', tmpDir.testDirectory)
            def file = tmpDir.testDirectory.parentFile.file('a')
            def relpath = relpath(file)
    
            expect:
    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