Annotation of embedaddon/php/ext/sqlite3/tests/sqlite3_32_createAggregate_paramCount.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: SQLite3::createAggregate Test that an error is thrown when no parameters are present
        !             3: --CREDITS--
        !             4: James Cauwelier
        !             5: # Belgium PHP TestFest
        !             6: --SKIPIF--
        !             7: <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
        !             8: --FILE--
        !             9: <?php
        !            10: 
        !            11: $db = new SQLite3(':memory:');
        !            12: 
        !            13: $db->createAggregate ();
        !            14: 
        !            15: $db->close();
        !            16: 
        !            17: echo "Done"
        !            18: ?>
        !            19: --EXPECTF--
        !            20: Warning: SQLite3::createAggregate() expects at least 3 parameters, 0 given in %s on line %d
        !            21: Done

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