diff options
author | Shawn Pearce <spearce@spearce.org> | 2013-04-19 12:01:58 -0700 |
---|---|---|
committer | Shawn Pearce <spearce@spearce.org> | 2013-04-19 12:04:47 -0700 |
commit | 1b4320f1fa46169ad08a1d3d40ca00a4224881cd (patch) | |
tree | dfb524bf4183ed53ad730826a99bfa2de05350a7 /org.eclipse.jgit | |
parent | ee222a3be1e8b902667a739625047eef29154924 (diff) | |
download | jgit-1b4320f1fa46169ad08a1d3d40ca00a4224881cd.tar.gz jgit-1b4320f1fa46169ad08a1d3d40ca00a4224881cd.zip |
Revert "Add tests for FileUtils.delete and EMPTY_DIREECTORIES_ONLY"
This reverts commit 7aa54967a26cb027fe390ad1c624ebb30f9ac6d5.
The unit test dependend upon the specific order of names that
listFiles() returned members in. The order is completely undefined
and may differ even on different versions of Linux based systems.
A proper unit test for this code would have considered both cases,
where the deletion function was able to remove an empty subdirectory,
or fail to remove a subdirectory because a file was still present
within. This is not such a test.
Change-Id: Ib0a706fea01e4b1ed8c8e859247d247a1279b4bc
Diffstat (limited to 'org.eclipse.jgit')
0 files changed, 0 insertions, 0 deletions