commit | a245adaa85204178bd29d63da8f85d82db3484bf | [log] [tgz] |
---|---|---|
author | Andreas Veithen <veithen@apache.org> | Sun Mar 03 12:51:26 2013 +0000 |
committer | Andreas Veithen <veithen@apache.org> | Sun Mar 03 12:51:26 2013 +0000 |
tree | 97259f29c2e78dfd1fd02c5c3e0bd2eac54d84b7 | |
parent | ca7a4c653b289be40f65fece060413b3e77c98f4 [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@1452032 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java b/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java index 2350632..d98856e 100644 --- a/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java +++ b/security/src/test/java/org/apache/abdera/test/security/filter/SecurityFilterTest.java
@@ -50,12 +50,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