From: Marcus Boerger Date: Fri, 1 Nov 2002 14:23:23 +0000 (+0000) Subject: Add testcase for every single handler X-Git-Tag: php-4.3.0RC1~360 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7bd4ce0ba8ff5b3361639ed20dd3c16ccd4fe55;p=php Add testcase for every single handler # db2 fails for me with SIGSEGV --- diff --git a/ext/dba/tests/dba_cdb.phpt b/ext/dba/tests/dba_cdb.phpt new file mode 100644 index 0000000000..88873e917e --- /dev/null +++ b/ext/dba/tests/dba_cdb.phpt @@ -0,0 +1,18 @@ +--TEST-- +DBA CDB handler test +--SKIPIF-- + +--FILE-- + +--EXPECT-- +database handler: cdb +3NYNYY +Content String 2 +Content 2 replaced diff --git a/ext/dba/tests/dba_db2.phpt b/ext/dba/tests/dba_db2.phpt new file mode 100644 index 0000000000..cfbdb7e4d7 --- /dev/null +++ b/ext/dba/tests/dba_db2.phpt @@ -0,0 +1,18 @@ +--TEST-- +DBA DB2 handler test +--SKIPIF-- + +--FILE-- + +--EXPECT-- +database handler: db2 +3NYNYY +Content String 2 +Content 2 replaced diff --git a/ext/dba/tests/dba_db3.phpt b/ext/dba/tests/dba_db3.phpt new file mode 100644 index 0000000000..82a08c8fd3 --- /dev/null +++ b/ext/dba/tests/dba_db3.phpt @@ -0,0 +1,18 @@ +--TEST-- +DBA DB3 handler test +--SKIPIF-- + +--FILE-- + +--EXPECT-- +database handler: db3 +3NYNYY +Content String 2 +Content 2 replaced diff --git a/ext/dba/tests/dba_gdbm.phpt b/ext/dba/tests/dba_gdbm.phpt new file mode 100644 index 0000000000..a45c1075c1 --- /dev/null +++ b/ext/dba/tests/dba_gdbm.phpt @@ -0,0 +1,18 @@ +--TEST-- +DBA GDBM handler test +--SKIPIF-- + +--FILE-- + +--EXPECT-- +database handler: gdbm +3NYNYY +Content String 2 +Content 2 replaced diff --git a/ext/dba/tests/dba_handler.inc b/ext/dba/tests/dba_handler.inc new file mode 100644 index 0000000000..393ffef89b --- /dev/null +++ b/ext/dba/tests/dba_handler.inc @@ -0,0 +1,29 @@ + \ No newline at end of file diff --git a/ext/dba/tests/dba_ndbm.phpt b/ext/dba/tests/dba_ndbm.phpt new file mode 100644 index 0000000000..8fb94048f3 --- /dev/null +++ b/ext/dba/tests/dba_ndbm.phpt @@ -0,0 +1,18 @@ +--TEST-- +DBA NDBM handler test +--SKIPIF-- + +--FILE-- + +--EXPECT-- +database handler: ndbm +3NYNYY +Content String 2 +Content 2 replaced