abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1452046 - /abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/custom/CustomProviderTest.java
Date Sun, 03 Mar 2013 14:31:55 GMT
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



Mime
View raw message