servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r1554385 - in /servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel: JAXBConverterLoadingSpringTest.java su14/ su14/Person.java
Date Tue, 31 Dec 2013 08:29:44 GMT
Author: gertv
Date: Tue Dec 31 08:29:43 2013
New Revision: 1554385

URL: http://svn.apache.org/r1554385
Log:
SM-2218: Fix JAXBConverterLoadingSpringTest

Added:
    servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/su14/
    servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/su14/Person.java
Modified:
    servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/JAXBConverterLoadingSpringTest.java

Modified: servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/JAXBConverterLoadingSpringTest.java
URL: http://svn.apache.org/viewvc/servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/JAXBConverterLoadingSpringTest.java?rev=1554385&r1=1554384&r2=1554385&view=diff
==============================================================================
--- servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/JAXBConverterLoadingSpringTest.java
(original)
+++ servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/JAXBConverterLoadingSpringTest.java
Tue Dec 31 08:29:43 2013
@@ -19,13 +19,16 @@ package org.apache.servicemix.camel;
 
 import java.util.List;
 import org.apache.servicemix.jbi.container.ActivationSpec;
+import org.junit.Ignore;
+import org.junit.Test;
 
 public class JAXBConverterLoadingSpringTest extends SpringJbiTestSupport {
 
-    protected void setUp() throws Exception {
+    public void setUp() throws Exception {
         super.setUp();
     }
 
+    @Test
     public void test() throws Exception {
         // We just need to make sure the fallbackConverter can be load
         assertTrue(true);

Added: servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/su14/Person.java
URL: http://svn.apache.org/viewvc/servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/su14/Person.java?rev=1554385&view=auto
==============================================================================
--- servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/su14/Person.java
(added)
+++ servicemix/components/trunk/engines/servicemix-camel/src/test/java/org/apache/servicemix/camel/su14/Person.java
Tue Dec 31 08:29:43 2013
@@ -0,0 +1,29 @@
+package org.apache.servicemix.camel.su14;
+
+import javax.xml.bind.annotation.XmlRootElement;
+
+/**
+ * Just a simple person object to test the JAXB fallback converter mechanism
+ */
+@XmlRootElement
+public class Person {
+
+    private String name;
+    private Integer age;
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public Integer getAge() {
+        return age;
+    }
+
+    public void setAge(Integer age) {
+        this.age = age;
+    }
+}



Mime
View raw message