camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: About false-positive Test inside Camel source!
Date Mon, 05 Mar 2012 16:03:24 GMT
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.

Mime
View raw message