abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1452032 - /abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java
Date Sun, 03 Mar 2013 12:51:27 GMT
Author: veithen
Date: Sun Mar  3 12:51:26 2013
New Revision: 1452032

URL: http://svn.apache.org/r1452032
Log:
If something goes wrong in the setUp method, let JUnit handle it and fail the test.

Modified:
    abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java

Modified: abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java?rev=1452032&r1=1452031&r2=1452032&view=diff
==============================================================================
--- abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java
(original)
+++ abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java
Sun Mar  3 12:51:26 2013
@@ -50,12 +50,8 @@ public class SecurityFilterTest {
 
     @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