Hi Christian,

I did check all the Camel tests regarding this issue:

 onException(some.subtype.of.java.lang.AssertionError)...

And I couldn't find any one more other than [1] which I did already fix [2].
As an example [3] does it the correct way, that's:

  onException(AssertionError.class)

[1]
http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsHeaderFilteringTest.java?revision=1151890&view=markup
[2]
http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsHeaderFilteringTest.java?revision=1295573&view=markup
[3]
https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JMSTransactionIsTransactedRedeliveredTest.java

Babak


--
View this message in context: 
http://camel.465427.n5.nabble.com/About-false-positive-Test-inside-Camel-source-tp5483171p5537986.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to