openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1853863 - /openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/xml/BeanArchiveServiceTest.java
Date Tue, 19 Feb 2019 08:20:30 GMT
Author: struberg
Date: Tue Feb 19 08:20:29 2019
New Revision: 1853863

URL: http://svn.apache.org/viewvc?rev=1853863&view=rev
Log:
remove unecessary throws

Modified:
    openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/xml/BeanArchiveServiceTest.java

Modified: openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/xml/BeanArchiveServiceTest.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/xml/BeanArchiveServiceTest.java?rev=1853863&r1=1853862&r2=1853863&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/xml/BeanArchiveServiceTest.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/xml/BeanArchiveServiceTest.java
Tue Feb 19 08:20:29 2019
@@ -40,7 +40,7 @@ public class BeanArchiveServiceTest
     public TemporaryFolder tempFolder = new TemporaryFolder();
 
     @Test
-    public void testNotExistingBeansXml() throws Exception
+    public void testNotExistingBeansXml()
     {
         BeanArchiveInformation bai = scanBeansXml("");
         Assert.assertEquals(BeanDiscoveryMode.ANNOTATED, bai.getBeanDiscoveryMode());
@@ -51,7 +51,7 @@ public class BeanArchiveServiceTest
     }
 
     @Test
-    public void testEmptyBeansXml() throws Exception
+    public void testEmptyBeansXml()
     {
         BeanArchiveInformation bai = scanBeansXml("empty.xml");
         Assert.assertEquals(BeanDiscoveryMode.ALL, bai.getBeanDiscoveryMode());
@@ -72,7 +72,7 @@ public class BeanArchiveServiceTest
     }
 
     @Test
-    public void testAlternativesBeansXml() throws Exception
+    public void testAlternativesBeansXml()
     {
         BeanArchiveInformation bai = scanBeansXml("alternatives_correct.xml");
         Assert.assertEquals(BeanDiscoveryMode.ALL, bai.getBeanDiscoveryMode());
@@ -87,7 +87,7 @@ public class BeanArchiveServiceTest
     }
 
     @Test
-    public void testDecoratorsBeansXml() throws Exception
+    public void testDecoratorsBeansXml()
     {
         BeanArchiveInformation bai = scanBeansXml("decorators.xml");
         Assert.assertEquals(BeanDiscoveryMode.ALL, bai.getBeanDiscoveryMode());
@@ -100,7 +100,7 @@ public class BeanArchiveServiceTest
     }
 
     @Test
-    public void testInterceptorsBeansXml() throws Exception
+    public void testInterceptorsBeansXml()
     {
         BeanArchiveInformation bai = scanBeansXml("interceptors.xml");
         Assert.assertEquals(BeanDiscoveryMode.ALL, bai.getBeanDiscoveryMode());
@@ -114,13 +114,13 @@ public class BeanArchiveServiceTest
 
 
     @Test(expected = DeploymentException.class)
-    public void testCdi11_Fail_without_discovery_mode() throws Exception
+    public void testCdi11_Fail_without_discovery_mode()
     {
         scanBeansXml("cdi11_failed.xml");
     }
 
     @Test
-    public void testCdi11_discovery_none() throws Exception
+    public void testCdi11_discovery_none()
     {
         BeanArchiveInformation bai = scanBeansXml("cdi11_discovery_none.xml");
         Assert.assertEquals(BeanDiscoveryMode.NONE, bai.getBeanDiscoveryMode());
@@ -131,7 +131,7 @@ public class BeanArchiveServiceTest
     }
 
     @Test
-    public void testCdi11_discovery_scopedBeansOnly() throws Exception
+    public void testCdi11_discovery_scopedBeansOnly()
     {
         BeanArchiveInformation bai = scanBeansXml("cdi11_discovery_scopedBeansOnly.xml");
         Assert.assertEquals(BeanDiscoveryMode.TRIM, bai.getBeanDiscoveryMode());
@@ -142,7 +142,7 @@ public class BeanArchiveServiceTest
     }
 
     @Test
-    public void testExclude() throws Exception
+    public void testExclude()
     {
         BeanArchiveInformation bai = scanBeansXml("cdi11_exclude.xml");
         Assert.assertEquals(BeanDiscoveryMode.ALL, bai.getBeanDiscoveryMode());



Mime
View raw message