Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Re-add JansiLibraryFactoryIntegrationTest (but move it to 'test' set)

This reverts commit f57762e38c533f64bb8c80049487c41e2b0b7bb6.

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.

Rename FileMetadata{Snapshot -> }

Snapshot doesn't add anything to the name.

  1. … 46 more files in changeset.
Address some review feedback.

  1. … 3 more files in changeset.
Stat named pipes as missing files

as we do when we encounter those types when walking

a directory.

  1. … 4 more files in changeset.
Inline method in test

Add more tests for stating symlinks

Allow stating a symlink cycle

via native platform.

  1. … 1 more file in changeset.
Determine symlink access in stat

This way we can use the information when deciding what to

watch.

  1. … 9 more files in changeset.
Add a test for stating symlinks pointing to symlinks

Add a test for NativePlatformBackedFileMetadataAccessor

Rename DefaultFileMetadata{ -> Snapshot}

so it is consistent with the interface.

  1. … 9 more files in changeset.
Fix test on Java 8

Native platform provides a more precise modified

time than Java NIO on Java 8.

Use native platform for stat by default

instead of using Java NIO APIs with a `File.exists()`

on Linux and Windows.

This is a preparation for #12966.

  1. … 4 more files in changeset.
Remove test precondition: FIX_TO_WORK_ON_JAVA9 (#12940)

Gradle clearly works with Java 9 (and later) by now. There should

be nothing left to be fixed. The remaining usages of this annotation

where wrong:

- The test is not testing a feature of Gradle, but of Java or another

tool that only works with java versions < 9

Replaced precondition with: JDK8_OR_EARLIER

(or JDK9_OR_LATER depending on how it is used)

- Test is running older Gradle versions that do not support Java9+

Replaced precondition with: JDK8_OR_EARLIER

- Test itself was using features of Java not available anymore in Java9+

Removed precondition and fixed test to do the test setup differently.

  1. … 11 more files in changeset.
Remove always-true PROCESS_ID test precondition

  1. … 1 more file in changeset.
Remove always-true SET_ENV_VARIABLE test precondition

  1. … 5 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 401 more files in changeset.
Move DefaultFileMetadata to impl package

  1. … 12 more files in changeset.
Revert "Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers""

This reverts commit 669ec8c0211ad7e36ec4a91921e2da5da8619bef.

  1. … 324 more files in changeset.
Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers"

This reverts commit 72dc39d9784910196e7840ac35317bc46ef4c4a1, reversing

changes made to 69ffd7ea87b343cb6f0f03b947b7605a5bea02b1.

  1. … 324 more files in changeset.
Move Stat and Chmod to :files

  1. … 36 more files in changeset.
Move DefaultFileMetadata to :files

  1. … 11 more files in changeset.
Exclude non-writable files during symlink test files leakage check

Improve test coverage for Jdk7SymlinkTest

Remove unecessary line in test

Ensure symlink test files are properly deleted

  1. … 1 more file in changeset.
Rename factory methods on JavaMethod

  1. … 20 more files in changeset.
Move JavaMethod factory methods to JavaMethod

  1. … 22 more files in changeset.
Upgrade to new version of native-platform.

  1. … 13 more files in changeset.