Annotation of embedaddon/php/ext/dom/tests/DOMCDATASection_construct_error_001.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: __construct() with no arguments.
                      3: --CREDITS--
                      4: Nic Rosental nicrosental@gmail.com
                      5: # TestFest Atlanta 2009-5-14 
                      6: --SKIPIF--
                      7: <?php require_once('skipif.inc'); ?>
                      8: --FILE--
                      9: <?php
                     10:        try 
                     11:        {
                     12:            $section = new DOMCDataSection();
                     13:                
                     14:        } 
                     15:        catch (Exception $e) 
                     16:        {
                     17:            echo $e->getMessage();
                     18:        }
                     19: ?>
                     20: --EXPECT--
                     21: DOMCdataSection::__construct() expects exactly 1 parameter, 0 given

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>