Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConsecutiveParentsAfterPresent (0.19 sec)

  1. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      public void testInitialSlashDot() {
        assertEquals("/a", simplifyPath("/./a"));
        assertEquals("/.a", simplifyPath("/.a/a/.."));
      }
    
      // https://github.com/google/guava/issues/722
      public void testConsecutiveParentsAfterPresent() {
        assertEquals("../..", simplifyPath("./../../"));
        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      public void testInitialSlashDot() {
        assertEquals("/a", simplifyPath("/./a"));
        assertEquals("/.a", simplifyPath("/.a/a/.."));
      }
    
      // https://github.com/google/guava/issues/722
      public void testConsecutiveParentsAfterPresent() {
        assertEquals("../..", simplifyPath("./../../"));
        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top