From: Georg Richter Date: Wed, 12 Feb 2003 10:40:19 +0000 (+0000) Subject: added new tests X-Git-Tag: RELEASE_0_5~1083 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91eeae5e1dbb757d1563a077c7d790b5f832c83f;p=php added new tests --- diff --git a/ext/mysqli/tests/036.phpt b/ext/mysqli/tests/036.phpt new file mode 100644 index 0000000000..080c6e32e4 --- /dev/null +++ b/ext/mysqli/tests/036.phpt @@ -0,0 +1,43 @@ +--TEST-- +function test: mysqli_insert_id() +--FILE-- + +--EXPECT-- +array(2) { + [0]=> + int(1) + [1]=> + bool(true) +} diff --git a/ext/mysqli/tests/037.phpt b/ext/mysqli/tests/037.phpt new file mode 100644 index 0000000000..f8b8a13f1a --- /dev/null +++ b/ext/mysqli/tests/037.phpt @@ -0,0 +1,34 @@ +--TEST-- +function test: mysqli_field_count() +--FILE-- + +--EXPECT-- +array(2) { + [0]=> + int(0) + [1]=> + int(2) +} diff --git a/ext/mysqli/tests/038.phpt b/ext/mysqli/tests/038.phpt new file mode 100644 index 0000000000..858b3e3393 --- /dev/null +++ b/ext/mysqli/tests/038.phpt @@ -0,0 +1,31 @@ +--TEST-- +function test: mysqli_num_fields() +--FILE-- + +--EXPECT-- +int(2) diff --git a/ext/mysqli/tests/039.phpt b/ext/mysqli/tests/039.phpt new file mode 100644 index 0000000000..6ddb37bc5f --- /dev/null +++ b/ext/mysqli/tests/039.phpt @@ -0,0 +1,24 @@ +--TEST-- +function test: mysqli_num_fields() 2 +--FILE-- + +--EXPECT-- +int(2) diff --git a/ext/mysqli/tests/040.phpt b/ext/mysqli/tests/040.phpt new file mode 100644 index 0000000000..477e2a5274 --- /dev/null +++ b/ext/mysqli/tests/040.phpt @@ -0,0 +1,31 @@ +--TEST-- +function test: mysqli_num_rows() +--FILE-- + +--EXPECT-- +int(1) diff --git a/ext/mysqli/tests/041.phpt b/ext/mysqli/tests/041.phpt new file mode 100644 index 0000000000..6fb8ee7e3f --- /dev/null +++ b/ext/mysqli/tests/041.phpt @@ -0,0 +1,24 @@ +--TEST-- +function test: mysqli_warning_count() +--FILE-- + +--EXPECT-- +int(1)