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:15:09 UTC
svn commit: r1237232 - in
/camel/branches/camel-2.9.x/components/camel-jaxb/src/test: ./
java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java
Author: bvahdat
Date: Sun Jan 29 10:15:09 2012
New Revision: 1237232
URL: http://svn.apache.org/viewvc?rev=1237232&view=rev
Log:
Polished test.
Modified:
camel/branches/camel-2.9.x/components/camel-jaxb/src/test/ (props changed)
camel/branches/camel-2.9.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java
Propchange: camel/branches/camel-2.9.x/components/camel-jaxb/src/test/
------------------------------------------------------------------------------
--- svn:mergeinfo (added)
+++ svn:mergeinfo Sun Jan 29 10:15:09 2012
@@ -0,0 +1 @@
+/camel/trunk/components/camel-jaxb/src/test:1235643,1236403-1236663,1236667,1237148,1237230
Modified: camel/branches/camel-2.9.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java?rev=1237232&r1=1237231&r2=1237232&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java (original)
+++ camel/branches/camel-2.9.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java Sun Jan 29 10:15:09 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);