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:09:21 UTC
svn commit: r1237231 - in
/camel/branches/camel-2.8.x/components/camel-jaxb/src/test: ./
java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java
Author: bvahdat
Date: Sun Jan 29 10:09:20 2012
New Revision: 1237231
URL: http://svn.apache.org/viewvc?rev=1237231&view=rev
Log:
Polished test.
Modified:
camel/branches/camel-2.8.x/components/camel-jaxb/src/test/ (props changed)
camel/branches/camel-2.8.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java
Propchange: camel/branches/camel-2.8.x/components/camel-jaxb/src/test/
------------------------------------------------------------------------------
--- svn:mergeinfo (added)
+++ svn:mergeinfo Sun Jan 29 10:09:20 2012
@@ -0,0 +1,2 @@
+/camel/branches/camel-2.9.x/components/camel-jaxb/src/test:1227549,1228229,1229567,1234054,1236672
+/camel/trunk/components/camel-jaxb/src/test:1226860,1227540,1228223,1229565,1234043,1236403-1236663,1236667,1237148,1237230
Modified: camel/branches/camel-2.8.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.8.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java?rev=1237231&r1=1237230&r2=1237231&view=diff
==============================================================================
--- camel/branches/camel-2.8.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java (original)
+++ camel/branches/camel-2.8.x/components/camel-jaxb/src/test/java/org/apache/camel/jaxb/FallbackTypeConverterShouldNotThrowExceptionTest.java Sun Jan 29 10:09:20 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);