]> source.dussan.org Git - jgit.git/commit
Remove hardcoded target/trash from test cases 85/17985/1
authorShawn Pearce <sop@google.com>
Fri, 1 Nov 2013 15:04:44 +0000 (16:04 +0100)
committerShawn Pearce <sop@google.com>
Sat, 2 Nov 2013 02:57:47 +0000 (19:57 -0700)
commitcc3ec72734fc442499cca60df957c4ef6749c4c3
treec252db20424be55e8a7955e9f85f3dea92c0acae
parente59b3240957e852bfb1c35fa6250ca667743583e
Remove hardcoded target/trash from test cases

Buck does not create a target directory for the build output, this
is Maven specific and the project unit tests should not rely on it.

Instead follow the pattern used by org.eclipse.jgit.test which is to
create a temporary directory in the system temporary folder, and
configure the Maven surefire plugin to use the target directory.

Change-Id: Iebe5093332343a90f51080614e083aac0d29c26d
org.eclipse.jgit.java7.test/pom.xml
org.eclipse.jgit.java7.test/src/org/eclipse/jgit/util/FSJava7Test.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileSnapshotTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/FileBasedConfigTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FileUtilTest.java