Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readAttributes (0.11 sec)

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

          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions())
                .containsExactly(OWNER_READ, OWNER_WRITE, OWNER_EXECUTE);
          }
        } finally {
          assertThat(temp.delete()).isTrue();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions())
                .containsExactly(OWNER_READ, OWNER_WRITE, OWNER_EXECUTE);
          }
        } finally {
          assertThat(temp.delete()).isTrue();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
                    .readAttributes();
            assertThat(attributes.permissions()).containsExactly(OWNER_READ, OWNER_WRITE);
          }
        }
        out.close();
    
        // Check that source returns the right data
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top