Can you share the test class with us?

Best,

Christian
-----------------

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Thu, Jul 3, 2014 at 2:08 PM, dermoritz <[email protected]> wrote:

> I wrote a test where a route is setup within @Test. So i overrode
> isUseRoutebulde to return false but now not even the first line of @Test
> method is reached. The log looks lke that:
>
> [                          main] OcsFtpTest                     INFO
>
> ********************************************************************************
> [                          main] OcsFtpTest                     INFO
> Testing: test(com.sas.o2.cep.routes.OcsFtpTest)
> [                          main] OcsFtpTest                     INFO
>
> ********************************************************************************
> [                          main] OcsFtpTest                     INFO
>
> ********************************************************************************
> [                          main] OcsFtpTest                     INFO
> Testing done: test(com.sas.o2.cep.routes.OcsFtpTest)
> [                          main] OcsFtpTest                     INFO  Took:
> 0.060 seconds (60 millis)
> [                          main] OcsFtpTest                     INFO
>
> ********************************************************************************
> [                          main] DefaultCamelContext            INFO
>  Apache
> Camel 2.13.1 (CamelContext: camel-1) is shutting down
> [                          main] DefaultCamelContext            INFO
>  Apache
> Camel 2.13.1 (CamelContext: camel-1) uptime not started
> [                          main] DefaultCamelContext            INFO
>  Apache
> Camel 2.13.1 (CamelContext: camel-1) is shutdown in 0.008 seconds
>
> (what i tried before - also not working)
> Before this i @Inject my route and for some reason "configure()" was called
> directly - why is that? What did add the route to the context without
> overriding createRouteBuilder()?
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/CamelTestSupport-doesn-t-run-Test-method-tp5753284.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to