FELIX-399 Implement Referral with hop count support
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@671815 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundlerepository/src/test/resources/referral1_repository.xml b/bundlerepository/src/test/resources/referral1_repository.xml
new file mode 100644
index 0000000..26e640f
--- /dev/null
+++ b/bundlerepository/src/test/resources/referral1_repository.xml
@@ -0,0 +1,9 @@
+<repository lastmodified="20061215121044.644" name="referral1_repository">
+ <referral depth="1" url="referred.xml" />
+
+ <resource id="6" presentationname="0_telnetd"
+ symbolicname="com.softsell.open.osgi.telnetd"
+ uri="http://oscar-osgi.sf.net/obr2/telnetd/telnetd.jar"
+ version="1.0.0" />
+
+</repository>
\ No newline at end of file
diff --git a/bundlerepository/src/test/resources/referred.xml b/bundlerepository/src/test/resources/referred.xml
new file mode 100644
index 0000000..19ad608
--- /dev/null
+++ b/bundlerepository/src/test/resources/referred.xml
@@ -0,0 +1,8 @@
+<repository lastmodified="20061215121044.644" name="referred">
+
+ <resource id="99" presentationname="1_referredSample"
+ symbolicname="org.sample.referred"
+ uri="referredSample.jar"
+ version="1.0.0" />
+
+</repository>
\ No newline at end of file