aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-05 13:09:49 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-07 20:06:53 +0100
commit1c2c16858e95db9ae90726fa0da69b88457c1807 (patch)
treedca86c80f715281bf39388de2a42fdba9e0ceef7 /src/test/resources
parent6d1dc3b1ca077312674ef05cd88ca5a7858bffd2 (diff)
downloadesper-testing-1c2c16858e95db9ae90726fa0da69b88457c1807.tar.gz
esper-testing-1c2c16858e95db9ae90726fa0da69b88457c1807.tar.bz2
esper-testing-1c2c16858e95db9ae90726fa0da69b88457c1807.tar.xz
esper-testing-1c2c16858e95db9ae90726fa0da69b88457c1807.zip
o More common XML parsing and HTTP client code. o Reimplemented the Nexus code to consume the timeline instead of calculating its own diff.
Diffstat (limited to 'src/test/resources')
-rwxr-xr-xsrc/test/resources/nexus/recentlyDeployedArtifacts.xml24
-rwxr-xr-xsrc/test/resources/nexus/search-1.xml1
2 files changed, 24 insertions, 1 deletions
diff --git a/src/test/resources/nexus/recentlyDeployedArtifacts.xml b/src/test/resources/nexus/recentlyDeployedArtifacts.xml
new file mode 100755
index 0000000..1fe22d9
--- /dev/null
+++ b/src/test/resources/nexus/recentlyDeployedArtifacts.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
+ <channel>
+ <title>New deployed artifacts</title>
+ <link>http://localhost:8081/repository/service/local/feeds/recentlyDeployedArtifacts</link>
+ <description>New deployed artifacts in all Nexus repositories (deployed).</description>
+ <pubDate>Tue, 04 Dec 2012 12:26:41 GMT</pubDate>
+ <dc:creator>Nexus 1.9.2.3</dc:creator>
+ <dc:date>2012-12-04T12:26:41Z</dc:date>
+ <item>
+ <title>org.example:example:1.0-20121204.122640-536</title>
+ <link>http://hostname/repository/content/repositories/snapshots/org/example/example/1.0-SNAPSHOT/example-1.0-20121204.122640-536.pom</link>
+ <description>
+ The artifact 'org.example:example:1.0-20121204.122640-536' in repository 'Snapshots' was
+ deployed.Action was initiated by user "developer".
+ Request originated from IP address 1.2.3.4.
+ </description>
+ <pubDate>Tue, 04 Dec 2012 12:26:40 GMT</pubDate>
+ <guid>http://hostname/repository/content/repositories/snapshots/org/example/example/1.0-SNAPSHOT/example-1.0-20121204.122640-536.pom</guid>
+ <dc:creator>developer</dc:creator>
+ <dc:date>2012-12-04T12:26:40Z</dc:date>
+ </item>
+ </channel>
+</rss>
diff --git a/src/test/resources/nexus/search-1.xml b/src/test/resources/nexus/search-1.xml
index b501491..75bfdc9 100755
--- a/src/test/resources/nexus/search-1.xml
+++ b/src/test/resources/nexus/search-1.xml
@@ -2674,4 +2674,3 @@
</artifact>
</data>
</searchNGResponse>
--