Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canReplaceLastName (1.23 sec)

  1. subprojects/core-api/src/test/groovy/org/gradle/api/file/RelativePathTest.java

            assertThat(new RelativePath(false, "a").getParent(), equalTo(new RelativePath(false)));
            assertThat(new RelativePath(false).getParent(), nullValue());
        }
    
        @Test
        public void canReplaceLastName() {
            assertPathContains(new RelativePath(true, "old").replaceLastName("new"), true, "new");
            assertPathContains(new RelativePath(false, "old").replaceLastName("new"), false, "new");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 29 15:31:00 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top