From 64de2d2d45eedee41340c5e25d88d2ec8c58b5e2 Mon Sep 17 00:00:00 2001 From: Ant Phillips Date: Tue, 22 Apr 2008 16:04:00 +0000 Subject: New set of session extension tests for PHP 5.2 branch. These hopefully test a reasonable set of basic, error and variations for the twenty or so session functions. Note however that they do not test all the session configuration settings, nor do they test anything with register_globals enabled. --- ext/session/tests/session_unregister_basic.phpt | 176 ++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 ext/session/tests/session_unregister_basic.phpt (limited to 'ext/session/tests/session_unregister_basic.phpt') diff --git a/ext/session/tests/session_unregister_basic.phpt b/ext/session/tests/session_unregister_basic.phpt new file mode 100644 index 0000000000..8ce5126936 --- /dev/null +++ b/ext/session/tests/session_unregister_basic.phpt @@ -0,0 +1,176 @@ +--TEST-- +Test session_unregister() function : basic functionality +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +*** Testing session_unregister() : basic functionality *** +bool(true) + +-- Iteration 1 -- +bool(true) + +-- Iteration 2 -- +bool(true) + +-- Iteration 3 -- +bool(true) + +-- Iteration 4 -- +bool(true) + +-- Iteration 5 -- +bool(true) + +-- Iteration 6 -- +bool(true) + +-- Iteration 7 -- +bool(true) + +-- Iteration 8 -- +bool(true) + +-- Iteration 9 -- +bool(true) + +-- Iteration 10 -- +bool(true) + +-- Iteration 11 -- +bool(true) + +-- Iteration 12 -- +bool(true) + +-- Iteration 13 -- +bool(true) + +-- Iteration 14 -- +bool(true) + +-- Iteration 15 -- +bool(true) + +-- Iteration 16 -- +bool(true) + +-- Iteration 17 -- +bool(true) + +-- Iteration 18 -- +bool(true) + +-- Iteration 19 -- +bool(true) + +-- Iteration 20 -- +bool(true) + +-- Iteration 21 -- +bool(true) + +-- Iteration 22 -- +bool(true) + +-- Iteration 23 -- +bool(true) + +-- Iteration 24 -- +bool(true) +bool(true) +Done + -- cgit v1.2.1