Author: bvahdat
Date: Fri Dec 7 10:00:22 2012
New Revision: 1418242
URL: http://svn.apache.org/viewvc?rev=1418242&view=rev
Log:
Merged revisions 1418239 via svnmerge from
https://svn.apache.org/repos/asf/camel/trunk
........
r1418239 | bvahdat | 2012-12-07 10:57:09 +0100 (Fr, 07 Dez 2012) | 1 line
Added the missing Assert.fail() calls to avoid any potential false-positive
test results.
........
Modified:
camel/branches/camel-2.10.x/ (props changed)
camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/builder/NotifyBuilderTest.java
Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Merged /camel/trunk:r1418239
Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified:
camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/builder/NotifyBuilderTest.java
URL:
http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/builder/NotifyBuilderTest.java?rev=1418242&r1=1418241&r2=1418242&view=diff
==============================================================================
---
camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/builder/NotifyBuilderTest.java
(original)
+++
camel/branches/camel-2.10.x/camel-core/src/test/java/org/apache/camel/builder/NotifyBuilderTest.java
Fri Dec 7 10:00:22 2012
@@ -296,6 +296,7 @@ public class NotifyBuilderTest extends C
try {
template.sendBody("direct:fail", "E");
+ fail("Should have thrown exception");
} catch (Exception e) {
// ignore
}
@@ -321,6 +322,7 @@ public class NotifyBuilderTest extends C
try {
template.sendBody("direct:fail", "G");
+ fail("Should have thrown exception");
} catch (Exception e) {
// ignore
}
@@ -424,12 +426,14 @@ public class NotifyBuilderTest extends C
try {
template.sendBody("direct:fail", "D");
+ fail("Should have thrown exception");
} catch (Exception e) {
// ignore
}
try {
template.sendBody("direct:fail", "E");
+ fail("Should have thrown exception");
} catch (Exception e) {
// ignore
}
@@ -500,6 +504,7 @@ public class NotifyBuilderTest extends C
try {
template.sendBody("direct:fail", "D");
+ fail("Should have thrown exception");
} catch (Exception e) {
// ignore
}
@@ -509,6 +514,7 @@ public class NotifyBuilderTest extends C
try {
template.sendBody("direct:fail", "F");
+ fail("Should have thrown exception");
} catch (Exception e) {
// ignore
}
@@ -519,6 +525,7 @@ public class NotifyBuilderTest extends C
try {
template.sendBody("direct:fail", "H");
+ fail("Should have thrown exception");
} catch (Exception e) {
// ignore
}