Author: Sebastian Bergmann
Date: 2007-05-04 11:41:12 +0200 (Fri, 04 May 2007)
New Revision: 5038
Log:
- Add test.
Modified:
trunk/Workflow/tests/workflow_test.php
Modified: trunk/Workflow/tests/workflow_test.php
===================================================================
--- trunk/Workflow/tests/workflow_test.php 2007-05-04 09:20:31 UTC (rev
5037)
+++ trunk/Workflow/tests/workflow_test.php 2007-05-04 09:41:12 UTC (rev
5038)
@@ -114,6 +114,22 @@
$this->fail();
}
+ public function testVerify3()
+ {
+ try
+ {
+ $workflow = new ezcWorkflow( 'Test' );
+ $workflow->getStartNode()->addOutNode( new ezcWorkflowNodeStart );
+ $workflow->verify();
+ }
+ catch ( ezcWorkflowDefinitionException $e )
+ {
+ return;
+ }
+
+ $this->fail();
+ }
+
public function testVariableHandler()
{
$this->setUpStartEnd();
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components