summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorWesley Wolfe <weswolf@aol.com>2012-09-09 23:19:28 -0500
committerWesley Wolfe <weswolf@aol.com>2012-09-09 23:19:28 -0500
commite2b1514daf678d8ea95a71af8bbb2a9b8efb3440 (patch)
treee6ef9925375e2c422f8c067c505a86179304168f /src/test
parentb1f6d16bfafd79d5b504e96b2b5e767de3acf227 (diff)
downloadcraftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.tar
craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.tar.gz
craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.tar.lz
craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.tar.xz
craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.zip
Bulk pending cleanup.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterServiceTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterServiceTest.java b/src/test/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterServiceTest.java
index 9f69de0c..342949b7 100644
--- a/src/test/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterServiceTest.java
+++ b/src/test/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterServiceTest.java
@@ -11,21 +11,21 @@ import org.junit.Test;
@Ignore ("useful tests, but not necessary to run on each compile")
public class BukkitDLUpdaterServiceTest {
@Test(expected=IOException.class)
- public void testHostNotFound() throws UnsupportedEncodingException, IOException {
+ public void testHostNotFound() throws IOException {
BukkitDLUpdaterService service = new BukkitDLUpdaterService("404.example.org");
service.fetchArtifact("rb");
}
@Test(expected=FileNotFoundException.class)
- public void testArtifactNotFound() throws UnsupportedEncodingException, IOException {
+ public void testArtifactNotFound() throws IOException {
BukkitDLUpdaterService service = new BukkitDLUpdaterService("dl.bukkit.org");
service.fetchArtifact("meep");
}
@Test
- public void testArtifactExists() throws UnsupportedEncodingException, IOException {
+ public void testArtifactExists() throws IOException {
BukkitDLUpdaterService service = new BukkitDLUpdaterService("dl.bukkit.org");
assertNotNull(service.fetchArtifact("latest-dev"));