[jboss-svn-commits] JBL Code SVN: r8770 - labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Jan 8 15:47:39 EST 2007
Author: kurt.stam at jboss.com
Date: 2007-01-08 15:47:38 -0500 (Mon, 08 Jan 2007)
New Revision: 8770
Added:
labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment.xml
Removed:
labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment1.xml
labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment2.xml
Modified:
labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTest.java
Log:
Suppressing stack traces for successful tests
Modified: labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTest.java
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTest.java 2007-01-08 20:29:34 UTC (rev 8769)
+++ labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTest.java 2007-01-08 20:47:38 UTC (rev 8770)
@@ -70,38 +70,11 @@
private static String mDbPassword;
@Test
- public void routeAndDeliver() throws Exception
- {
- Message message = MessageFactory.getInstance().getMessage();
- message.getBody().setContents("Body".getBytes());
- message.getProperties().setProperty(MessageRouter.DELIVER_MESSAGES, Boolean.FALSE);
- ConfigTree config = ConfigTree.fromInputStream(getClass().getResourceAsStream("CbrProxyActionUnitTestFragment1.xml"));
-
- ActionProcessingPipeline chain = null;
-
- try {
- chain = new ActionProcessingPipeline(message,config);
- }catch (IllegalArgumentException e){
- e.printStackTrace();
- fail(e.toString());
- } catch (ConfigurationException e){
- e.printStackTrace();
- fail(e.toString());
- }
- Thread t = new Thread(chain);
- t.start();
-
- // Wait for processing to complte...
- chain.waitUntilComplete();
- }
-
- @Test
public void route() throws Exception
{
Message message = MessageFactory.getInstance().getMessage();
message.getBody().setContents("Body".getBytes());
- message.getProperties().setProperty(MessageRouter.DELIVER_MESSAGES, Boolean.FALSE);
- ConfigTree config = ConfigTree.fromInputStream(getClass().getResourceAsStream("CbrProxyActionUnitTestFragment2.xml"));
+ ConfigTree config = ConfigTree.fromInputStream(getClass().getResourceAsStream("CbrProxyActionUnitTestFragment.xml"));
ActionProcessingPipeline chain = null;
Copied: labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment.xml (from rev 8769, labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment1.xml)
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment1.xml 2007-01-08 20:29:34 UTC (rev 8769)
+++ labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment.xml 2007-01-08 20:47:38 UTC (rev 8770)
@@ -0,0 +1,34 @@
+<!--
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+ -->
+
+<CbrProxyActionTest>
+<action name="TestDefaultRouteAction"
+ process="route"
+ class="org.jboss.soa.esb.actions.CbrProxyAction"
+ service-category="MessageRouting"
+ service-name="ContentBasedRoutingService" />
+
+</CbrProxyActionTest>
+
+
Deleted: labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment1.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment1.xml 2007-01-08 20:29:34 UTC (rev 8769)
+++ labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment1.xml 2007-01-08 20:47:38 UTC (rev 8770)
@@ -1,33 +0,0 @@
-<!--
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
- -->
-
-<CbrProxyActionTest>
-<action name="TestDefaultRouteAction"
- class="org.jboss.soa.esb.actions.CbrProxyAction"
- service-category="MessageRouting"
- service-name="ContentBasedRoutingService" />
-
-</CbrProxyActionTest>
-
-
Deleted: labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment2.xml
===================================================================
--- labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment2.xml 2007-01-08 20:29:34 UTC (rev 8769)
+++ labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/actions/CbrProxyActionUnitTestFragment2.xml 2007-01-08 20:47:38 UTC (rev 8770)
@@ -1,34 +0,0 @@
-<!--
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
- -->
-
-<CbrProxyActionTest>
-<action name="TestDefaultRouteAction"
- process="route"
- class="org.jboss.soa.esb.actions.CbrProxyAction"
- service-category="MessageRouting"
- service-name="ContentBasedRoutingService" />
-
-</CbrProxyActionTest>
-
-
More information about the jboss-svn-commits
mailing list