camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1388347 - /camel/trunk/components/camel-jt400/src/test/java/org/apache/camel/component/jt400/Jt400PgmEndpointTest.java
Date Fri, 21 Sep 2012 06:55:40 GMT
Author: davsclaus
Date: Fri Sep 21 06:55:40 2012
New Revision: 1388347

URL: http://svn.apache.org/viewvc?rev=1388347&view=rev
Log:
CAMEL-5625: Added test. Thanks to Joao Loureiro for the patch.

Modified:
    camel/trunk/components/camel-jt400/src/test/java/org/apache/camel/component/jt400/Jt400PgmEndpointTest.java

Modified: camel/trunk/components/camel-jt400/src/test/java/org/apache/camel/component/jt400/Jt400PgmEndpointTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jt400/src/test/java/org/apache/camel/component/jt400/Jt400PgmEndpointTest.java?rev=1388347&r1=1388346&r2=1388347&view=diff
==============================================================================
--- camel/trunk/components/camel-jt400/src/test/java/org/apache/camel/component/jt400/Jt400PgmEndpointTest.java
(original)
+++ camel/trunk/components/camel-jt400/src/test/java/org/apache/camel/component/jt400/Jt400PgmEndpointTest.java
Fri Sep 21 06:55:40 2012
@@ -58,4 +58,10 @@ public class Jt400PgmEndpointTest extend
         assertEquals(true, endpoint.isFieldIdxForOuput(1));
         assertEquals(true, endpoint.isFieldIdxForOuput(2));
     }
+    
+    @Test
+    public void testToString() {
+        assertEquals("Endpoint[jt400://USER:******@host/qsys.lib/library.lib/prog.pgm?connectionPool=%23mockPool&fieldsLength=10%2C512%2C255&format=binary&guiAvailable=true&outputFieldsIdx=1%2C2]",
+                     endpoint.toString());
+    }
 }



Mime
View raw message