[jboss-svn-commits] JBL Code SVN: r10904 - labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/util.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Apr 11 16:29:49 EDT 2007
Author: estebanschifman
Date: 2007-04-11 16:29:49 -0400 (Wed, 11 Apr 2007)
New Revision: 10904
Modified:
labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/util/CommandVehicleUnitTest.java
Log:
Remove negative test for CommandVehicle
Modified: labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/util/CommandVehicleUnitTest.java
===================================================================
--- labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/util/CommandVehicleUnitTest.java 2007-04-11 20:26:23 UTC (rev 10903)
+++ labs/jbossesb/trunk/product/services/jbpm/src/test/java/org/jboss/soa/esb/services/jbpm/util/CommandVehicleUnitTest.java 2007-04-11 20:29:49 UTC (rev 10904)
@@ -40,23 +40,6 @@
static Logger _logger = Logger.getLogger(CommandVehicleUnitTest.class);
- public void test_badProcessDefinition()
- {
- CommandVehicle.Operation oper = CommandVehicle.Operation.deployProcessDefinition;
- CommandVehicle vhc = new CommandVehicle(oper);
- try
- {
- _logger.info("An exception is supposed to be thrown");
- vhc.setProcessDefinitionXml("This is invalid");
- }
- catch (Exception e)
- {
- // OK - it's supposed to fail
- return;
- }
- fail("It's not supposed to fall through");
- }
-
public void test_goodProcessDefinition()
{
CommandVehicle.Operation oper = CommandVehicle.Operation.deployProcessDefinition;
More information about the jboss-svn-commits
mailing list