From: SVN Migration Date: Wed, 28 May 2003 09:35:46 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c49dfb10072f67d7df7bae962094da79e327cad5;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- diff --git a/ext/fdf/tests/01-general.phpt b/ext/fdf/tests/01-general.phpt new file mode 100644 index 0000000000..d2a876cdb4 --- /dev/null +++ b/ext/fdf/tests/01-general.phpt @@ -0,0 +1,12 @@ +--TEST-- +Adobe Form Data Format functions +--SKIPIF-- + +--POST-- +--GET-- +--FILE-- + +--EXPECT-- +OK \ No newline at end of file diff --git a/ext/fdf/tests/02-values.phpt b/ext/fdf/tests/02-values.phpt new file mode 100644 index 0000000000..068ea1a5f8 --- /dev/null +++ b/ext/fdf/tests/02-values.phpt @@ -0,0 +1,21 @@ +--TEST-- +FDF open/save and set/get values +--SKIPIF-- + +--POST-- +--GET-- +--FILE-- + +--EXPECT-- +foo: bar +bar: foo diff --git a/ext/fdf/tests/03-read-file.phpt b/ext/fdf/tests/03-read-file.phpt new file mode 100644 index 0000000000..0dbf2abd9a --- /dev/null +++ b/ext/fdf/tests/03-read-file.phpt @@ -0,0 +1,17 @@ +--TEST-- +FDF read file +--SKIPIF-- + +--POST-- +--GET-- +--FILE-- + +--EXPECT-- +foo: bar +bar: foo diff --git a/ext/fdf/tests/simple.fdf b/ext/fdf/tests/simple.fdf new file mode 100644 index 0000000000..21d3fbd55a --- /dev/null +++ b/ext/fdf/tests/simple.fdf @@ -0,0 +1,18 @@ +%FDF-1.2 +%âãÏÓ +1 0 obj +<< +/FDF << /Fields 2 0 R >> +>> +endobj +2 0 obj +[ +<< /T (foo)/V (bar)>> << /T (bar)/V (foo)>> +] +endobj +trailer +<< +/Root 1 0 R + +>> +%%EOF