Relocate test resources to classpath and load from there
commit25b1b64d2cd840d8dee7d78ff1e09d75c5af30bf
authorShawn O. Pearce <spearce@spearce.org>
Mon, 8 Sep 2008 15:15:37 +0000 (8 08:15 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 8 Sep 2008 15:15:37 +0000 (8 08:15 -0700)
tree634f63adcb831b3b58f510c89276c4ec8acc5b54
parent8e6a1b44f54f189cb3632877a4653c09c354b6a4
Relocate test resources to classpath and load from there

Previously test case resources were located in the root directory, this
change relocates them to a classpath location and loads the resources from
there.

If there is request for any test resource that is not present in classpath
then util method will return the same value as it would in previous state.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
18 files changed:
org.spearce.jgit.test/.classpath
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/create-second-pack [moved from org.spearce.jgit.test/tst/create-second-pack with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/gitgit.index [moved from org.spearce.jgit.test/tst/gitgit.index with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/gitgit.lsfiles [moved from org.spearce.jgit.test/tst/gitgit.lsfiles with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/gitgit.lstree [moved from org.spearce.jgit.test/tst/gitgit.lstree with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idx [moved from org.spearce.jgit.test/tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idx with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idxV2 [moved from org.spearce.jgit.test/tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idxV2 with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.pack [moved from org.spearce.jgit.test/tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.pack with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.idx [moved from org.spearce.jgit.test/tst/pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.idx with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.pack [moved from org.spearce.jgit.test/tst/pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745.pack with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idx [moved from org.spearce.jgit.test/tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idx with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idxV2 [moved from org.spearce.jgit.test/tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idxV2 with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.pack [moved from org.spearce.jgit.test/tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.pack with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.idx [moved from org.spearce.jgit.test/tst/pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.idx with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.pack [moved from org.spearce.jgit.test/tst/pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa.pack with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/pack-huge.idx [moved from org.spearce.jgit.test/tst/pack-huge.idx with 100% similarity]
org.spearce.jgit.test/tst-rsrc/org/spearce/jgit/test/resources/packed-refs [moved from org.spearce.jgit.test/tst/packed-refs with 100% similarity]
org.spearce.jgit.test/tst/org/spearce/jgit/util/JGitTestUtil.java