NativePlatformBackedFileMetadataAccessorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Round both lastModified for CommonFileSystemTest

Some Java 8 versions on Unix only captures the

seconds in lastModified.

For example, Oracle JDK 1.8.0_181-b13 does not

capture milliseconds, while OpenJDK 1.8.0_242-b08

does.

Native platform always returns the milliseconds,

so we need to cut off the millisecond part for

comparison with the value returned by Java NIO.

    • -1
    • +1
    ./NativePlatformBackedFileMetadataAccessorTest.groovy
  1. … 1 more file in changeset.
Round both lastModified for CommonFileSystemTest

Some Java 8 versions on Unix only captures the

seconds in lastModified.

For example, Oracle JDK 1.8.0_181-b13 does not

capture milliseconds, while OpenJDK 1.8.0_242-b08

does.

Native platform always returns the milliseconds,

so we need to cut off the millisecond part for

comparison with the value returned by Java NIO.

    • -1
    • +2
    ./NativePlatformBackedFileMetadataAccessorTest.groovy
  1. … 1 more file in changeset.
Round both lastModified for CommonFileSystemTest

Some Java 8 versions on Unix only capture the

seconds in lastModified.

For example, Oracle JDK 1.8.0_181-b13 does not

capture milliseconds, while OpenJDK 1.8.0_242-b08

does.

Native platform always returns the milliseconds,

so we need to cut off the millisecond part for

comparison with the value returned by Java NIO.

    • -1
    • +2
    ./NativePlatformBackedFileMetadataAccessorTest.groovy
  1. … 1 more file in changeset.
Rename FileMetadata{Snapshot -> }

Snapshot doesn't add anything to the name.

    • -3
    • +3
    ./NativePlatformBackedFileMetadataAccessorTest.groovy
  1. … 50 more files in changeset.
Address some review feedback.

    • -2
    • +2
    ./NativePlatformBackedFileMetadataAccessorTest.groovy
  1. … 6 more files in changeset.
Add a test for NativePlatformBackedFileMetadataAccessor

    • -0
    • +53
    ./NativePlatformBackedFileMetadataAccessorTest.groovy
  1. … 3 more files in changeset.
Add a test for NativePlatformBackedFileMetadataAccessor

    • -0
    • +53
    ./NativePlatformBackedFileMetadataAccessorTest.groovy
  1. … 3 more files in changeset.