commit | aa32b52432f8451b4523fcc9afb3b012ec084709 | [log] [tgz] |
---|---|---|
author | Andreas Veithen <veithen@apache.org> | Sun Mar 03 14:31:55 2013 +0000 |
committer | Andreas Veithen <veithen@apache.org> | Sun Mar 03 14:31:55 2013 +0000 |
tree | 08cba79d8b798bdaf7af8d2ca8b2349bfd3fa9d3 | |
parent | aa21321cf74e71be90765ab76e6006ec02f60f1d [diff] |
If something goes wrong in the setUp method, let JUnit handle it and fail the test. git-svn-id: https://svn.apache.org/repos/asf/abdera/java/trunk@1452046 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java b/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java index 5e105d1..684c39e 100644 --- a/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java +++ b/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java
@@ -56,12 +56,8 @@ @BeforeClass public static void setUp() throws Exception { - try { - server = new JettyServer(); - server.start(CustomProvider.class); - } catch (Exception e) { - e.printStackTrace(); - } + server = new JettyServer(); + server.start(CustomProvider.class); } @AfterClass