Author: Sebastian Bergmann
Date: 2007-05-04 12:03:12 +0200 (Fri, 04 May 2007)
New Revision: 5042
Log:
- Add tests.
Modified:
trunk/Workflow/tests/node_test.php
Modified: trunk/Workflow/tests/node_test.php
===================================================================
--- trunk/Workflow/tests/node_test.php 2007-05-04 09:57:43 UTC (rev 5041)
+++ trunk/Workflow/tests/node_test.php 2007-05-04 10:03:12 UTC (rev 5042)
@@ -162,6 +162,34 @@
$this->fail();
}
+ public function testVariableSetConstructor()
+ {
+ try
+ {
+ $set = new ezcWorkflowNodeVariableSet( null );
+ }
+ catch ( InvalidArgumentException $e )
+ {
+ return;
+ }
+
+ $this->fail();
+ }
+
+ public function testVariableUnsetConstructor()
+ {
+ try
+ {
+ $set = new ezcWorkflowNodeVariableUnset( null );
+ }
+ catch ( InvalidArgumentException $e )
+ {
+ return;
+ }
+
+ $this->fail();
+ }
+
public function testGetInNodes()
{
$this->setUpStartEnd();
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components