camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <ch0...@gmail.com>
Subject Re: Bindy fixed length
Date Sat, 27 Apr 2013 10:49:33 GMT
Will have a look tomorrow to solve the bug.


On Sat, Apr 27, 2013 at 11:06 AM, Babak Vahdat
<babak.vahdat@swissonline.ch>wrote:

> Hi Charles,
>
> This new test being committed into trunk is failing for me:
>
> ~/dev/workspace/camel/components/camel-bindy>mvn test
> -Dtest=BindySimpleFixedLengthWithLinkTest
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Camel :: Bindy 2.12-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-bindy
> ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.4:process (default) @
> camel-bindy
> ---
> [INFO]
> [INFO] >>>
> camel-package-maven-plugin:2.12-SNAPSHOT:generate-components-list
> (default) @ camel-bindy >>>
> [INFO]
> [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-bindy
> ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.4:process (default) @
> camel-bindy
> ---
> [INFO]
> [INFO] <<<
> camel-package-maven-plugin:2.12-SNAPSHOT:generate-components-list
> (default) @ camel-bindy <<<
> [INFO]
> [INFO] ---
> camel-package-maven-plugin:2.12-SNAPSHOT:generate-components-list
> (default) @ camel-bindy ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> camel-bindy ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 5 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
> camel-bindy ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)
> @ camel-bindy ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 41 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
> camel-bindy ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:2.13:test (default-test) @ camel-bindy ---
> [INFO] Surefire report directory:
>
> /Users/bvahdat/dev/workspace/camel/components/camel-bindy/target/surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running
>
> org.apache.camel.dataformat.bindy.fixed.link.BindySimpleFixedLengthWithLinkTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec
> <<<
> FAILURE!
>
> testUnmarshallMessage(org.apache.camel.dataformat.bindy.fixed.link.BindySimpleFixedLengthWithLinkTest)
> Time elapsed: 0.332 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[BBB]> but was:<[CCC]>
>         at org.junit.Assert.assertEquals(Assert.java:115)
>         at org.junit.Assert.assertEquals(Assert.java:144)
>         at
>
> org.apache.camel.dataformat.bindy.fixed.link.BindySimpleFixedLengthWithLinkTest.testUnmarshallMessage(BindySimpleFixedLengthWithLinkTest.java:63)
>
>
> Results :
>
> Failed tests:
>
>
> BindySimpleFixedLengthWithLinkTest.testUnmarshallMessage:63->Assert.assertEquals:144->Assert.assertEquals:115
> expected:<[BBB]> but was:<[CCC]>
>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3.115s
> [INFO] Finished at: Sat Apr 27 11:02:48 CEST 2013
> [INFO] Final Memory: 13M/1011M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test) on
> project camel-bindy: There are test failures.
> [ERROR]
> [ERROR] Please refer to
>
> /Users/bvahdat/dev/workspace/camel/components/camel-bindy/target/surefire-reports
> for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> Babak
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Bindy-fixed-length-tp5730980p5731667.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message