Author: Derick Rethans
Date: 2006-01-13 16:01:26 +0100 (Fri, 13 Jan 2006)
New Revision: 1836

Log:
- Commit updated test case.

Modified:
   packages/UserInput/trunk/tests/manual-tests/test3.php

Modified: packages/UserInput/trunk/tests/manual-tests/test3.php
===================================================================
--- packages/UserInput/trunk/tests/manual-tests/test3.php       2006-01-13 
15:01:13 UTC (rev 1835)
+++ packages/UserInput/trunk/tests/manual-tests/test3.php       2006-01-13 
15:01:26 UTC (rev 1836)
@@ -32,13 +32,13 @@
     var_dump( array( 'test1', 'test3' ) );
 
     echo "Invalid properties:\n";
-    var_dump( array( 'test2' ) );
+    var_dump( array( 'test2', 'test4' ) );
 
     echo "Required properties:\n";
     var_dump( array( 'test1') );
 
     echo "Optional properties:\n";
-    var_dump( array( 'test2', 'test3' ) );
+    var_dump( array( 'test2', 'test3', 'test4' ) );
 
     echo "Values:\n";
     var_dump( 3.14 );
@@ -61,7 +61,8 @@
     $def = array(
         'test1' => new ezcInputFormDefinitionElement( 
ezcInputFormDefinitionElement::REQUIRED, 'float' ),
         'test2' => new ezcInputFormDefinitionElement( 
ezcInputFormDefinitionElement::OPTIONAL, 'float' ),
-        'test3' => new ezcInputFormDefinitionElement( 
ezcInputFormDefinitionElement::OPTIONAL, 'float' )
+        'test3' => new ezcInputFormDefinitionElement( 
ezcInputFormDefinitionElement::OPTIONAL, 'float' ),
+        'test4' => new ezcInputFormDefinitionElement( 
ezcInputFormDefinitionElement::OPTIONAL, 'int', array( 1, 2 ) ),
     );
     $form = new ezcInputForm( INPUT_POST, $def );
 

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to