Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testFileTraverser_singleFile (0.15 sec)

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

      }
    
      public void testFileTraverser_file() throws Exception {
        File file = newFile("some-file");
    
        assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file);
      }
    
      public void testFileTraverser_singleFile() throws Exception {
        File file = newFile("some-file");
    
        assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 20:17:27 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java

      public void testFileTraverser_file() throws Exception {
        Path file = newFile("some-file");
    
        assertThat(MoreFiles.fileTraverser().breadthFirst(file)).containsExactly(file);
      }
    
      public void testFileTraverser_singleFile() throws Exception {
        Path file = newFile("some-file");
    
        assertThat(MoreFiles.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 09 19:30:52 UTC 2018
    - 3.8K bytes
    - Viewed (0)
Back to top