You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by ve...@apache.org on 2013/03/03 15:31:55 UTC
svn commit: r1452046 -
/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java
Author: veithen
Date: Sun Mar 3 14:31:55 2013
New Revision: 1452046
URL: http://svn.apache.org/r1452046
Log:
If something goes wrong in the setUp method, let JUnit handle it and fail the test.
Modified:
abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java
Modified: abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java?rev=1452046&r1=1452045&r2=1452046&view=diff
==============================================================================
--- abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java (original)
+++ abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java Sun Mar 3 14:31:55 2013
@@ -56,12 +56,8 @@ public class CustomProviderTest {
@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