]> source.dussan.org Git - jgit.git/commit
Support running from JARs in JGitTestUtil 90/17990/2
authorShawn Pearce <sop@google.com>
Fri, 1 Nov 2013 16:49:06 +0000 (10:49 -0600)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Sun, 24 Nov 2013 10:27:00 +0000 (05:27 -0500)
commit573d36a4647c79ba0d2350f65c9ad8ac889e17ee
treebcd100af3881600612b4aadf29ecb828880f7e96
parent7f7dd171df7c02d2e9b95c640909cc11acda2644
Support running from JARs in JGitTestUtil

Buck invokes JUnit tests from compiled JARs, not class directories.
When copying a resource back to the filesystem a jar: style URL is
obtained from the ClassLoader.

Change-Id: I28d702484ec13b0b309b87990da867050e4b5ec6
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/JGitTestUtil.java
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/SampleDataRepositoryTestCase.java