From 10198da7d0c5514ce3cebd277f7f8788486850f2 Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Thu, 13 Feb 2003 17:25:32 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- ext/mysqli/tests/001.phpt | 54 ++++++++++++++++++++++++ ext/mysqli/tests/036.phpt | 43 +++++++++++++++++++ ext/mysqli/tests/037.phpt | 34 +++++++++++++++ ext/mysqli/tests/038.phpt | 31 ++++++++++++++ ext/mysqli/tests/039.phpt | 24 +++++++++++ ext/mysqli/tests/040.phpt | 31 ++++++++++++++ ext/mysqli/tests/041.phpt | 24 +++++++++++ ext/mysqli/tests/043.phpt | 40 ++++++++++++++++++ ext/mysqli/tests/044.phpt | 19 +++++++++ ext/standard/tests/strings/bug22207.phpt | 11 +++++ 10 files changed, 311 insertions(+) create mode 100644 ext/mysqli/tests/001.phpt create mode 100644 ext/mysqli/tests/036.phpt create mode 100644 ext/mysqli/tests/037.phpt create mode 100644 ext/mysqli/tests/038.phpt create mode 100644 ext/mysqli/tests/039.phpt create mode 100644 ext/mysqli/tests/040.phpt create mode 100644 ext/mysqli/tests/041.phpt create mode 100644 ext/mysqli/tests/043.phpt create mode 100644 ext/mysqli/tests/044.phpt create mode 100644 ext/standard/tests/strings/bug22207.phpt diff --git a/ext/mysqli/tests/001.phpt b/ext/mysqli/tests/001.phpt new file mode 100644 index 0000000000..fca937cf5d --- /dev/null +++ b/ext/mysqli/tests/001.phpt @@ -0,0 +1,54 @@ +--TEST-- +mysqli connect +--FILE-- + +--EXPECT-- +string(7) "1111111" 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) diff --git a/ext/mysqli/tests/043.phpt b/ext/mysqli/tests/043.phpt new file mode 100644 index 0000000000..9c02c32c1a --- /dev/null +++ b/ext/mysqli/tests/043.phpt @@ -0,0 +1,40 @@ +--TEST-- +mysqli_bind_param (UPDATE) +--FILE-- + +--EXPECT-- +array(1) { + [0]=> + string(15) "Rasmus is No. 1" +} diff --git a/ext/mysqli/tests/044.phpt b/ext/mysqli/tests/044.phpt new file mode 100644 index 0000000000..5f72f65e38 --- /dev/null +++ b/ext/mysqli/tests/044.phpt @@ -0,0 +1,19 @@ +--TEST-- +mysqli_get_server_version +--FILE-- + +--EXPECT-- +int(1) diff --git a/ext/standard/tests/strings/bug22207.phpt b/ext/standard/tests/strings/bug22207.phpt new file mode 100644 index 0000000000..1623fb8e41 --- /dev/null +++ b/ext/standard/tests/strings/bug22207.phpt @@ -0,0 +1,11 @@ +--TEST-- +Bug #22207 (missing 0 when using the e notation in *printf functions) +--FILE-- + +--EXPECT-- +1.1000e+0 +string(17) " 1.1000e+0 +" -- 2.50.1