You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2012/01/29 11:06:51 UTC

svn commit: r1237230 - /camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java

Author: bvahdat
Date: Sun Jan 29 10:06:51 2012
New Revision: 1237230

URL: http://svn.apache.org/viewvc?rev=1237230&view=rev
Log:
Polished test.

Modified:
    camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java

Modified: camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java?rev=1237230&r1=1237229&r2=1237230&view=diff
==============================================================================
--- camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java (original)
+++ camel/trunk/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java Sun Jan 29 10:06:51 2012
@@ -30,7 +30,7 @@ import org.junit.Test;
 public class FallbackTypeConverterShouldNotThrowExceptionTest extends CamelTestSupport {
 
     @Test
-    public void testJaxbModel() throws InterruptedException {
+    public void testJaxbModel() throws Exception {
         Object foo = new Foo();
         getMockEndpoint("mock:a").expectedBodiesReceived(foo);
         getMockEndpoint("mock:b").expectedBodiesReceived(foo);
@@ -41,7 +41,7 @@ public class FallbackTypeConverterShould
     }
 
     @Test
-    public void testNoneJaxbModel() throws InterruptedException {
+    public void testNoneJaxbModel() throws Exception {
         Object camel = "Camel";
         getMockEndpoint("mock:a").expectedBodiesReceived(camel);
         getMockEndpoint("mock:b").expectedBodiesReceived(camel);
@@ -52,7 +52,7 @@ public class FallbackTypeConverterShould
     }
 
     @Test
-    public void testAnotherJaxbModel() throws InterruptedException {
+    public void testAnotherJaxbModel() throws Exception {
         Object bar = new Bar();
         getMockEndpoint("mock:a").expectedBodiesReceived(bar);
         getMockEndpoint("mock:b").expectedBodiesReceived(bar);