TestFileHelper.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Some renaming and cleanup around the test/temp directory used in tests.

  1. … 308 more files in changeset.
fake permissions on windows

handle getPermissions() on windows

Allow empty zips to be created when testing.

Try again with cleaning up test files without following links.

  1. … 2 more files in changeset.
Revert "Changed TestFile.deleteDir() to use 'unlink' on UNIX, so that when the test directory contains links (eg to $gradleHome/bin/gradle), only the links are removed, not the link targets. On my machine, this mean CommandLineIntegrationTest was blowing away the int test image. Not sure why this was not failing elsewhere."

This reverts commit b359179f91733dc3de4ae6fedf1e6dced406fa63.

  1. … 2 more files in changeset.
Changed TestFile.deleteDir() to use 'unlink' on UNIX, so that when the test directory contains links (eg to $gradleHome/bin/gradle), only the links are removed, not the link targets. On my machine, this mean CommandLineIntegrationTest was blowing away the int test image. Not sure why this was not failing elsewhere.

  1. … 2 more files in changeset.
Make codenarc happy.

Use default compression in toTar util method.

Add tests for preserved file and dir permissions when packing and unpacking zips and tars

  1. … 2 more files in changeset.
Allow creating zips and tars in TestFile using native tools. (needed for testing file and dir permissions)

  1. … 1 more file in changeset.
Allow setting of file mode in TestFile.

  1. … 2 more files in changeset.
Some tweaks to FileSystem unit tests.

  1. … 5 more files in changeset.
- Updated c++ integ tests so that they can discover installed visual c++ or mingw when they are not included in the path - Updated c++ integ tests to execute each test against each available compiler.

  1. … 15 more files in changeset.
- Changed linking on unix to use library.spec.installName as the soname/install_name of the generated shared library. - Changed 'install${executable}' task on unix to generate a little wrapper script that sets LD_LIBRARY_PATH/DYLD_LIBRARY_PATH to point to the shared libraries in the install image. - Net result is that a shared library can be used at a location other than where it was linked into, but at the cost of needing to install executables that use the library (eg via 'installMain').

  1. … 8 more files in changeset.
Fixed broken int test.

Fixed broken int test.

  1. … 1 more file in changeset.
Moved some classes out of 'internalTesting', to live as test fixtures in other projects, to get rid of the (core, native, internalTesting) cycle.

  1. … 30 more files in changeset.
Renamed o.g.os package to o.g.internal.nativeplatform.

  1. … 102 more files in changeset.
Moved NativeServices to new package, and switched on package cycle checks for 'native' subproject.

  1. … 14 more files in changeset.
Replaced usages of PosixUtil.current().

groovyfication

Moved OperatingSystem from core to native project.

  1. … 38 more files in changeset.
Split 'native' subproject out of 'launcher'. Some stuff from 'core' will move here too.

  1. … 29 more files in changeset.
Moved source files to the correct package directory. Idea's stub generation did not care for them being in the wrong place.

    • -0
    • +116
    ./TestFileHelper.groovy
  1. … 33 more files in changeset.