CAMEL-8116: Fixed test and CS

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/9ecc0cc4
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9ecc0cc4
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9ecc0cc4

Branch: refs/heads/master
Commit: 9ecc0cc48bfeb6acce3e98eed9d9ec04d7fbd55c
Parents: dd67c38
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Dec 3 19:40:20 2014 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Dec 3 19:40:20 2014 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/smpp/SmppConfigurationTest.java   | 4 +++-
 .../org/apache/camel/component/smpp/SmppSubmitSmCommandTest.java | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/9ecc0cc4/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConfigurationTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConfigurationTest.java
 
b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConfigurationTest.java
index 5d53e9a..a5cfed5 100644
--- 
a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConfigurationTest.java
+++ 
b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConfigurationTest.java
@@ -192,7 +192,9 @@ public class SmppConfigurationTest {
                 + "httpProxyHost=null, "
                 + "httpProxyPort=3128, "
                 + "httpProxyUsername=null, "
-                + "httpProxyPassword=null]";
+                + "httpProxyPassword=null, "
+                + "splittingPolicy=ALLOW]";
+
         assertEquals(expected, configuration.toString());
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/9ecc0cc4/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppSubmitSmCommandTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppSubmitSmCommandTest.java
 
b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppSubmitSmCommandTest.java
index c060d3d..2a37b48 100644
--- 
a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppSubmitSmCommandTest.java
+++ 
b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppSubmitSmCommandTest.java
@@ -140,7 +140,7 @@ public class SmppSubmitSmCommandTest {
         assertEquals(2, 
exchange.getOut().getHeader(SmppConstants.SENT_MESSAGE_COUNT));
     }
 
-    @Test(expected=SmppException.class)
+    @Test(expected = SmppException.class)
     public void executeLongBodyRejection() throws Exception {
         byte[] firstSM = new byte[]{5, 0, 3, 1, 2, 1, 49, 50, 51, 52, 53, 54, 
55, 56, 57, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 49, 50, 51, 52, 53, 54, 
55, 56, 57, 48, 49, 50, 51, 52, 53, 54,
             55, 56, 57, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 49, 50, 
51, 52, 53, 54, 55, 56, 57, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 49, 50, 
51, 52, 53, 54, 55, 56, 57, 48, 49, 50,

Reply via email to