Author: ningjiang
Date: Tue Aug 5 02:33:41 2008
New Revision: 682649
URL: http://svn.apache.org/viewvc?rev=682649&view=rev
Log:
Revert the change of TestEndpointTest
Modified:
activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/test/TestEndpointTest.java
Modified:
activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/test/TestEndpointTest.java
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/test/TestEndpointTest.java?rev=682649&r1=682648&r2=682649&view=diff
==============================================================================
---
activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/test/TestEndpointTest.java
(original)
+++
activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/test/TestEndpointTest.java
Tue Aug 5 02:33:41 2008
@@ -45,11 +45,9 @@
public void testMocksAreValid() throws Exception {
assertNotNull(camelContext);
assertNotNull(endpoint);
- try {
- MockEndpoint.assertIsSatisfied(camelContext);
- } catch (Exception ex) {
- // do nothing
- }
+
+ MockEndpoint.assertIsSatisfied(camelContext);
+
// lets show the endpoints in the test
List<MockEndpoint> list =
CamelContextHelper.getSingletonEndpoints(camelContext, MockEndpoint.class);
@@ -59,7 +57,6 @@
List<Exchange> exchanges = endpoint.getReceivedExchanges();
for (Exchange exchange : exchanges) {
LOG.debug("Received: " + exchange);
- System.out.println("Received: " + exchange);
}
}
}